{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/valotcg/json-schema/valotcg-page-edition-summary-schema.json",
  "title": "Page[EditionSummary]",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/valotcg-editions-api-openapi.yml#/components/schemas/Page_EditionSummary_",
  "properties": {
    "items": {
      "items": {
        "$ref": "#/$defs/EditionSummary"
      },
      "type": "array",
      "title": "Items"
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Cursor",
      "description": "Opaque cursor for the next page; `null` on the last page."
    }
  },
  "type": "object",
  "required": [
    "items"
  ],
  "$defs": {
    "EditionSummary": {
      "properties": {
        "edition_id": {
          "type": "integer",
          "title": "Edition Id",
          "description": "Edition id, usable as `edition_id` filter on cards and sealed products."
        },
        "game": {
          "type": "string",
          "title": "Game"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Code",
          "description": "Publisher set code, e.g. `SV06`, `OP-01`."
        },
        "language": {
          "type": "string",
          "enum": [
            "fr",
            "en",
            "ja",
            "zh",
            "de",
            "es",
            "it",
            "pt"
          ],
          "title": "Language"
        },
        "series": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Series",
          "description": "Series or block of the edition."
        },
        "release_date": {
          "anyOf": [
            {
              "type": "string",
              "format": "date"
            },
            {
              "type": "null"
            }
          ],
          "title": "Release Date"
        },
        "card_count": {
          "type": "integer",
          "title": "Card Count",
          "description": "Cards of this edition available through the API."
        },
        "logo_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Logo Url"
        },
        "symbol_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Symbol Url"
        }
      },
      "type": "object",
      "required": [
        "edition_id",
        "game",
        "name",
        "language",
        "card_count"
      ],
      "title": "EditionSummary"
    }
  }
}