# work.lexical.work.film

> 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.film)
- [Documentation](https://lexicon.garden/lexicon/did:plc:6acm263n23glqje6xrd2mgbt/work.lexical.work.film/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:6acm263n23glqje6xrd2mgbt/work.lexical.work.film/examples)

## Definitions

### `work.lexical.work.film`

**Type**: `record`

A record representing a film.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `year` | `integer` | No | The year the film was released. |
| `title` | `string` | Yes | The title of the film. |
| `workType` | `string` | Yes | Identifies this record as a film. |

## Raw Schema

```json
{
  "id": "work.lexical.work.film",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "title",
          "workType"
        ],
        "properties": {
          "year": {
            "type": "integer",
            "maximum": 2199,
            "minimum": 1800,
            "description": "The year the film was released."
          },
          "title": {
            "type": "string",
            "required": true,
            "maxLength": 2048,
            "description": "The title of the film.",
            "maxGraphemes": 512
          },
          "workType": {
            "type": "string",
            "const": "film",
            "required": true,
            "maxLength": 64,
            "description": "Identifies this record as a film.",
            "maxGraphemes": 64
          }
        }
      },
      "description": "A record representing a film."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
