work.lexical.work

lexical.work

Documentation

A record representing a creative work.

main record

A record representing a creative work.

Record Key any Any valid record key

Properties

title string Required

The title of the work.

maxLength: 2048 bytesmaxGraphemes: 512 graphemes
workType string Required

The type of creative work.

maxLength: 64 bytesmaxGraphemes: 64 graphemes
Known values: film, book, album, series, episode, game
year integer Optional

The year the work was released or published.

minimum: 1800maximum: 2199
View raw schema
{
  "key": "any",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "title",
      "workType"
    ],
    "properties": {
      "year": {
        "type": "integer",
        "maximum": 2199,
        "minimum": 1800,
        "required": false,
        "description": "The year the work was released or published."
      },
      "title": {
        "type": "string",
        "nullable": false,
        "required": true,
        "maxLength": 2048,
        "description": "The title of the work.",
        "maxGraphemes": 512
      },
      "workType": {
        "type": "string",
        "required": true,
        "maxLength": 64,
        "description": "The type of creative work.",
        "knownValues": [
          "film",
          "book",
          "album",
          "series",
          "episode",
          "game"
        ],
        "maxGraphemes": 64
      }
    }
  },
  "description": "A record representing a creative work."
}

Lexicon Garden

@