{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/valotcg/json-schema/valotcg-sealed-detail-schema.json",
  "title": "SealedDetail",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/valotcg-data-v1-openapi.json#/components/schemas/SealedDetail",
  "properties": {
    "sealed_id": {
      "type": "integer",
      "title": "Sealed Id",
      "description": "Stable Valo.Data sealed product id (`sealed:{id}` in batches)."
    },
    "game": {
      "type": "string",
      "title": "Game"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "product_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Product Type",
      "description": "e.g. booster, display, etb, starter_deck."
    },
    "language": {
      "type": "string",
      "enum": [
        "fr",
        "en",
        "ja",
        "zh",
        "de",
        "es",
        "it",
        "pt"
      ],
      "title": "Language"
    },
    "edition": {
      "anyOf": [
        {
          "$ref": "#/$defs/EditionRef"
        },
        {
          "type": "null"
        }
      ]
    },
    "release_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Release Date"
    },
    "msrp": {
      "anyOf": [
        {
          "$ref": "#/$defs/RetailPrice"
        },
        {
          "type": "null"
        }
      ],
      "description": "Launch retail price (MSRP) on the product's market; `null` when unknown."
    },
    "image_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Image Url"
    },
    "slug": {
      "type": "string",
      "title": "Slug",
      "description": "Slug of the product's page on valotcg.com."
    },
    "cardmarket_product_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cardmarket Product Id",
      "description": "Cardmarket idProduct; `null` on Sandbox and Starter."
    },
    "tcgplayer_product_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "US market product id",
      "description": "US market product id; `null` on Sandbox and Starter."
    },
    "boosters": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Boosters",
      "description": "Boosters contained, when known."
    },
    "cardmarket_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cardmarket Url",
      "description": "Cardmarket product page; `null` on Sandbox and Starter."
    },
    "tcgplayer_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "US market URL",
      "description": "US market product page; `null` on Sandbox and Starter."
    }
  },
  "type": "object",
  "required": [
    "sealed_id",
    "game",
    "name",
    "language",
    "slug"
  ],
  "$defs": {
    "EditionRef": {
      "properties": {
        "id": {
          "type": "integer",
          "title": "Id",
          "description": "Edition id, usable as `edition_id` filter."
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Code",
          "description": "Publisher set code, e.g. `SV06`, `OP-01`."
        },
        "release_date": {
          "anyOf": [
            {
              "type": "string",
              "format": "date"
            },
            {
              "type": "null"
            }
          ],
          "title": "Release Date"
        }
      },
      "type": "object",
      "required": [
        "id",
        "name"
      ],
      "title": "EditionRef"
    },
    "RetailPrice": {
      "properties": {
        "amount": {
          "type": "number",
          "title": "Amount",
          "description": "Launch retail price, in `currency`."
        },
        "currency": {
          "type": "string",
          "enum": [
            "EUR",
            "USD",
            "JPY"
          ],
          "title": "Currency",
          "description": "Currency of the product's own market (EUR for French, USD for English, JPY for Japanese), never converted."
        },
        "source": {
          "type": "string",
          "enum": [
            "estimated",
            "verified"
          ],
          "title": "Source",
          "description": "`estimated` from the product type, name and release period; `verified` checked product by product."
        }
      },
      "type": "object",
      "required": [
        "amount",
        "currency",
        "source"
      ],
      "title": "RetailPrice"
    }
  }
}