{ "$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-deck-schema.json", "title": "Deck", "description": "A Hearthstone deck.", "type": "object", "properties": { "deckCode": { "type": "string", "description": "The deck code string.", "example": "AAECAf0EAA8A" }, "version": { "type": "integer", "description": "The deck version.", "example": 1 }, "format": { "type": "string", "description": "The deck format (standard, wild, classic).", "example": "standard" }, "class": { "type": "object", "properties": { "slug": { "type": "string", "description": "The class slug.", "example": "mage" }, "id": { "type": "integer", "description": "The class ID.", "example": 3 }, "name": { "type": "string", "description": "The class name.", "example": "Mage" } }, "description": "The class associated with a deck." }, "cards": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "description": "The card ID.", "example": 52119 }, "count": { "type": "integer", "description": "Number of copies of this card in the deck.", "example": 2 }, "slug": { "type": "string", "description": "The card slug.", "example": "52119-ragnaros-the-firelord" }, "name": { "type": "string", "description": "The card name.", "example": "Ragnaros the Firelord" } }, "description": "A card included in a deck." }, "description": "The cards in the deck." }, "cardCount": { "type": "integer", "description": "Total number of cards in the deck.", "example": 30 } } }