{
  "components": {
    "schemas": {
      "def-0": {
        "additionalProperties": false,
        "properties": {
          "defaultLocale": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "status": {
            "enum": [
              "active",
              "coming_soon",
              "archived"
            ],
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "slug",
          "name",
          "status",
          "defaultLocale",
          "updatedAt"
        ],
        "title": "Game",
        "type": "object"
      },
      "def-1": {
        "additionalProperties": false,
        "properties": {
          "artist": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "slug": {
                    "type": "string"
                  }
                },
                "required": [
                  "slug",
                  "name"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "externalIds": {
            "additionalProperties": false,
            "description": "Identifiers for this printing in other catalogs; null when not matched or not confirmed for this game.",
            "properties": {
              "pricecharting": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "PriceCharting product ID."
              },
              "scryfall": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Scryfall card UUID (Magic: The Gathering)."
              },
              "tcgplayer": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "TCGplayer product ID. Provided for Pokémon, One Piece, Digimon, Dragon Ball, Union Arena, Riftbound and Cyberpunk."
              }
            },
            "required": [
              "tcgplayer",
              "scryfall",
              "pricecharting"
            ],
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "imageUrl": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "key": {
            "type": "string"
          },
          "rarity": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "key",
          "imageUrl",
          "rarity",
          "artist",
          "externalIds"
        ],
        "title": "CardVariant",
        "type": "object"
      },
      "def-10": {
        "additionalProperties": false,
        "properties": {
          "countryCode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "coverage": {
            "$ref": "#/components/schemas/def-8"
          },
          "format": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "gameSlug": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "players": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "region": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "slug": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "source": {
            "$ref": "#/components/schemas/def-9"
          },
          "startsAt": {
            "format": "date-time",
            "type": "string"
          },
          "tier": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "gameSlug",
          "slug",
          "name",
          "format",
          "region",
          "countryCode",
          "tier",
          "startsAt",
          "players",
          "coverage",
          "source",
          "updatedAt"
        ],
        "title": "Tournament",
        "type": "object"
      },
      "def-11": {
        "additionalProperties": false,
        "properties": {
          "deckCount": {
            "minimum": 0,
            "type": "integer"
          },
          "identifiedDeckCount": {
            "minimum": 0,
            "type": "integer"
          },
          "tournamentCount": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "tournamentCount",
          "deckCount",
          "identifiedDeckCount"
        ],
        "title": "MetaSample",
        "type": "object"
      },
      "def-12": {
        "additionalProperties": false,
        "properties": {
          "oldestEventAt": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "startsAfter": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "startsBefore": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "startsAfter",
          "startsBefore",
          "oldestEventAt"
        ],
        "title": "MetaWindow",
        "type": "object"
      },
      "def-13": {
        "additionalProperties": false,
        "properties": {
          "knownPublishedDeckCount": {
            "description": "Published deck lists only from events contributing to reportedDeckCount.",
            "minimum": 0,
            "type": "integer"
          },
          "knownTournamentCount": {
            "minimum": 0,
            "type": "integer"
          },
          "publishedDeckCount": {
            "description": "All published deck lists in the selected sample, including events with unknown denominators.",
            "minimum": 0,
            "type": "integer"
          },
          "rate": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "knownPublishedDeckCount / reportedDeckCount, or null when no positive denominator is known."
          },
          "reportedDeckCount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Sum of disclosed deck counts for events with a known denominator."
          },
          "scopes": {
            "additionalProperties": false,
            "properties": {
              "all-submitted": {
                "minimum": 0,
                "type": "integer"
              },
              "selected": {
                "minimum": 0,
                "type": "integer"
              },
              "top-cut": {
                "minimum": 0,
                "type": "integer"
              },
              "top-n": {
                "minimum": 0,
                "type": "integer"
              },
              "unknown": {
                "minimum": 0,
                "type": "integer"
              }
            },
            "required": [
              "all-submitted",
              "top-cut",
              "top-n",
              "selected",
              "unknown"
            ],
            "type": "object"
          }
        },
        "required": [
          "knownTournamentCount",
          "reportedDeckCount",
          "publishedDeckCount",
          "knownPublishedDeckCount",
          "rate",
          "scopes"
        ],
        "title": "MetaCoverage",
        "type": "object"
      },
      "def-14": {
        "additionalProperties": false,
        "properties": {
          "deckCount": {
            "minimum": 1,
            "type": "integer"
          },
          "leaderCardNumber": {
            "type": "string"
          },
          "rank": {
            "minimum": 1,
            "type": "integer"
          },
          "representationRate": {
            "maximum": 1,
            "minimum": 0,
            "type": "number"
          }
        },
        "required": [
          "rank",
          "leaderCardNumber",
          "deckCount",
          "representationRate"
        ],
        "title": "LeaderRepresentation",
        "type": "object"
      },
      "def-15": {
        "additionalProperties": false,
        "properties": {
          "archetypeKey": {
            "type": "string"
          },
          "archetypeName": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "deckCount": {
            "minimum": 1,
            "type": "integer"
          },
          "rank": {
            "minimum": 1,
            "type": "integer"
          },
          "representationRate": {
            "maximum": 1,
            "minimum": 0,
            "type": "number"
          }
        },
        "required": [
          "rank",
          "archetypeKey",
          "archetypeName",
          "deckCount",
          "representationRate"
        ],
        "title": "ArchetypeRepresentation",
        "type": "object"
      },
      "def-16": {
        "additionalProperties": false,
        "properties": {
          "entryCount": {
            "type": "integer"
          },
          "gameSlug": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "gameSlug",
          "type",
          "entryCount"
        ],
        "title": "DirectoryDescriptor",
        "type": "object"
      },
      "def-17": {
        "additionalProperties": false,
        "properties": {
          "alternateName": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "cardCount": {
            "type": "integer"
          },
          "gameSlug": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "imageUrl": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "metadata": {
            "additionalProperties": true,
            "type": "object"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "updatedAt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "gameSlug",
          "type",
          "slug",
          "name",
          "alternateName",
          "imageUrl",
          "cardCount",
          "metadata",
          "updatedAt"
        ],
        "title": "DirectoryEntry",
        "type": "object"
      },
      "def-18": {
        "additionalProperties": false,
        "properties": {
          "cardId": {
            "type": "string"
          },
          "cardNumber": {
            "type": "string"
          },
          "changes": {
            "additionalProperties": false,
            "properties": {
              "days30": {
                "additionalProperties": false,
                "properties": {
                  "amountMinor": {
                    "type": "integer"
                  },
                  "baseline": {
                    "additionalProperties": false,
                    "properties": {
                      "amountMinor": {
                        "type": "integer"
                      },
                      "observedAt": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "amountMinor",
                      "observedAt"
                    ],
                    "type": "object"
                  },
                  "currency": {
                    "enum": [
                      "USD"
                    ],
                    "type": "string"
                  },
                  "percent": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "currency",
                  "amountMinor",
                  "percent",
                  "baseline"
                ],
                "type": [
                  "object",
                  "null"
                ]
              },
              "days7": {
                "additionalProperties": false,
                "properties": {
                  "amountMinor": {
                    "type": "integer"
                  },
                  "baseline": {
                    "additionalProperties": false,
                    "properties": {
                      "amountMinor": {
                        "type": "integer"
                      },
                      "observedAt": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "amountMinor",
                      "observedAt"
                    ],
                    "type": "object"
                  },
                  "currency": {
                    "enum": [
                      "USD"
                    ],
                    "type": "string"
                  },
                  "percent": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "currency",
                  "amountMinor",
                  "percent",
                  "baseline"
                ],
                "type": [
                  "object",
                  "null"
                ]
              }
            },
            "required": [
              "days7",
              "days30"
            ],
            "type": "object"
          },
          "converted": {
            "additionalProperties": false,
            "properties": {
              "amountMinor": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "currency": {
                "enum": [
                  "TRY"
                ],
                "type": "string"
              },
              "rate": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "currency",
              "amountMinor",
              "rate"
            ],
            "type": "object"
          },
          "market": {
            "additionalProperties": false,
            "properties": {
              "amountMinor": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "currency": {
                "enum": [
                  "USD"
                ],
                "type": "string"
              }
            },
            "required": [
              "currency",
              "amountMinor"
            ],
            "type": "object"
          },
          "observedAt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "source": {
            "type": "string"
          },
          "variantKey": {
            "type": "string"
          }
        },
        "required": [
          "cardId",
          "cardNumber",
          "variantKey",
          "source",
          "market",
          "converted",
          "observedAt"
        ],
        "title": "CurrentPrice",
        "type": "object"
      },
      "def-19": {
        "additionalProperties": false,
        "properties": {
          "detail": {
            "type": "string"
          },
          "instance": {
            "type": "string"
          },
          "requestId": {
            "type": "string"
          },
          "status": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "title",
          "status"
        ],
        "title": "Problem",
        "type": "object"
      },
      "def-2": {
        "additionalProperties": false,
        "properties": {
          "attribute": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "cardNumber": {
            "type": "string"
          },
          "cardType": {
            "maxLength": 100,
            "minLength": 1,
            "type": "string"
          },
          "colors": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "cost": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "counter": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "gameSlug": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "imageUrl": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "life": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "locale": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "pokemon": {
            "anyOf": [
              {
                "additionalProperties": false,
                "description": "Pokémon attributes carried by the source. Null for other games.",
                "properties": {
                  "energyTypes": {
                    "description": "e.g. [\"Fire\"]; empty when unknown.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "regulationMark": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Regulation mark letter, e.g. H."
                  },
                  "stage": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Evolution stage when the source provides it; only part of the catalog."
                  },
                  "supertype": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "pokemon, trainer or energy."
                  },
                  "trainerType": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Trainer subtype, e.g. Item, Supporter, Stadium."
                  }
                },
                "required": [
                  "supertype",
                  "trainerType",
                  "energyTypes",
                  "regulationMark",
                  "stage"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "power": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "rarity": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "setCode": {
            "type": "string"
          },
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "thumbnailUrl": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "traits": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "triggerText": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "variants": {
            "items": {
              "$ref": "#/components/schemas/def-1"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "gameSlug",
          "cardNumber",
          "name",
          "setCode",
          "cardType",
          "colors",
          "rarity",
          "life",
          "cost",
          "power",
          "counter",
          "attribute",
          "traits",
          "text",
          "triggerText",
          "imageUrl",
          "thumbnailUrl",
          "locale",
          "variants",
          "pokemon",
          "updatedAt"
        ],
        "title": "Card",
        "type": "object"
      },
      "def-20": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/def-0"
            },
            "type": "array"
          },
          "page": {
            "additionalProperties": false,
            "properties": {
              "hasMore": {
                "type": "boolean"
              },
              "nextCursor": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "hasMore",
              "nextCursor"
            ],
            "type": "object"
          }
        },
        "required": [
          "data",
          "page"
        ],
        "title": "GamePage",
        "type": "object"
      },
      "def-21": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/def-2"
            },
            "type": "array"
          },
          "page": {
            "additionalProperties": false,
            "properties": {
              "hasMore": {
                "type": "boolean"
              },
              "nextCursor": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "hasMore",
              "nextCursor"
            ],
            "type": "object"
          }
        },
        "required": [
          "data",
          "page"
        ],
        "title": "CardPage",
        "type": "object"
      },
      "def-22": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/def-3"
            },
            "type": "array"
          },
          "page": {
            "additionalProperties": false,
            "properties": {
              "hasMore": {
                "type": "boolean"
              },
              "nextCursor": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "hasMore",
              "nextCursor"
            ],
            "type": "object"
          }
        },
        "required": [
          "data",
          "page"
        ],
        "title": "CardSetPage",
        "type": "object"
      },
      "def-23": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/def-7"
            },
            "type": "array"
          },
          "page": {
            "additionalProperties": false,
            "properties": {
              "hasMore": {
                "type": "boolean"
              },
              "nextCursor": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "hasMore",
              "nextCursor"
            ],
            "type": "object"
          }
        },
        "required": [
          "data",
          "page"
        ],
        "title": "DeckPage",
        "type": "object"
      },
      "def-24": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/def-10"
            },
            "type": "array"
          },
          "page": {
            "additionalProperties": false,
            "properties": {
              "hasMore": {
                "type": "boolean"
              },
              "nextCursor": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "hasMore",
              "nextCursor"
            ],
            "type": "object"
          }
        },
        "required": [
          "data",
          "page"
        ],
        "title": "TournamentPage",
        "type": "object"
      },
      "def-25": {
        "additionalProperties": false,
        "properties": {
          "coverage": {
            "$ref": "#/components/schemas/def-13"
          },
          "data": {
            "items": {
              "$ref": "#/components/schemas/def-14"
            },
            "type": "array"
          },
          "gameSlug": {
            "type": "string"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "newestEventAt": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "sample": {
            "$ref": "#/components/schemas/def-11"
          },
          "window": {
            "$ref": "#/components/schemas/def-12"
          }
        },
        "required": [
          "gameSlug",
          "data",
          "sample",
          "window",
          "coverage",
          "newestEventAt",
          "generatedAt"
        ],
        "title": "LeaderMetaSnapshot",
        "type": "object"
      },
      "def-26": {
        "additionalProperties": false,
        "properties": {
          "coverage": {
            "$ref": "#/components/schemas/def-13"
          },
          "data": {
            "items": {
              "$ref": "#/components/schemas/def-15"
            },
            "type": "array"
          },
          "gameSlug": {
            "type": "string"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "newestEventAt": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "sample": {
            "$ref": "#/components/schemas/def-11"
          },
          "window": {
            "$ref": "#/components/schemas/def-12"
          }
        },
        "required": [
          "gameSlug",
          "data",
          "sample",
          "window",
          "coverage",
          "newestEventAt",
          "generatedAt"
        ],
        "title": "ArchetypeMetaSnapshot",
        "type": "object"
      },
      "def-27": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/def-17"
            },
            "type": "array"
          },
          "page": {
            "additionalProperties": false,
            "properties": {
              "hasMore": {
                "type": "boolean"
              },
              "nextCursor": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "hasMore",
              "nextCursor"
            ],
            "type": "object"
          }
        },
        "required": [
          "data",
          "page"
        ],
        "title": "DirectoryEntryPage",
        "type": "object"
      },
      "def-28": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "position": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "enum": [
              "primary",
              "cameo",
              "illustration"
            ],
            "type": "string"
          },
          "variantKeys": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "role",
          "kind",
          "variantKeys",
          "position"
        ],
        "title": "DirectoryCardRelationship",
        "type": "object"
      },
      "def-29": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "card": {
                  "$ref": "#/components/schemas/def-2"
                },
                "relationships": {
                  "items": {
                    "$ref": "#/components/schemas/def-28"
                  },
                  "minItems": 1,
                  "type": "array"
                }
              },
              "required": [
                "card",
                "relationships"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "page": {
            "additionalProperties": false,
            "properties": {
              "hasMore": {
                "type": "boolean"
              },
              "nextCursor": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "hasMore",
              "nextCursor"
            ],
            "type": "object"
          }
        },
        "required": [
          "data",
          "page"
        ],
        "title": "DirectoryLinkedCardPage",
        "type": "object"
      },
      "def-3": {
        "additionalProperties": false,
        "properties": {
          "cardCount": {
            "type": "integer"
          },
          "code": {
            "type": "string"
          },
          "gameSlug": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "releaseDate": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "series": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "gameSlug",
          "code",
          "name",
          "series",
          "releaseDate",
          "cardCount",
          "updatedAt"
        ],
        "title": "CardSet",
        "type": "object"
      },
      "def-30": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/def-16"
            },
            "type": "array"
          }
        },
        "required": [
          "data"
        ],
        "title": "DirectoryDescriptorList",
        "type": "object"
      },
      "def-31": {
        "additionalProperties": false,
        "properties": {
          "cards": {
            "$ref": "#/components/schemas/def-21"
          },
          "entry": {
            "$ref": "#/components/schemas/def-17"
          }
        },
        "required": [
          "entry",
          "cards"
        ],
        "title": "DirectoryDetail",
        "type": "object"
      },
      "def-32": {
        "additionalProperties": false,
        "properties": {
          "cardNumber": {
            "type": "string"
          },
          "gameSlug": {
            "type": "string"
          },
          "prices": {
            "items": {
              "$ref": "#/components/schemas/def-18"
            },
            "type": "array"
          }
        },
        "required": [
          "gameSlug",
          "cardNumber",
          "prices"
        ],
        "title": "CardPrices",
        "type": "object"
      },
      "def-33": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "cardNumber": {
                  "type": "string"
                },
                "variants": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "cardId": {
                        "type": "string"
                      },
                      "points": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "converted": {
                              "additionalProperties": false,
                              "properties": {
                                "amountMinor": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "currency": {
                                  "enum": [
                                    "TRY"
                                  ],
                                  "type": "string"
                                },
                                "rate": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "currency",
                                "amountMinor",
                                "rate"
                              ],
                              "type": "object"
                            },
                            "date": {
                              "type": "string"
                            },
                            "market": {
                              "additionalProperties": false,
                              "properties": {
                                "amountMinor": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "currency": {
                                  "enum": [
                                    "USD"
                                  ],
                                  "type": "string"
                                }
                              },
                              "required": [
                                "currency",
                                "amountMinor"
                              ],
                              "type": "object"
                            },
                            "observedAt": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "date",
                            "market",
                            "converted",
                            "observedAt"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "source": {
                        "type": "string"
                      },
                      "variantKey": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "cardId",
                      "variantKey",
                      "source",
                      "points"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "cardNumber",
                "variants"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "from": {
            "type": "string"
          },
          "gameSlug": {
            "type": "string"
          },
          "notFound": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "to": {
            "type": "string"
          }
        },
        "required": [
          "gameSlug",
          "from",
          "to",
          "data",
          "notFound"
        ],
        "title": "PriceHistory",
        "type": "object"
      },
      "def-34": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "Cards with current prices, in request order.",
            "items": {
              "$ref": "#/components/schemas/def-32"
            },
            "type": "array"
          },
          "gameSlug": {
            "type": "string"
          },
          "notFound": {
            "description": "Requested card numbers with no catalog card or no current price.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "unitsCharged": {
            "description": "One unit per ten distinct cards requested.",
            "maximum": 10,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "gameSlug",
          "data",
          "notFound",
          "unitsCharged"
        ],
        "title": "BulkCardPrices",
        "type": "object"
      },
      "def-4": {
        "additionalProperties": false,
        "properties": {
          "cardId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "cardNumber": {
            "type": "string"
          },
          "quantity": {
            "minimum": 1,
            "type": "integer"
          },
          "section": {
            "enum": [
              "leader",
              "main",
              "side",
              "other"
            ],
            "type": "string"
          }
        },
        "required": [
          "cardId",
          "cardNumber",
          "quantity",
          "section"
        ],
        "title": "DeckCard",
        "type": "object"
      },
      "def-5": {
        "additionalProperties": false,
        "properties": {
          "attribution": {
            "minLength": 1,
            "type": "string"
          },
          "key": {
            "minLength": 1,
            "type": "string"
          },
          "scope": {
            "enum": [
              "normalized-records-and-derived-metrics"
            ],
            "type": "string"
          }
        },
        "required": [
          "key",
          "scope",
          "attribution"
        ],
        "title": "SourceRights",
        "type": "object"
      },
      "def-6": {
        "additionalProperties": false,
        "properties": {
          "placing": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "provider": {
            "type": "string"
          },
          "record": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "losses": {
                    "type": "integer"
                  },
                  "ties": {
                    "type": "integer"
                  },
                  "wins": {
                    "type": "integer"
                  }
                },
                "required": [
                  "wins",
                  "losses",
                  "ties"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "reference": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "rights": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/def-5"
              },
              {
                "type": "null"
              }
            ]
          },
          "tournamentDate": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "tournamentFormat": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "tournamentId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "tournamentName": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "tournamentPlayers": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "url",
          "reference",
          "tournamentId",
          "tournamentName",
          "tournamentFormat",
          "tournamentDate",
          "tournamentPlayers",
          "placing",
          "record",
          "rights"
        ],
        "title": "DeckSource",
        "type": "object"
      },
      "def-7": {
        "additionalProperties": false,
        "properties": {
          "archetypeKey": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "archetypeName": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "cards": {
            "items": {
              "$ref": "#/components/schemas/def-4"
            },
            "type": "array"
          },
          "gameSlug": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "isComplete": {
            "description": "True when every card identity resolves and the supported game-specific deck shape is complete. This is not a format, color-compatibility, ban-list, or tournament-legality ruling.",
            "type": "boolean"
          },
          "kind": {
            "enum": [
              "starter",
              "tutorial",
              "community",
              "official",
              "tournament"
            ],
            "type": "string"
          },
          "leaderCardId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "leaderCardNumber": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "locale": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "source": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/def-6"
              },
              {
                "type": "null"
              }
            ]
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "unresolvedCardNumbers": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "gameSlug",
          "slug",
          "name",
          "kind",
          "archetypeName",
          "archetypeKey",
          "leaderCardId",
          "leaderCardNumber",
          "cards",
          "isComplete",
          "unresolvedCardNumbers",
          "tags",
          "locale",
          "source",
          "updatedAt"
        ],
        "title": "Deck",
        "type": "object"
      },
      "def-8": {
        "additionalProperties": false,
        "properties": {
          "publishedDeckCount": {
            "description": "Deck lists published by this API.",
            "minimum": 0,
            "type": "integer"
          },
          "rate": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "publishedDeckCount / reportedDeckCount, or null when no positive denominator is known."
          },
          "reportedDeckCount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Deck count disclosed by the tournament source, or null when the denominator is unknown."
          },
          "scope": {
            "enum": [
              "all-submitted",
              "top-cut",
              "top-n",
              "selected",
              "unknown"
            ],
            "type": "string"
          }
        },
        "required": [
          "scope",
          "reportedDeckCount",
          "publishedDeckCount",
          "rate"
        ],
        "title": "TournamentCoverage",
        "type": "object"
      },
      "def-9": {
        "additionalProperties": false,
        "properties": {
          "fetchedAt": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "observedAt": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "provider": {
            "type": "string"
          },
          "reference": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "rights": {
            "$ref": "#/components/schemas/def-5"
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "url",
          "reference",
          "observedAt",
          "fetchedAt",
          "rights"
        ],
        "title": "TournamentSource",
        "type": "object"
      }
    },
    "securitySchemes": {
      "clientBasic": {
        "description": "HTTP Basic client authentication for the token endpoint (client_secret_basic). Keep credentials on your server.",
        "scheme": "basic",
        "type": "http"
      },
      "oauth2": {
        "flows": {
          "clientCredentials": {
            "scopes": {
              "catalog:read": "Read games, sets, and cards",
              "decks:read": "Read published deck lists",
              "directories:read": "Read curated game directories and their card relationships",
              "meta:read": "Read sourced tournament representation aggregates",
              "prices:history": "Read up to six months of daily price history",
              "prices:read": "Read current card and variant prices",
              "tournaments:read": "Read published tournaments and their deck lists"
            },
            "tokenUrl": "https://api.collectales.com/oauth/token"
          }
        },
        "type": "oauth2"
      }
    }
  },
  "info": {
    "description": "Stable, versioned access to Collectales card-game catalog data.",
    "title": "Collectales External API",
    "version": "1.0.0-draft"
  },
  "openapi": "3.1.0",
  "paths": {
    "/oauth/token": {
      "post": {
        "description": "Current staging authentication uses client_secret_basic. Authenticate with the application's client ID and secret using HTTP Basic, then send the returned opaque token as a Bearer token on protected resources.",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "grant_type": {
                    "enum": [
                      "client_credentials"
                    ],
                    "type": "string"
                  },
                  "scope": {
                    "type": "string"
                  }
                },
                "required": [
                  "grant_type"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "access_token": {
                      "type": "string"
                    },
                    "expires_in": {
                      "type": "integer"
                    },
                    "scope": {
                      "type": "string"
                    },
                    "token_type": {
                      "enum": [
                        "Bearer"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "access_token",
                    "token_type",
                    "expires_in",
                    "scope"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "properties": {
                        "error": {
                          "enum": [
                            "unsupported_grant_type",
                            "invalid_scope"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "$ref": "#/components/schemas/def-19"
                    }
                  ]
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "enum": [
                        "invalid_client"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "clientBasic": []
          }
        ],
        "summary": "Exchange client credentials for an access token",
        "tags": [
          "Authentication"
        ]
      }
    },
    "/v1/capabilities": {
      "get": {
        "description": "Public, credential-free availability metadata from a complete audit of this environment. Evidence expires after 24 hours; stale evidence never reports ready. Returns 503 when verified evidence is unavailable. Audit time does not imply every source record is fresh.",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "environment": {
                      "type": "string"
                    },
                    "evidence": {
                      "additionalProperties": false,
                      "properties": {
                        "auditedAt": {
                          "format": "date-time",
                          "type": "string"
                        },
                        "expiresAt": {
                          "format": "date-time",
                          "type": "string"
                        },
                        "meaning": {
                          "type": "string"
                        },
                        "mode": {
                          "enum": [
                            "deep"
                          ],
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "current",
                            "stale"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "status",
                        "auditedAt",
                        "expiresAt",
                        "mode",
                        "meaning"
                      ],
                      "type": "object"
                    },
                    "games": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "capabilities": {
                            "additionalProperties": false,
                            "properties": {
                              "catalog": {
                                "enum": [
                                  "ready",
                                  "degraded",
                                  "not_ready",
                                  "not_available"
                                ],
                                "type": "string"
                              },
                              "decks": {
                                "enum": [
                                  "ready",
                                  "degraded",
                                  "not_ready",
                                  "not_available"
                                ],
                                "type": "string"
                              },
                              "directories": {
                                "enum": [
                                  "ready",
                                  "degraded",
                                  "not_ready",
                                  "not_available"
                                ],
                                "type": "string"
                              },
                              "meta": {
                                "enum": [
                                  "ready",
                                  "degraded",
                                  "not_ready",
                                  "not_available"
                                ],
                                "type": "string"
                              },
                              "officialDecks": {
                                "enum": [
                                  "ready",
                                  "degraded",
                                  "not_ready",
                                  "not_available"
                                ],
                                "type": "string"
                              },
                              "prices": {
                                "enum": [
                                  "ready",
                                  "degraded",
                                  "not_ready",
                                  "not_available"
                                ],
                                "type": "string"
                              },
                              "tournamentDecks": {
                                "enum": [
                                  "ready",
                                  "degraded",
                                  "not_ready",
                                  "not_available"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "catalog",
                              "directories",
                              "prices",
                              "decks",
                              "officialDecks",
                              "tournamentDecks",
                              "meta"
                            ],
                            "type": "object"
                          },
                          "counts": {
                            "additionalProperties": false,
                            "properties": {
                              "cards": {
                                "anyOf": [
                                  {
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "officialDecks": {
                                "anyOf": [
                                  {
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "recentTournamentDecks": {
                                "anyOf": [
                                  {
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "recentTournamentEvents": {
                                "anyOf": [
                                  {
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "sets": {
                                "anyOf": [
                                  {
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "tournamentDecks": {
                                "anyOf": [
                                  {
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "tournaments": {
                                "anyOf": [
                                  {
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "cards",
                              "sets",
                              "officialDecks",
                              "tournamentDecks",
                              "tournaments",
                              "recentTournamentEvents",
                              "recentTournamentDecks"
                            ],
                            "type": "object"
                          },
                          "enabled": {
                            "type": "boolean"
                          },
                          "gameSlug": {
                            "type": "string"
                          },
                          "metaPolicy": {
                            "additionalProperties": false,
                            "properties": {
                              "approvedSources": {
                                "minimum": 0,
                                "type": "integer"
                              },
                              "maximumEventAgeDays": {
                                "enum": [
                                  7
                                ],
                                "type": "integer"
                              },
                              "meaning": {
                                "type": "string"
                              },
                              "minimumDecks": {
                                "enum": [
                                  100
                                ],
                                "type": "integer"
                              },
                              "minimumEvents": {
                                "enum": [
                                  10
                                ],
                                "type": "integer"
                              },
                              "newestEventAt": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "newestSourceFetchedAt": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "windowDays": {
                                "enum": [
                                  60
                                ],
                                "type": "integer"
                              }
                            },
                            "required": [
                              "windowDays",
                              "minimumEvents",
                              "minimumDecks",
                              "maximumEventAgeDays",
                              "approvedSources",
                              "newestEventAt",
                              "newestSourceFetchedAt",
                              "meaning"
                            ],
                            "type": "object"
                          },
                          "priceSample": {
                            "additionalProperties": false,
                            "properties": {
                              "cardsWithPrices": {
                                "minimum": 0,
                                "type": "integer"
                              },
                              "freshCards": {
                                "anyOf": [
                                  {
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "maxAgeDays": {
                                "enum": [
                                  7
                                ],
                                "type": "integer"
                              },
                              "meaning": {
                                "type": "string"
                              },
                              "newestObservedAt": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "oldestObservedAt": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "sampledCards": {
                                "minimum": 0,
                                "type": "integer"
                              },
                              "strategy": {
                                "anyOf": [
                                  {
                                    "enum": [
                                      "locale-set-stratified-v1"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "sampledCards",
                              "cardsWithPrices",
                              "freshCards",
                              "maxAgeDays",
                              "strategy",
                              "oldestObservedAt",
                              "newestObservedAt",
                              "meaning"
                            ],
                            "type": "object"
                          },
                          "reasons": {
                            "additionalProperties": false,
                            "properties": {
                              "catalog": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "decks": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "directories": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "meta": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "officialDecks": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "prices": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "tournamentDecks": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              }
                            },
                            "required": [
                              "catalog",
                              "directories",
                              "prices",
                              "decks",
                              "officialDecks",
                              "tournamentDecks",
                              "meta"
                            ],
                            "type": "object"
                          },
                          "tournamentSourcesFresh": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "gameSlug",
                          "enabled",
                          "capabilities",
                          "counts",
                          "tournamentSourcesFresh"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "generatedAt": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "schemaVersion": {
                      "enum": [
                        1
                      ],
                      "type": "integer"
                    }
                  },
                  "required": [
                    "schemaVersion",
                    "environment",
                    "generatedAt",
                    "evidence",
                    "games"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "summary": "Read audited game capability availability",
        "tags": [
          "Availability"
        ]
      }
    },
    "/v1/games": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "maxLength": 512,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-20"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "catalog:read"
            ]
          }
        ],
        "summary": "List supported card games",
        "tags": [
          "Games"
        ]
      }
    },
    "/v1/games/{gameSlug}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "gameSlug",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-0"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "catalog:read"
            ]
          }
        ],
        "summary": "Get a game",
        "tags": [
          "Games"
        ]
      }
    },
    "/v1/games/{gameSlug}/cards": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "maxLength": 512,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "locale",
            "required": false,
            "schema": {
              "maxLength": 35,
              "minLength": 2,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "set",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "color",
            "required": false,
            "schema": {
              "maxLength": 32,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "maxLength": 100,
              "minLength": 2,
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "gameSlug",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-21"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "catalog:read"
            ]
          }
        ],
        "summary": "List cards",
        "tags": [
          "Cards"
        ]
      }
    },
    "/v1/games/{gameSlug}/cards/{cardNumber}": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "locale",
            "required": false,
            "schema": {
              "maxLength": 35,
              "minLength": 2,
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "gameSlug",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "cardNumber",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-2"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "catalog:read"
            ]
          }
        ],
        "summary": "Get a card",
        "tags": [
          "Cards"
        ]
      }
    },
    "/v1/games/{gameSlug}/cards/{cardNumber}/prices": {
      "get": {
        "description": "With price history enabled, includes same-source USD changes over 7 and 30 days. Missing baselines are null; zero baselines have a null percentage. Costs 2 units.",
        "parameters": [
          {
            "in": "path",
            "name": "gameSlug",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "cardNumber",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-32"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "prices:read"
            ]
          }
        ],
        "summary": "Get current market prices for every card variant",
        "tags": [
          "Prices"
        ]
      }
    },
    "/v1/games/{gameSlug}/decks": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "maxLength": 512,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "locale",
            "required": false,
            "schema": {
              "maxLength": 35,
              "minLength": 2,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "gameSlug",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-23"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "decks:read"
            ]
          }
        ],
        "summary": "List published decks",
        "tags": [
          "Decks"
        ]
      }
    },
    "/v1/games/{gameSlug}/decks/{deckSlug}": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "locale",
            "required": false,
            "schema": {
              "maxLength": 35,
              "minLength": 2,
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "gameSlug",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "deckSlug",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-7"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "decks:read"
            ]
          }
        ],
        "summary": "Get a published deck",
        "tags": [
          "Decks"
        ]
      }
    },
    "/v1/games/{gameSlug}/directories": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "gameSlug",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-30"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "directories:read"
            ]
          }
        ],
        "summary": "Discover directories available for a game",
        "tags": [
          "Directories"
        ]
      }
    },
    "/v1/games/{gameSlug}/directories/{directoryType}": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 25,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "maxLength": 512,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "maxLength": 100,
              "minLength": 2,
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "gameSlug",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "directoryType",
            "required": true,
            "schema": {
              "enum": [
                "characters",
                "artists",
                "trainers",
                "connected-cards",
                "pokedex",
                "creatures",
                "universes"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-27"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "directories:read"
            ]
          }
        ],
        "summary": "List entries in a game directory",
        "tags": [
          "Directories"
        ]
      }
    },
    "/v1/games/{gameSlug}/directories/{directoryType}/{slug}": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 25,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "maxLength": 512,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "gameSlug",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "directoryType",
            "required": true,
            "schema": {
              "enum": [
                "characters",
                "artists",
                "trainers",
                "connected-cards",
                "pokedex",
                "creatures",
                "universes"
              ],
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "slug",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-31"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "directories:read"
            ]
          }
        ],
        "summary": "Get a directory entry and its cards",
        "tags": [
          "Directories"
        ]
      }
    },
    "/v1/games/{gameSlug}/meta/archetypes": {
      "get": {
        "description": "Uses explicit editorial archetype keys only. It does not infer archetypes, win rates, matchup performance, or field-wide popularity beyond the disclosed sample and coverage. This is a full current aggregate snapshot for the requested window; replace it as a whole. generatedAt is evaluation time, not a dataset version or sync checkpoint.",
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "region",
            "required": false,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "country_code",
            "required": false,
            "schema": {
              "pattern": "^[A-Z]{2}$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "tier",
            "required": false,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "starts_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "starts_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "gameSlug",
            "required": true,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-26"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "meta:read"
            ]
          }
        ],
        "summary": "Rank archetype representation in published tournament deck lists",
        "tags": [
          "Meta"
        ]
      }
    },
    "/v1/games/{gameSlug}/meta/leaders": {
      "get": {
        "description": "Returns representation only. It does not infer win rates, matchup performance, or field-wide popularity beyond the disclosed sample and coverage. This is a full current aggregate snapshot for the requested window; replace it as a whole. generatedAt is evaluation time, not a dataset version or sync checkpoint.",
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "region",
            "required": false,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "country_code",
            "required": false,
            "schema": {
              "pattern": "^[A-Z]{2}$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "tier",
            "required": false,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "starts_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "starts_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "gameSlug",
            "required": true,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-25"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "meta:read"
            ]
          }
        ],
        "summary": "Rank leader representation in published tournament deck lists",
        "tags": [
          "Meta"
        ]
      }
    },
    "/v1/games/{gameSlug}/price-history": {
      "get": {
        "description": "Pro/Enterprise: up to six calendar months, one last observation per UTC day and variant, from the same source as the current quote. Dates are inclusive (YYYY-MM-DD), defaulting to the last six months through today. Missing days are omitted. Known cards without history have an empty variants array; unknown cards appear in notFound. At most 20,000 points; narrow dates/cards or specify variant if exceeded. Costs 1 unit per successful request. Sources without compatible daily snapshots have no history.",
        "parameters": [
          {
            "description": "1–10 comma-separated card numbers; duplicates ignored.",
            "in": "query",
            "name": "cards",
            "required": true,
            "schema": {
              "maxLength": 660,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "variant",
            "required": false,
            "schema": {
              "maxLength": 128,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "gameSlug",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-33"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "prices:history"
            ]
          }
        ],
        "summary": "Get daily price history for up to 10 cards",
        "tags": [
          "Prices"
        ]
      }
    },
    "/v1/games/{gameSlug}/prices": {
      "get": {
        "description": "Comma-separated card numbers (duplicates ignored, at most 100). Costs one unit per ten distinct cards requested, from 1 to 10 units; cards that are not found are listed in notFound.",
        "parameters": [
          {
            "description": "e.g. OP01-001,OP01-016,ST01-012",
            "in": "query",
            "name": "cards",
            "required": true,
            "schema": {
              "maxLength": 6600,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "gameSlug",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-34"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "prices:read"
            ]
          }
        ],
        "summary": "Get current prices for up to 100 cards in one request",
        "tags": [
          "Prices"
        ]
      }
    },
    "/v1/games/{gameSlug}/sets": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "maxLength": 512,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "gameSlug",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-22"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "catalog:read"
            ]
          }
        ],
        "summary": "List card sets",
        "tags": [
          "Sets"
        ]
      }
    },
    "/v1/games/{gameSlug}/sets/{setCode}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "gameSlug",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "setCode",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-3"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "catalog:read"
            ]
          }
        ],
        "summary": "Get a card set",
        "tags": [
          "Sets"
        ]
      }
    },
    "/v1/games/{gameSlug}/tournaments": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "maxLength": 512,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "region",
            "required": false,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "country_code",
            "required": false,
            "schema": {
              "pattern": "^[A-Z]{2}$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "tier",
            "required": false,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "starts_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "starts_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "gameSlug",
            "required": true,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-24"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "tournaments:read"
            ]
          }
        ],
        "summary": "List published tournaments with source and coverage context",
        "tags": [
          "Tournaments"
        ]
      }
    },
    "/v1/games/{gameSlug}/tournaments/{tournamentId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "gameSlug",
            "required": true,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tournamentId",
            "required": true,
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-10"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "tournaments:read"
            ]
          }
        ],
        "summary": "Get a published tournament",
        "tags": [
          "Tournaments"
        ]
      }
    },
    "/v1/games/{gameSlug}/tournaments/{tournamentId}/decks": {
      "get": {
        "description": "Returns the current published deck-list snapshot for this event, ordered by final placing (decks without a placing last). updated_after filters currently visible rows by projected updatedAt; it does not emit removals or rights withdrawals and must not be used as a deletion-safe sync feed.",
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "maxLength": 512,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "locale",
            "required": false,
            "schema": {
              "maxLength": 35,
              "minLength": 2,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "leader_card_number",
            "required": false,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "archetype",
            "required": false,
            "schema": {
              "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
              "type": "string"
            }
          },
          {
            "description": "Lower-bound filter for currently published rows; not a sync checkpoint.",
            "in": "query",
            "name": "updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "gameSlug",
            "required": true,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tournamentId",
            "required": true,
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-23"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "tournaments:read"
            ]
          }
        ],
        "summary": "List published deck lists for a tournament",
        "tags": [
          "Tournaments",
          "Decks"
        ]
      }
    },
    "/v1/games/pokemon/directories/{directoryType}/{slug}/cards": {
      "get": {
        "description": "Requires catalog migration 013. Filters are applied before pagination. Empty variantKeys apply to every card variant; null represents a card-level relationship. Nonempty keys restrict the relationship to listed variants. The variant filter selects applicable relationships, not proof that a card has that variant. Trainer roles follow the source isCameo flag. Existing directory detail responses are unchanged.",
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 25,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "maxLength": 512,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "set",
            "required": false,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "locale",
            "required": false,
            "schema": {
              "maxLength": 35,
              "minLength": 2,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "maxLength": 100,
              "minLength": 2,
              "pattern": "\\S",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "role",
            "required": false,
            "schema": {
              "enum": [
                "primary",
                "cameo"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "variant",
            "required": false,
            "schema": {
              "maxLength": 120,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "default": "card-number",
              "enum": [
                "card-number",
                "position"
              ],
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "directoryType",
            "required": true,
            "schema": {
              "enum": [
                "pokedex",
                "trainers",
                "connected-cards"
              ],
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "slug",
            "required": true,
            "schema": {
              "maxLength": 200,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-29"
                }
              }
            },
            "description": "Default Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/def-19"
                }
              }
            },
            "description": "Default Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "directories:read"
            ]
          }
        ],
        "summary": "Read Pokémon directory cards with their exact recorded relationships",
        "tags": [
          "Directories"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api.collectales.com"
    }
  ]
}
