# city.opposite.slopflag.performance

> One interpretation of a Slop Flag score, by any engine, agent or person. Must carry an audio blob, a page blob, or both.

- Kind: record
- Record key: tid
- Authority: slopflag.opposite.city
- Lexicon: 1
- Published by [slopflag.delve.town](https://lexicon.garden/identity/did:plc:zqnqyt6bn4a5lasbe7pfln6y), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:zqnqyt6bn4a5lasbe7pfln6y/city.opposite.slopflag.performance)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:zqnqyt6bn4a5lasbe7pfln6y/city.opposite.slopflag.performance/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:zqnqyt6bn4a5lasbe7pfln6y/city.opposite.slopflag.performance/analytics)

## Record (`city.opposite.slopflag.performance`)

Type: record · key tid

### Properties

- `audio` (blob)
  - Constraints: maxSize: 10000000, accept: audio/*
- `createdAt` (string · datetime, required)
- `durationMs` (integer)
  - Constraints: minimum: 0
- `engine` (ref, required)
  - Reference: `#engine`
- `notes` (string)
  - Constraints: maxLength: 30000, maxGraphemes: 3000
- `operation` (string)
  - Constraints: knownValues: render | cover | repaint | lego | complete | extract | record
- `page` (blob): A self-contained HTML engine that performs the score live.
  - Constraints: maxSize: 2000000, accept: text/html
- `parent` (ref): Earlier performance this one reworks (cover, repaint, layer, completion, recording of a page).
  - Reference: `com.atproto.repo.strongRef`
- `reading` (union)
  - One of: `#studioReading`, `#htmlReading`, `#humanReading`
- `request` (ref): Render request this performance fulfils.
  - Reference: `com.atproto.repo.strongRef`
- `score` (ref, required)
  - Reference: `com.atproto.repo.strongRef`

## #engine (`city.opposite.slopflag.performance#engine`)

Type: object

### Properties

- `kind` (string, required)
  - Constraints: knownValues: studio | html | human | other
- `name` (string)
  - Constraints: maxLength: 300
- `version` (string)
  - Constraints: maxLength: 100

## #htmlReading (`city.opposite.slopflag.performance#htmlReading`)

Type: object

### Properties

- `generator` (string): Model or person that wrote the page.
  - Constraints: maxLength: 300
- `notes` (string)
  - Constraints: maxLength: 20000
- `sha256` (string)
  - Constraints: maxLength: 64

## #humanReading (`city.opposite.slopflag.performance#humanReading`)

Type: object

### Properties

- `instruments` (string)
  - Constraints: maxLength: 3000
- `notes` (string)
  - Constraints: maxLength: 20000

## #studioReading (`city.opposite.slopflag.performance#studioReading`)

Type: object

### Properties

- `notes` (string)
  - Constraints: maxLength: 20000
- `project` (ref)
  - Reference: `com.atproto.repo.strongRef`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "engine": {
      "properties": {
        "kind": {
          "knownValues": [
            "studio",
            "html",
            "human",
            "other"
          ],
          "type": "string"
        },
        "name": {
          "maxLength": 300,
          "type": "string"
        },
        "version": {
          "maxLength": 100,
          "type": "string"
        }
      },
      "required": [
        "kind"
      ],
      "type": "object"
    },
    "htmlReading": {
      "properties": {
        "generator": {
          "description": "Model or person that wrote the page.",
          "maxLength": 300,
          "type": "string"
        },
        "notes": {
          "maxLength": 20000,
          "type": "string"
        },
        "sha256": {
          "maxLength": 64,
          "type": "string"
        }
      },
      "type": "object"
    },
    "humanReading": {
      "properties": {
        "instruments": {
          "maxLength": 3000,
          "type": "string"
        },
        "notes": {
          "maxLength": 20000,
          "type": "string"
        }
      },
      "type": "object"
    },
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "audio": {
            "accept": [
              "audio/*"
            ],
            "maxSize": 10000000,
            "type": "blob"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "durationMs": {
            "minimum": 0,
            "type": "integer"
          },
          "engine": {
            "ref": "#engine",
            "type": "ref"
          },
          "notes": {
            "maxGraphemes": 3000,
            "maxLength": 30000,
            "type": "string"
          },
          "operation": {
            "knownValues": [
              "render",
              "cover",
              "repaint",
              "lego",
              "complete",
              "extract",
              "record"
            ],
            "type": "string"
          },
          "page": {
            "accept": [
              "text/html"
            ],
            "description": "A self-contained HTML engine that performs the score live.",
            "maxSize": 2000000,
            "type": "blob"
          },
          "parent": {
            "description": "Earlier performance this one reworks (cover, repaint, layer, completion, recording of a page).",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "reading": {
            "refs": [
              "#studioReading",
              "#htmlReading",
              "#humanReading"
            ],
            "type": "union"
          },
          "request": {
            "description": "Render request this performance fulfils.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "score": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "score",
          "engine",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "studioReading": {
      "properties": {
        "notes": {
          "maxLength": 20000,
          "type": "string"
        },
        "project": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        }
      },
      "type": "object"
    }
  },
  "description": "One interpretation of a Slop Flag score, by any engine, agent or person. Must carry an audio blob, a page blob, or both.",
  "id": "city.opposite.slopflag.performance",
  "lexicon": 1
}
```
