Properties
| Name | Type | Description |
|---|---|---|
| deckCode | string | The deck code |
| version | integer | Deck format version |
| format | object | Deck format |
| hero | object | |
| heroPower | object | |
| class | object | Deck class |
| cards | array | Cards in the deck |
| cardCount | integer | Number of cards in the deck |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/activision-blizzard/refs/heads/main/json-schema/activision-blizzard-hearthstone-deck-schema.json",
"title": "HearthstoneDeck",
"description": "A Hearthstone deck",
"type": "object",
"properties": {
"deckCode": {
"type": "string",
"description": "The deck code",
"example": "AAECAQcG0LQDubQD3rUD57UDibYDvbYDDI..."
},
"version": {
"type": "integer",
"description": "Deck format version",
"example": 1
},
"format": {
"type": "object",
"description": "Deck format"
},
"hero": {
"$ref": "#/components/schemas/HearthstoneCard"
},
"heroPower": {
"$ref": "#/components/schemas/HearthstoneCard"
},
"class": {
"type": "object",
"description": "Deck class"
},
"cards": {
"type": "array",
"items": {
"$ref": "#/components/schemas/HearthstoneCard"
},
"description": "Cards in the deck"
},
"cardCount": {
"type": "integer",
"description": "Number of cards in the deck",
"example": 30
}
}
}