Battle.net · JSON Structure

Hearthstone Game Data Metadata Structure

Hearthstone metadata including sets, classes, keywords, types, and rarities.

Type: object Properties: 7
GamesGamingBlizzardWorld Of WarcraftDiabloHearthstoneStarcraft

Metadata is a JSON Structure definition published by Battle.net, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

sets setGroups classes keywords types rarities minionTypes

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/battle-net/refs/heads/main/json-structure/hearthstone-game-data-metadata-structure.json",
  "name": "Metadata",
  "description": "Hearthstone metadata including sets, classes, keywords, types, and rarities.",
  "type": "object",
  "properties": {
    "sets": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "int32",
            "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": "int32",
            "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": "int32",
            "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": "int32",
            "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": "int32",
            "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": "int32",
            "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": "int32",
            "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."
    }
  }
}