{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/anilist/refs/heads/main/json-schema/anilist-staffname-schema.json",
  "title": "StaffName",
  "description": "The names of the staff member",
  "type": "object",
  "properties": {
    "first": {
      "type": "string",
      "description": "The person's given name"
    },
    "middle": {
      "type": "string",
      "description": "The person's middle name"
    },
    "last": {
      "type": "string",
      "description": "The person's surname"
    },
    "full": {
      "type": "string",
      "description": "The person's first and last name"
    },
    "native": {
      "type": "string",
      "description": "The person's full name in their native language"
    },
    "alternative": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Other names the staff member might be referred to as (pen names)"
    },
    "userPreferred": {
      "type": "string",
      "description": "The currently authenticated users preferred name language. Default romaji for non-authenticated"
    }
  }
}