# work.lexical.work

> Published by [lexical.work](https://lexicon.garden/identity/did:plc:6acm263n23glqje6xrd2mgbt)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:6acm263n23glqje6xrd2mgbt/work.lexical.work)
- [Documentation](https://lexicon.garden/lexicon/did:plc:6acm263n23glqje6xrd2mgbt/work.lexical.work/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:6acm263n23glqje6xrd2mgbt/work.lexical.work/examples)

## Definitions

### `work.lexical.work`

**Type**: `record`

A record representing a creative work.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `year` | `integer` | No | The year the work was released or published. |
| `title` | `string` | Yes | The title of the work. |
| `workType` | `string` | Yes | The type of creative work. |

## Raw Schema

```json
{
  "id": "work.lexical.work",
  "defs": {
    "main": {
      "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."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
