{
"id": "computer.sims.log.watch",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"subject",
"tmdbId",
"mediaType",
"watchedAt",
"createdAt"
],
"properties": {
"note": {
"type": "string",
"maxLength": 3000,
"description": "Optional short note about the watch.",
"maxGraphemes": 300
},
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 640,
"maxGraphemes": 64
},
"maxLength": 64,
"description": "Free-form, lowercase, trimmed tags applied to this watch."
},
"season": {
"type": "integer",
"description": "Season number, for TV watches."
},
"tmdbId": {
"type": "string",
"description": "Denormalized TMDB id of the work, for resilience if the subject cannot be resolved."
},
"episode": {
"type": "integer",
"description": "Episode number, for TV watches."
},
"rewatch": {
"type": "boolean",
"description": "Whether this watch was a rewatch."
},
"subject": {
"ref": "com.atproto.repo.strongRef",
"type": "ref",
"description": "Strong reference to the social.popfeed.feed.listItem record for this work."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "When this record was created."
},
"mediaType": {
"enum": [
"movie",
"tv"
],
"type": "string",
"description": "Denormalized media type of the work."
},
"watchedAt": {
"type": "string",
"format": "datetime",
"description": "When the watch happened."
}
}
},
"description": "A single diary entry: the user watched a movie or TV work at a point in time, with free-form tags. Adds the per-watch diary layer on top of the Popfeed listItem record referenced by 'subject'."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}