# me.atni.defs

- Kind: defs
- Authority: atni.me
- Lexicon: 1
- Published by [atni.me](https://lexicon.garden/identity/did:plc:l6nyizpam7p4cxjuw47fhyjc), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:l6nyizpam7p4cxjuw47fhyjc/me.atni.defs)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:l6nyizpam7p4cxjuw47fhyjc/me.atni.defs/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:l6nyizpam7p4cxjuw47fhyjc/me.atni.defs/analytics)

## #animeFormat (`me.atni.defs#animeFormat`)

Type: string

Constraints: knownValues: tv | movie | special | ova | ona | music

## #animeId (`me.atni.defs#animeId`)

Type: object

External anime catalogue reference, with some fallback data.

### Properties

- `fid` (string, required): The catalogue's identifier.
  - Constraints: minLength: 1, maxLength: 128
- `format` (ref)
  - Reference: `#animeFormat`
- `source` (string, required): The catalogue this identifier belongs to.
  - Constraints: knownValues: wikidata | anidb
- `title` (string, required)
  - Constraints: minLength: 1, maxLength: 2000
- `year` (integer)
  - Constraints: minimum: 1900

## #status (`me.atni.defs#status`)

Type: string

Constraints: knownValues: planned | inprogress | completed | onhold | dropped

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "animeFormat": {
      "knownValues": [
        "tv",
        "movie",
        "special",
        "ova",
        "ona",
        "music"
      ],
      "type": "string"
    },
    "animeId": {
      "description": "External anime catalogue reference, with some fallback data.",
      "properties": {
        "fid": {
          "description": "The catalogue's identifier.",
          "maxLength": 128,
          "minLength": 1,
          "type": "string"
        },
        "format": {
          "ref": "#animeFormat",
          "type": "ref"
        },
        "source": {
          "description": "The catalogue this identifier belongs to.",
          "knownValues": [
            "wikidata",
            "anidb"
          ],
          "type": "string"
        },
        "title": {
          "maxLength": 2000,
          "minLength": 1,
          "type": "string"
        },
        "year": {
          "minimum": 1900,
          "type": "integer"
        }
      },
      "required": [
        "source",
        "fid",
        "title"
      ],
      "type": "object"
    },
    "status": {
      "knownValues": [
        "planned",
        "inprogress",
        "completed",
        "onhold",
        "dropped"
      ],
      "type": "string"
    }
  },
  "id": "me.atni.defs",
  "lexicon": 1
}
```
