work.lexical.action.watch

lexical.work

Documentation

A record representing a watch of a film or video work.

main record

A record representing a watch of a film or video work.

Record Key tid Timestamp-based ID

Properties

actionType string Required

Identifies this record as a watch.

maxLength: 64 bytesmaxGraphemes: 64 graphemes
medium string Optional

The medium through which the work was watched.

maxLength: 64 bytesmaxGraphemes: 64 graphemes
Known values: theatrical, streaming, physical
occurredAt string datetime Optional

When the watch occurred.

maxLength: 64 bytes
rewatch boolean Optional

Whether this was a rewatch rather than a first viewing.

work string at-uri Required

AT URI of the work that was watched.

maxLength: 2048 bytes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "work",
      "actionType"
    ],
    "properties": {
      "work": {
        "type": "string",
        "format": "at-uri",
        "required": true,
        "maxLength": 2048,
        "description": "AT URI of the work that was watched."
      },
      "medium": {
        "type": "string",
        "maxLength": 64,
        "description": "The medium through which the work was watched.",
        "knownValues": [
          "theatrical",
          "streaming",
          "physical"
        ],
        "maxGraphemes": 64
      },
      "rewatch": {
        "type": "boolean",
        "description": "Whether this was a rewatch rather than a first viewing."
      },
      "actionType": {
        "type": "string",
        "const": "watch",
        "required": true,
        "maxLength": 64,
        "description": "Identifies this record as a watch.",
        "maxGraphemes": 64
      },
      "occurredAt": {
        "type": "string",
        "format": "datetime",
        "maxLength": 64,
        "description": "When the watch occurred."
      }
    }
  },
  "description": "A record representing a watch of a film or video work."
}

Lexicon Garden

@