Battle.net · Schema
Metadata
Hearthstone metadata including sets, classes, keywords, types, and rarities.
GamesGamingBlizzardWorld Of WarcraftDiabloHearthstoneStarcraft
Properties
| Name | Type | Description |
|---|---|---|
| sets | array | List of card sets. |
| setGroups | array | List of set groups. |
| classes | array | List of classes. |
| keywords | array | List of keywords. |
| types | array | List of card types. |
| rarities | array | List of rarities. |
| minionTypes | array | List of minion types. |
JSON Schema
{
"$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."
}
}
}