YGOPRODeck · JSON Structure

Ygoprodeck Api Card Set Structure

A Yu-Gi-Oh! card set (booster pack, structure deck, tin, etc.).

Type: object Properties: 5 Required: 2
GamesTrading Card GamesYu Gi OhCard DatabaseOpen DataCommunity APIPublic APIs

CardSet is a JSON Structure definition published by YGOPRODeck, describing 5 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

set_name set_code num_of_cards tcg_date set_image

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/yu-gi-oh/refs/heads/main/json-structure/ygoprodeck-api-card-set-structure.json",
  "name": "CardSet",
  "description": "A Yu-Gi-Oh! card set (booster pack, structure deck, tin, etc.).",
  "type": "object",
  "properties": {
    "set_name": {
      "type": "string",
      "description": "Set name.",
      "example": "Legend of Blue Eyes White Dragon"
    },
    "set_code": {
      "type": "string",
      "description": "Set code prefix (e.g. `LOB`).",
      "example": "LOB"
    },
    "num_of_cards": {
      "type": "int32",
      "description": "Number of cards in the set.",
      "example": 126
    },
    "tcg_date": {
      "type": "date",
      "description": "TCG release date.",
      "example": "2002-03-08"
    },
    "set_image": {
      "type": "uri",
      "description": "Set image URL.",
      "example": "https://images.ygoprodeck.com/images/sets/LOB.jpg"
    }
  },
  "required": [
    "set_name",
    "set_code"
  ]
}