# social.lexical.works.identifiers

> Published by [lexical.social](https://lexicon.garden/identity/did:plc:k6xccphpraz5nylacjrdby3s)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:k6xccphpraz5nylacjrdby3s/social.lexical.works.identifiers)
- [Documentation](https://lexicon.garden/lexicon/did:plc:k6xccphpraz5nylacjrdby3s/social.lexical.works.identifiers/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:k6xccphpraz5nylacjrdby3s/social.lexical.works.identifiers/examples)

## Definitions

### `social.lexical.works.identifiers`

**Type**: `record`

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `work` | `string` (at-uri) | Yes |  |
| `identifiers` | `array` | Yes |  |

### `social.lexical.works.identifiers#identifier`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `url` | `string` (uri) | No |  |
| `provider` | `string` | Yes |  |
| `providerId` | `string` | Yes |  |

## Raw Schema

```json
{
  "id": "social.lexical.works.identifiers",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "work",
          "identifiers"
        ],
        "properties": {
          "work": {
            "type": "string",
            "format": "at-uri",
            "nullable": false,
            "required": true,
            "description": ""
          },
          "identifiers": {
            "type": "array",
            "items": {
              "refs": [
                "#identifier"
              ],
              "type": "union",
              "closed": false,
              "nullable": false,
              "required": true,
              "description": ""
            },
            "nullable": false,
            "required": true,
            "minLength": 1
          }
        }
      }
    },
    "identifier": {
      "type": "object",
      "nullable": [
        "url"
      ],
      "required": [
        "provider",
        "providerId"
      ],
      "properties": {
        "url": {
          "type": "string",
          "format": "uri",
          "nullable": true,
          "required": false,
          "description": ""
        },
        "provider": {
          "type": "string",
          "nullable": false,
          "required": true,
          "description": "",
          "knownValues": [
            "tmdb",
            "imdb",
            "wikidata"
          ]
        },
        "providerId": {
          "type": "string",
          "nullable": false,
          "required": true,
          "description": ""
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
