# space.zelk.list.item

> A movie or show added to a space.zelk.list.

- Kind: record
- Record key: tid
- Authority: list.zelk.space
- Lexicon: 1
- Published by [zelk.space](https://lexicon.garden/identity/did:plc:jjshdbukte3twegd25atxydo), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:jjshdbukte3twegd25atxydo/space.zelk.list.item)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:jjshdbukte3twegd25atxydo/space.zelk.list.item/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:jjshdbukte3twegd25atxydo/space.zelk.list.item/analytics)

## Record (`space.zelk.list.item`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `list` (string · at-uri, required): AT-URI of the space.zelk.list this item belongs to.
- `note` (string)
  - Constraints: maxLength: 3000, maxGraphemes: 300
- `source` (string)
  - Constraints: maxLength: 128
- `subject` (ref, required)
  - Reference: `#subject`

## #subject (`space.zelk.list.item#subject`)

Type: object

External identifiers of the movie or show. At least one identifier should be present.

### Properties

- `imdb` (string)
  - Constraints: maxLength: 32
- `kind` (string, required)
  - Constraints: knownValues: movie | tv
- `tmdb` (integer)
- `tvdb` (integer)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A movie or show added to a space.zelk.list.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "list": {
            "description": "AT-URI of the space.zelk.list this item belongs to.",
            "format": "at-uri",
            "type": "string"
          },
          "note": {
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "source": {
            "maxLength": 128,
            "type": "string"
          },
          "subject": {
            "ref": "#subject",
            "type": "ref"
          }
        },
        "required": [
          "list",
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "subject": {
      "description": "External identifiers of the movie or show. At least one identifier should be present.",
      "properties": {
        "imdb": {
          "maxLength": 32,
          "type": "string"
        },
        "kind": {
          "knownValues": [
            "movie",
            "tv"
          ],
          "type": "string"
        },
        "tmdb": {
          "type": "integer"
        },
        "tvdb": {
          "type": "integer"
        }
      },
      "required": [
        "kind"
      ],
      "type": "object"
    }
  },
  "id": "space.zelk.list.item",
  "lexicon": 1
}
```
