Battle.net · Schema

Card Search Response

A paginated list of Hearthstone cards.

GamesGamingBlizzardWorld Of WarcraftDiabloHearthstoneStarcraft

Properties

Name Type Description
cards array List of matching cards.
cardCount integer Total number of matching cards.
pageCount integer Total number of pages.
page integer Current page number.
View JSON Schema on GitHub

JSON Schema

battle-net-cardsearchresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CardSearchResponse",
  "title": "Card Search Response",
  "type": "object",
  "description": "A paginated list of Hearthstone cards.",
  "properties": {
    "cards": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Card"
      },
      "description": "List of matching cards."
    },
    "cardCount": {
      "type": "integer",
      "description": "Total number of matching cards.",
      "example": 100
    },
    "pageCount": {
      "type": "integer",
      "description": "Total number of pages.",
      "example": 5
    },
    "page": {
      "type": "integer",
      "description": "Current page number.",
      "example": 1
    }
  }
}