# computer.sims.log.watchlistItem

> Published by [sims.computer](https://lexicon.garden/identity/did:plc:gqorgf2irpe5vy6osekgc3be)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:gqorgf2irpe5vy6osekgc3be/computer.sims.log.watchlistItem)
- [Documentation](https://lexicon.garden/lexicon/did:plc:gqorgf2irpe5vy6osekgc3be/computer.sims.log.watchlistItem/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:gqorgf2irpe5vy6osekgc3be/computer.sims.log.watchlistItem/examples)

## Definitions

### `computer.sims.log.watchlistItem`

**Type**: `record`

A shared-watchlist entry: one show a member wants to watch, written into that member's own space-repo. rkey is 'tmdb-<id>' so an add is idempotent per show.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `year` | `string` | No | Release year (four digits), denormalized for display. |
| `title` | `string` | Yes | Display title of the show. |
| `tmdbId` | `string` | Yes | TMDB id of the show. |
| `addedAt` | `string` (datetime) | Yes | When the show was added to the watchlist. |
| `mediaType` | `string` | Yes | Media type of the work. Watchlist entries are TV shows today. |
| `posterUrl` | `string` (uri) | No | TMDB poster URL for the card. |

## Raw Schema

```json
{
  "id": "computer.sims.log.watchlistItem",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "tmdbId",
          "mediaType",
          "title",
          "addedAt"
        ],
        "properties": {
          "year": {
            "type": "string",
            "description": "Release year (four digits), denormalized for display."
          },
          "title": {
            "type": "string",
            "maxLength": 3000,
            "description": "Display title of the show.",
            "maxGraphemes": 300
          },
          "tmdbId": {
            "type": "string",
            "description": "TMDB id of the show."
          },
          "addedAt": {
            "type": "string",
            "format": "datetime",
            "description": "When the show was added to the watchlist."
          },
          "mediaType": {
            "enum": [
              "movie",
              "tv"
            ],
            "type": "string",
            "description": "Media type of the work. Watchlist entries are TV shows today."
          },
          "posterUrl": {
            "type": "string",
            "format": "uri",
            "description": "TMDB poster URL for the card."
          }
        }
      },
      "description": "A shared-watchlist entry: one show a member wants to watch, written into that member's own space-repo. rkey is 'tmdb-<id>' so an add is idempotent per show."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
