{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/battle-net/refs/heads/main/json-schema/hearthstone-game-data-metadata-schema.json", "title": "Metadata", "description": "Hearthstone metadata including sets, classes, keywords, types, and rarities.", "type": "object", "properties": { "sets": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "description": "The unique ID of the metadata item.", "example": 1 }, "name": { "type": "string", "description": "The name of the metadata item.", "example": "Basic" }, "slug": { "type": "string", "description": "The slug identifier.", "example": "basic" } }, "description": "A generic metadata item." }, "description": "List of card sets." }, "setGroups": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "description": "The unique ID of the metadata item.", "example": 1 }, "name": { "type": "string", "description": "The name of the metadata item.", "example": "Basic" }, "slug": { "type": "string", "description": "The slug identifier.", "example": "basic" } }, "description": "A generic metadata item." }, "description": "List of set groups." }, "classes": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "description": "The unique ID of the metadata item.", "example": 1 }, "name": { "type": "string", "description": "The name of the metadata item.", "example": "Basic" }, "slug": { "type": "string", "description": "The slug identifier.", "example": "basic" } }, "description": "A generic metadata item." }, "description": "List of classes." }, "keywords": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "description": "The unique ID of the metadata item.", "example": 1 }, "name": { "type": "string", "description": "The name of the metadata item.", "example": "Basic" }, "slug": { "type": "string", "description": "The slug identifier.", "example": "basic" } }, "description": "A generic metadata item." }, "description": "List of keywords." }, "types": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "description": "The unique ID of the metadata item.", "example": 1 }, "name": { "type": "string", "description": "The name of the metadata item.", "example": "Basic" }, "slug": { "type": "string", "description": "The slug identifier.", "example": "basic" } }, "description": "A generic metadata item." }, "description": "List of card types." }, "rarities": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "description": "The unique ID of the metadata item.", "example": 1 }, "name": { "type": "string", "description": "The name of the metadata item.", "example": "Basic" }, "slug": { "type": "string", "description": "The slug identifier.", "example": "basic" } }, "description": "A generic metadata item." }, "description": "List of rarities." }, "minionTypes": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "description": "The unique ID of the metadata item.", "example": 1 }, "name": { "type": "string", "description": "The name of the metadata item.", "example": "Basic" }, "slug": { "type": "string", "description": "The slug identifier.", "example": "basic" } }, "description": "A generic metadata item." }, "description": "List of minion types." } } }