AniList · JSON Structure

Anilist Mediatag Structure

A tag that describes a theme or element of the media

Type: object Properties: 9 Required: 2
AnimeMangaEntertainmentMediaSocialDatabaseGraphQLOAuth2Public APIs

MediaTag is a JSON Structure definition published by AniList, describing 9 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id name description category rank isGeneralSpoiler isMediaSpoiler isAdult userId

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

anilist-mediatag-structure.json Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/anilist/refs/heads/main/json-structure/anilist-mediatag-structure.json",
  "name": "MediaTag",
  "description": "A tag that describes a theme or element of the media",
  "type": "object",
  "properties": {
    "id": {
      "type": "int32",
      "description": "The id of the tag"
    },
    "name": {
      "type": "string",
      "description": "The name of the tag"
    },
    "description": {
      "type": "string",
      "description": "A general description of the tag"
    },
    "category": {
      "type": "string",
      "description": "The categories of tags this tag belongs to"
    },
    "rank": {
      "type": "int32",
      "description": "The relevance ranking of the tag out of the 100 for this media"
    },
    "isGeneralSpoiler": {
      "type": "boolean",
      "description": "If the tag could be a spoiler for any media"
    },
    "isMediaSpoiler": {
      "type": "boolean",
      "description": "If the tag is a spoiler for this media"
    },
    "isAdult": {
      "type": "boolean",
      "description": "If the tag is only for adult 18+ media"
    },
    "userId": {
      "type": "int32",
      "description": "The user who submitted the tag"
    }
  },
  "required": [
    "id",
    "name"
  ]
}