{
  "openapi": "3.1.0",
  "info": {
    "title": "TrueFloat API",
    "version": "1.0.0",
    "summary": "Public API and dataset of CS2 pattern-seed guides, transcribed faithfully from their Steam sources.",
    "description": "TrueFloat serves a hand-transcribed dataset of CS2 pattern-seed guides:\nwhich seed goes in which author's tier, group or rank, quoted verbatim\nfrom the guide it came from.\n\n## The shape everything shares\n\n```\nitem        AK-47 | Case Hardened        def_index 7, paint_index 44\n └ guide     one Steam guide, one author\n    └ system  one property being ranked   \"Blue Gem\", \"Max Black\"\n       └ level one place in that ranking   \"top\", \"1\", \"2\"\n          └ seeds\n```\n\nA tier guide is one system with many levels; a group guide is many\nsystems with one level each. Both have the same JSON shape. Levels are\nordered best first. `level.key` is an opaque identifier, never an\nordinal. `scale.kind` tells a UI how to draw a system, not how to read\nit.\n\n## Addressing\n\n`(def_index, paint_index)` is canonical. A slug can cover several paint\nindexes (`karambit-doppler` is Ruby 415, Sapphire 416, Black Pearl 417\nand four phases), so it is not a query key. `GET /resolve` turns a slug\nor market hash name into its canonical pairs.\n\n## Guides are never merged\n\nEach verdict is reported against its own guide's scale, side by side:\n\"1st of 5\" describes that guide's list alone. No cross-guide tier is\ncomputed. `topic` (on a **system**, not a guide) groups systems across\nguides without combining them; every system has exactly one topic id\n(e.g. `blue-gem`). `side` (`playside`, `backside` or `both`) is set only\nwhere the guide says which side it grades, else `null`.\n\n## The envelope\n\nEvery response under `/v1` with a body is one JSON object. A success\ncarries `data`; a failure carries `error` with a `code` and a human\n`message`. Two responses have no envelope: a `304 Not Modified` has no\nbody, and `/health` answers a bare `{\"status\": ...}`.\n\n`dataset_version`, on every enveloped response, is a content hash of the\nloaded data and of the code that derives responses from it (places,\ncounts, aliases), not a commit sha. A data change or a fix to a derived\nfield changes it; a formatting, docs or infrastructure deploy does not.\n\n```json\n{\"dataset_version\": \"e9c25a6\", \"data\": { }}\n{\"dataset_version\": \"e9c25a6\", \"error\": {\"code\": \"not_found\", \"message\": \"no item def 7 paint 45\"}}\n```\n\nError codes: `not_found` (404), `bad_request` (400 and 422),\n`rate_limited` (429, with `Retry-After`), `internal_error` (503: `/dump`\nor `/index` failed to build, or an unexpected server error; never\ncached, safe to retry).\n\n## Empty versus missing\n\n| request | answer |\n|---|---|\n| unknown def_index, or a paint_index the item does not have | 404 `not_found` |\n| known item, seed no guide grades | 200, `verdicts: []`, every covering system in `not_listed` |\n| known item with no guide | 200, `guides: []` or `seeds: {}` |\n| unknown steam_id or system | 404 `not_found` |\n\n## Attribution\n\nEvery guide block carries its attribution: `steam_id`, `title`,\n`authors`, `url`, `permission`, `updated`. No licence is claimed on\nguide data (every guide is `permission: \"unknown\"` unless its author has\ngranted one). Showing a grading means showing its author and Steam link.\n\n## Rate limits and caching\n\nNo sign-up and no key. Every caller gets **1000 requests per minute per\nclient IP**; past it, `429 rate_limited` with a `Retry-After` header.\nCloudflare, in front of the app, also blocks a client IP for 10 seconds\nafter **170 requests in 10 seconds**. That block has no CORS headers, so\nin a browser `fetch()` throws a network error instead of returning a\n`429`: back off and retry after 10 seconds.\n\nResponses carry `ETag: \"<dataset_version>\"`, so `If-None-Match` gets a\nbodiless `304 Not Modified`, and a short public `Cache-Control`. Send\nthe `ETag` back exactly as received (a proxy may hand it to you weak,\n`W/\"...\"`, which still matches); don't compare it to `dataset_version`\nyourself. `/dump` and `/index` are cached longer, built once per\n`dataset_version`, and served brotli when `Accept-Encoding` includes\n`br`, else gzip when it includes `gzip`.\n\n## CORS\n\nAny origin, `GET` only, no credentials. Every response, including\nerrors, `429` and `304`, carries `Access-Control-Allow-Origin: *` and\n`Access-Control-Expose-Headers: ETag, Retry-After`, with or without an\n`Origin` header. Responses don't vary on `Origin`. A preflight\n(`OPTIONS`) allows `GET` with an `If-None-Match` header.\n",
    "contact": {
      "name": "TrueFloat",
      "url": "https://truefloat.app/api/"
    }
  },
  "servers": [
    {
      "url": "https://truefloat.app/api/v1",
      "description": "Production"
    }
  ],
  "tags": [
    {
      "name": "Items",
      "description": "An item is a `(def_index, paint_index)` pair: one weapon or knife\nfinish at one paint index. `GET /items/{def_index}/{paint_index}`\nreturns the item plus a menu of every guide covering it. `GET\n/resolve` turns a slug or Steam market hash name into the\n`(def_index, paint_index)` pairs it covers.\n"
    },
    {
      "name": "Guides",
      "description": "A guide is one Steam guide by one author: provenance, every system it\ndefines, every level in order, every seed graded, with the verbatim\nquote each grading came from.\n"
    },
    {
      "name": "Seeds & patterns",
      "description": "What every guide says about one seed, or an item's whole seed map.\n`/patterns` is the bulk twin of `/seeds/{seed}`: fetch it once per item\nand look up each listing locally.\n"
    },
    {
      "name": "Bulk",
      "description": "The whole dataset in one response (`/dump`), or every grading in one\ncompact index (`/index`).\n"
    },
    {
      "name": "Catalog",
      "description": "CS2 game data under `/v1/catalog`: containers (cases, packages),\ncollections, items (skins, stickers) and loot pools. Versioned by\n`catalog_version`, independent of `dataset_version`.\n"
    },
    {
      "name": "Utilities",
      "description": "Dataset metadata and liveness.\n"
    }
  ],
  "paths": {
    "/health": {
      "servers": [
        {
          "url": "https://truefloat.app/api",
          "description": "Production (health lives outside /v1, unprefixed)"
        }
      ],
      "get": {
        "operationId": "getHealth",
        "summary": "Liveness check",
        "description": "`200` once the database is loaded and reachable, `503` otherwise.\nNot rate limited. No envelope: no `dataset_version`, no `data` or\n`error`.\n",
        "tags": [
          "Utilities"
        ],
        "responses": {
          "200": {
            "description": "Database is loaded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthOk"
                },
                "examples": {
                  "ok": {
                    "summary": "Healthy",
                    "value": {
                      "status": "ok"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Database is not loaded or not reachable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthError"
                },
                "examples": {
                  "down": {
                    "summary": "Database unavailable",
                    "value": {
                      "status": "error"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/meta": {
      "get": {
        "operationId": "getMeta",
        "summary": "Dataset metadata",
        "description": "`dataset_version`, when it was loaded, and counts of items, guides,\nsystems and gradings. `counts.items` counts `(def_index,\npaint_index)` pairs. Poll this (or watch the `ETag`) to notice a new\n`dataset_version`.\n",
        "tags": [
          "Utilities"
        ],
        "responses": {
          "200": {
            "description": "Metadata for the currently loaded dataset.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MetaEnvelope"
                },
                "examples": {
                  "live": {
                    "summary": "Real response from GET /v1/meta (taken 2026-09-25). `loaded_at` and the\ncounts move with every load and every data change.\n",
                    "value": {
                      "dataset_version": "e9c25a6",
                      "data": {
                        "dataset_version": "e9c25a6",
                        "loaded_at": "2026-09-25T21:04:35.586086+00:00",
                        "counts": {
                          "items": 298,
                          "guides": 308,
                          "aliases": 1312,
                          "systems": 536,
                          "gradings": 83836
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/NotModified"
          },
          "404": {
            "description": "No metadata row loaded (should not occur in normal operation).",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          }
        },
        "parameters": [
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ]
      }
    },
    "/items/{def_index}/{paint_index}": {
      "get": {
        "operationId": "getItem",
        "summary": "Item and its guide menu",
        "description": "The item, plus a menu of every guide covering it: author, title,\nand each system's id, label, topic, side, `scale.kind`, level count\nand seed count. No seeds: fetch `/guides/{steam_id}` or\n`/items/{def_index}/{paint_index}/patterns` for those.\n\n`?topic=blue-gem` returns the same shape narrowed to systems\ncarrying that topic, and drops guides left with none (`guides: []`\nwhen the item has no system on that topic). A topic id no system\ncarries is `400`.\n",
        "tags": [
          "Items"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DefIndex"
          },
          {
            "$ref": "#/components/parameters/PaintIndex"
          },
          {
            "name": "topic",
            "in": "query",
            "required": false,
            "description": "Narrow the guide menu to systems carrying this topic. A system\nhas exactly one topic; a guide with systems on several topics\nappears under each, showing only the matching system(s). Must\nbe a topic id some system carries, else `400`.\n",
            "schema": {
              "type": "string"
            },
            "example": "blue-gem"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "The item and its guide menu, possibly filtered by topic.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ItemMenuEnvelope"
                },
                "examples": {
                  "ak47_case_hardened": {
                    "summary": "Real response from GET /v1/items/7/44 (AK-47 Case Hardened, two guides)",
                    "value": {
                      "dataset_version": "e9c25a6",
                      "data": {
                        "item": {
                          "def_index": 7,
                          "paint_index": 44,
                          "slug": "ak47-case-hardened",
                          "weapon": "AK-47",
                          "finish": "Case Hardened",
                          "paint_label": "Case Hardened",
                          "category": "skin"
                        },
                        "guides": [
                          {
                            "steam_id": "2941982575",
                            "title": "AK-47 Case Hardened | Blue Gem",
                            "authors": [
                              "korenevskiy"
                            ],
                            "url": "https://steamcommunity.com/sharedfiles/filedetails/?id=2941982575",
                            "permission": "unknown",
                            "updated": "2026-03-01T13:29:00",
                            "systems": [
                              {
                                "id": "ak47-blue-gem",
                                "label": "AK-47 Blue Gem",
                                "alias": null,
                                "topic": "blue-gem",
                                "side": null,
                                "kind": "tier",
                                "levels": 4,
                                "seeds": 97,
                                "category": "skin"
                              }
                            ]
                          },
                          {
                            "steam_id": "3313951742",
                            "title": "The Complete Gold Gem Patterns Guide",
                            "authors": [
                              "korenevskiy"
                            ],
                            "url": "https://steamcommunity.com/sharedfiles/filedetails/?id=3313951742",
                            "permission": "unknown",
                            "updated": "2026-06-19T17:01:00",
                            "systems": [
                              {
                                "id": "ak47-gold-gem",
                                "label": "Gold Gem Patterns",
                                "alias": null,
                                "topic": "gold-gem",
                                "side": null,
                                "kind": "group",
                                "levels": 1,
                                "seeds": 4,
                                "category": "skin"
                              }
                            ]
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/NotModified"
          },
          "400": {
            "description": "`topic` is not a topic id any system carries.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                },
                "examples": {
                  "unknown_topic": {
                    "summary": "Real response from GET /v1/items/7/44?topic=nonexistent-topic-xyz",
                    "value": {
                      "dataset_version": "e9c25a6",
                      "error": {
                        "code": "bad_request",
                        "message": "unknown topic nonexistent-topic-xyz"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Unknown `def_index`, or a `paint_index` this item does not have.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                },
                "examples": {
                  "not_found": {
                    "summary": "Real response from GET /v1/items/99999/99999",
                    "value": {
                      "dataset_version": "e9c25a6",
                      "error": {
                        "code": "not_found",
                        "message": "no item def 99999 paint 99999"
                      }
                    }
                  }
                }
              }
            }
          },
          "422": {
            "$ref": "#/components/responses/ValidationError"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          }
        }
      }
    },
    "/guides/{steam_id}": {
      "get": {
        "operationId": "getGuide",
        "summary": "Whole guide, or one of its systems",
        "description": "The guide exactly as stored: provenance, every system, every level\nin order, every seed, with the verbatim quote each grading and\ndefinition came from.\n\n`?system={id}` narrows `systems` to that one system. Every other\ntop-level field (`remarks`, `item_claims`, `discrepancies`,\n`callouts`, ...) is guide-level and returned whole. An unknown\n`system` is `404`.\n",
        "tags": [
          "Guides"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/SteamId"
          },
          {
            "name": "system",
            "in": "query",
            "required": false,
            "description": "Narrow the guide to one system, by `system.id`.",
            "schema": {
              "type": "string"
            },
            "example": "ak47-blue-gem"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "The guide, or the one system requested.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuideEnvelope"
                },
                "examples": {
                  "filtered_system": {
                    "summary": "Real response from GET /v1/guides/2941982575?system=ak47-blue-gem\n(korenevskiy's AK-47 Blue Gem guide).\n`systems[0].gradings` has 97 entries; truncated here to the first 3.\nEvery other field and array is complete.\n",
                    "value": {
                      "dataset_version": "e9c25a6",
                      "data": {
                        "steam_id": "2941982575",
                        "schema": "0.5.0",
                        "title": "AK-47 Case Hardened | Blue Gem",
                        "authors": [
                          "korenevskiy"
                        ],
                        "collaborators": 1,
                        "url": "https://steamcommunity.com/sharedfiles/filedetails/?id=2941982575",
                        "posted": "2023-03-04T04:00:00",
                        "updated": "2026-03-01T13:29:00",
                        "snapshot": {
                          "path": "sources/2941982575",
                          "retrieved_at": "2026-09-11T09:44:29.010688+00:00",
                          "sha256": "aa15d4cdf6cd970ea4165a4a0cad3dee0873df42a5c6858c2af8e859080e3936"
                        },
                        "permission": "unknown",
                        "permission_quote": "Сopies of this guide will have DMCA complaints",
                        "incomplete": null,
                        "complete": null,
                        "notes": "",
                        "related_guides": [
                          {
                            "steam_id": "3090086681",
                            "quote": "https://steamcommunity.com/sharedfiles/filedetails/?id=3090086681"
                          }
                        ],
                        "remarks": [
                          {
                            "quote": "Patterns with a predominance of yellow are more affordable and common.",
                            "note": "author's price statement about yellow-dominant patterns",
                            "system": "ak47-blue-gem"
                          }
                        ],
                        "item_claims": [
                          {
                            "quote": "The metal parts of the rifle are hardened and coated with blue, yellow and purple stains. The handguard and the buttstock are made of wood. The handle is painted solid brown.",
                            "note": "finish description",
                            "system": null
                          },
                          {
                            "quote": "Float Value of the skin ranges from 0.00 to 1.00, which makes AK-47 | Case Hardened available in all conditions. Traces of wear such as scratches and abrasions do not appear on the body of the weapon even at the highest Float Values. At levels of wear close to the maximum, the metal parts of the rifle are coated with a layer of patina, which makes the skin look much darker.",
                            "note": "float range and wear behaviour",
                            "system": null
                          }
                        ],
                        "callouts": [
                          {
                            "kind": "example",
                            "label": "High Tier",
                            "quote": null,
                            "system": "ak47-blue-gem",
                            "images": [
                              "images/003.jpg",
                              "images/004.jpg",
                              "images/005.jpg",
                              "images/006.jpg",
                              "images/007.jpg",
                              "images/008.jpg"
                            ],
                            "note": "image-only showcase section between '#1' and 'Rank 1'; the six captioned seeds (670, 321, 955, 179, 151, 760) all appear in the Rank 1 text list, so this is a highlighted subset of Rank 1, not a level above it (the prose says patterns are 'divided into three tiers')"
                          }
                        ],
                        "discrepancies": [],
                        "systems": [
                          {
                            "id": "ak47-blue-gem",
                            "label": "AK-47 Blue Gem",
                            "item": "ak47-case-hardened",
                            "paint_indexes": [
                              44
                            ],
                            "definition": {
                              "quote": "The pattern index affects the appearance of the skin as well as its price. Variations of the pattern with a predominance of blue areas on the top of the receiver Blue Top are considered to be the rarest and the most expensive ones. Patterns with a predominance of yellow are more affordable and common."
                            },
                            "scale": {
                              "kind": "tier",
                              "best": 1,
                              "worst": 3,
                              "definition": {
                                "quote": "All other patterns, except for #661 , are divided into three tiers by the amount of blue colour on the weapon finish. But at the same time, this blue is taken into account only on the central part of the gun’s case and the mag. Blue spots on the barrel’s end and the buttstock’s back do not affect the tier."
                              }
                            },
                            "remarks": [],
                            "levels": [
                              {
                                "key": "top",
                                "label": "#1",
                                "images": [
                                  "images/002.jpg"
                                ],
                                "ordered": false,
                                "ordered_quote": null,
                                "definition": {
                                  "quote": "AK-47 Case Hardened with pattern #661 . It got its name in honour of a small yellow stripe on the side. Look, it’s placed just above the gun’s clip. This is an extremely rare skin."
                                }
                              },
                              {
                                "key": "1",
                                "label": "Rank 1",
                                "images": [
                                  "images/009.jpg"
                                ],
                                "ordered": false,
                                "ordered_quote": null
                              },
                              {
                                "key": "2",
                                "label": "Rank 2",
                                "images": [
                                  "images/010.jpg"
                                ],
                                "ordered": false,
                                "ordered_quote": null
                              },
                              {
                                "key": "3",
                                "label": "Rank 3",
                                "images": [
                                  "images/011.jpg"
                                ],
                                "ordered": false,
                                "ordered_quote": null
                              }
                            ],
                            "gradings": [
                              {
                                "seed": 661,
                                "level": "top",
                                "quote": "with pattern #661",
                                "evidence": "caption",
                                "position": 0,
                                "rank": 1,
                                "note": {
                                  "quote": "It got its name in honour of a small yellow stripe on the side. Look, it’s placed just above the gun’s clip. This is an extremely rare skin."
                                }
                              },
                              {
                                "seed": 151,
                                "level": "1",
                                "quote": "151 168 179 321 387 555 592 617 670 760 809 828 955",
                                "evidence": "caption",
                                "position": 0
                              },
                              {
                                "seed": 168,
                                "level": "1",
                                "quote": "151 168 179 321 387 555 592 617 670 760 809 828 955",
                                "evidence": "text",
                                "position": 1
                              }
                            ]
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/NotModified"
          },
          "404": {
            "description": "Unknown `steam_id`, or an unknown `system` on a known guide.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                },
                "examples": {
                  "unknown_guide": {
                    "summary": "Real response from GET /v1/guides/9999999999",
                    "value": {
                      "dataset_version": "e9c25a6",
                      "error": {
                        "code": "not_found",
                        "message": "no guide 9999999999"
                      }
                    }
                  },
                  "unknown_system": {
                    "summary": "Real response from GET /v1/guides/2941982575?system=nonexistent",
                    "value": {
                      "dataset_version": "e9c25a6",
                      "error": {
                        "code": "not_found",
                        "message": "no system nonexistent in guide 2941982575"
                      }
                    }
                  }
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          }
        }
      }
    },
    "/items/{def_index}/{paint_index}/seeds/{seed}": {
      "get": {
        "operationId": "getSeed",
        "summary": "One seed, every guide's verdict, side by side",
        "description": "Every guide's verdict on one seed of one item, side by side, each\nagainst its own guide's scale. `not_listed` names every system\ncovering the item that has no verdict for this seed. A system in\nneither `verdicts` nor `not_listed` does not cover the item.\n",
        "tags": [
          "Seeds & patterns"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DefIndex"
          },
          {
            "$ref": "#/components/parameters/PaintIndex"
          },
          {
            "$ref": "#/components/parameters/Seed"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Every guide's verdict on this seed, plus the systems that cover the item but don't list it.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SeedEnvelope"
                },
                "examples": {
                  "two_guides": {
                    "summary": "Real response from GET /v1/items/507/38/seeds/16 (Karambit Fade, seed graded by\nboth of the item's Fade guides).\n",
                    "value": {
                      "dataset_version": "e9c25a6",
                      "data": {
                        "item": {
                          "def_index": 507,
                          "paint_index": 38,
                          "slug": "karambit-fade"
                        },
                        "seed": 16,
                        "verdicts": [
                          {
                            "guide": {
                              "steam_id": "2875620478",
                              "title": "The Complete Fade Guide",
                              "authors": [
                                "korenevskiy"
                              ],
                              "url": "https://steamcommunity.com/sharedfiles/filedetails/?id=2875620478",
                              "permission": "unknown",
                              "updated": "2026-08-29T16:12:00"
                            },
                            "system": {
                              "id": "karambit-fade",
                              "label": "Fade",
                              "topic": "fade",
                              "side": null,
                              "kind": "band",
                              "category": "skin"
                            },
                            "level": {
                              "key": "100",
                              "label": "Full Fade",
                              "place": 1,
                              "of": 1
                            },
                            "rank": null,
                            "equivalent_to": null,
                            "value": null,
                            "evidence": "text",
                            "quote": "16, 129, 146, 152, 241, 281, 292, 332, 344, 359, 393, 412 , 541, 602, 628, 649, 673, 688, 701, 743, 777, 792, 918, 994"
                          },
                          {
                            "guide": {
                              "steam_id": "3217178645",
                              "title": "Karambit Knife Fade | Guide",
                              "authors": [
                                "korenevskiy"
                              ],
                              "url": "https://steamcommunity.com/sharedfiles/filedetails/?id=3217178645",
                              "permission": "unknown",
                              "updated": "2026-08-24T08:29:00"
                            },
                            "system": {
                              "id": "karambit-fade",
                              "label": "Fade",
                              "topic": "fade",
                              "side": null,
                              "kind": "band",
                              "category": "skin"
                            },
                            "level": {
                              "key": "100",
                              "label": "100%",
                              "place": 1,
                              "of": 11
                            },
                            "rank": null,
                            "equivalent_to": null,
                            "value": null,
                            "evidence": "text",
                            "quote": "100% 16 129 146 152 241 281 292 332 344 359 393 412 541 602 628 649 673 688 701 743 777 792 918 994"
                          }
                        ],
                        "not_listed": []
                      }
                    }
                  },
                  "one_guide_not_listed": {
                    "summary": "Real response from GET /v1/items/7/44/seeds/387 (AK-47 Case Hardened, graded by one guide, not listed by the other)",
                    "value": {
                      "dataset_version": "e9c25a6",
                      "data": {
                        "item": {
                          "def_index": 7,
                          "paint_index": 44,
                          "slug": "ak47-case-hardened"
                        },
                        "seed": 387,
                        "verdicts": [
                          {
                            "guide": {
                              "steam_id": "2941982575",
                              "title": "AK-47 Case Hardened | Blue Gem",
                              "authors": [
                                "korenevskiy"
                              ],
                              "url": "https://steamcommunity.com/sharedfiles/filedetails/?id=2941982575",
                              "permission": "unknown",
                              "updated": "2026-03-01T13:29:00"
                            },
                            "system": {
                              "id": "ak47-blue-gem",
                              "label": "AK-47 Blue Gem",
                              "topic": "blue-gem",
                              "side": null,
                              "kind": "tier",
                              "category": "skin"
                            },
                            "level": {
                              "key": "1",
                              "label": "Rank 1",
                              "place": 2,
                              "of": 4
                            },
                            "rank": null,
                            "equivalent_to": null,
                            "value": null,
                            "evidence": "text",
                            "quote": "151 168 179 321 387 555 592 617 670 760 809 828 955"
                          }
                        ],
                        "not_listed": [
                          {
                            "steam_id": "3313951742",
                            "system": "ak47-gold-gem"
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/NotModified"
          },
          "404": {
            "description": "Unknown `def_index`, or a `paint_index` this item does not have.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            }
          },
          "422": {
            "description": "`seed` outside the item's valid range, or a non-numeric path segment.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                },
                "examples": {
                  "out_of_range": {
                    "summary": "Real response from GET /v1/items/7/44/seeds/1001",
                    "value": {
                      "dataset_version": "e9c25a6",
                      "error": {
                        "code": "bad_request",
                        "message": "seed must be 0..1000"
                      }
                    }
                  }
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          }
        }
      }
    },
    "/items/{def_index}/{paint_index}/patterns": {
      "get": {
        "operationId": "getPatterns",
        "summary": "Every graded seed for the item, in bulk",
        "description": "The bulk twin of `/seeds/{seed}`: every graded seed of the item,\nwith each guide's and system's details (title, authors, levels,\n...) given once. Fetch it once per item page and look up each\nlisting locally.\n",
        "tags": [
          "Seeds & patterns"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DefIndex"
          },
          {
            "$ref": "#/components/parameters/PaintIndex"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Every graded seed for the item, guides and systems given once.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PatternsEnvelope"
                },
                "examples": {
                  "ak47_truncated": {
                    "summary": "Real response from GET /v1/items/7/44/patterns (AK-47 Case Hardened), truncated:\nthe live response covers 101 seeds and two guides' full level lists; only seeds\n\"387\" and \"661\" are shown here.\n",
                    "value": {
                      "dataset_version": "e9c25a6",
                      "data": {
                        "item": {
                          "def_index": 7,
                          "paint_index": 44,
                          "slug": "ak47-case-hardened"
                        },
                        "guides": {
                          "2941982575": {
                            "title": "AK-47 Case Hardened | Blue Gem",
                            "authors": [
                              "korenevskiy"
                            ],
                            "url": "https://steamcommunity.com/sharedfiles/filedetails/?id=2941982575",
                            "permission": "unknown",
                            "updated": "2026-03-01T13:29:00",
                            "systems": {
                              "ak47-blue-gem": {
                                "label": "AK-47 Blue Gem",
                                "topic": "blue-gem",
                                "side": null,
                                "kind": "tier",
                                "category": "skin",
                                "levels": [
                                  {
                                    "key": "top",
                                    "label": "#1"
                                  },
                                  {
                                    "key": "1",
                                    "label": "Rank 1"
                                  },
                                  {
                                    "key": "2",
                                    "label": "Rank 2"
                                  },
                                  {
                                    "key": "3",
                                    "label": "Rank 3"
                                  }
                                ]
                              }
                            }
                          },
                          "3313951742": {
                            "title": "The Complete Gold Gem Patterns Guide",
                            "authors": [
                              "korenevskiy"
                            ],
                            "url": "https://steamcommunity.com/sharedfiles/filedetails/?id=3313951742",
                            "permission": "unknown",
                            "updated": "2026-06-19T17:01:00",
                            "systems": {
                              "ak47-gold-gem": {
                                "label": "Gold Gem Patterns",
                                "topic": "gold-gem",
                                "side": null,
                                "kind": "group",
                                "category": "skin",
                                "levels": [
                                  {
                                    "key": "gold-gem",
                                    "label": "Gold Gem Patterns"
                                  }
                                ]
                              }
                            }
                          }
                        },
                        "seeds": {
                          "387": [
                            {
                              "guide": "2941982575",
                              "system": "ak47-blue-gem",
                              "level": "1",
                              "place": 2,
                              "rank": null,
                              "equivalent_to": null,
                              "value": null
                            }
                          ],
                          "661": [
                            {
                              "guide": "2941982575",
                              "system": "ak47-blue-gem",
                              "level": "top",
                              "place": 1,
                              "rank": 1,
                              "equivalent_to": null,
                              "value": null
                            }
                          ]
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/NotModified"
          },
          "404": {
            "description": "Unknown `def_index`, or a `paint_index` this item does not have.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            }
          },
          "422": {
            "$ref": "#/components/responses/ValidationError"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          }
        }
      }
    },
    "/resolve": {
      "get": {
        "operationId": "resolve",
        "summary": "Resolve a slug or market hash name to items",
        "description": "Every `(def_index, paint_index)` pair a slug or Steam market hash\nname covers, with labels. A list, since a slug can cover several\npaint indexes: `karambit-doppler` resolves to Ruby (415), Sapphire\n(416), Black Pearl (417) and four phases. One of `slug` or\n`market_hash_name` is required; with both, `slug` wins.\n",
        "tags": [
          "Items"
        ],
        "parameters": [
          {
            "name": "slug",
            "in": "query",
            "required": false,
            "description": "An item slug, e.g. `karambit-doppler`. Wins over `market_hash_name` when both are sent.",
            "schema": {
              "type": "string",
              "maxLength": 200
            },
            "example": "karambit-doppler"
          },
          {
            "name": "market_hash_name",
            "in": "query",
            "required": false,
            "description": "A Steam market hash name, e.g. `AK-47 | Case Hardened (Field-Tested)`. Ignored when `slug` is sent.",
            "schema": {
              "type": "string",
              "maxLength": 200
            }
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Every `(def_index, paint_index)` pair the alias resolves to.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResolveEnvelope"
                },
                "examples": {
                  "karambit_doppler": {
                    "summary": "Real response from GET /v1/resolve?slug=karambit-doppler",
                    "value": {
                      "dataset_version": "e9c25a6",
                      "data": {
                        "items": [
                          {
                            "def_index": 507,
                            "paint_index": 415,
                            "slug": "karambit-doppler",
                            "weapon": "Karambit",
                            "finish": "Doppler",
                            "paint_label": "Ruby"
                          },
                          {
                            "def_index": 507,
                            "paint_index": 416,
                            "slug": "karambit-doppler",
                            "weapon": "Karambit",
                            "finish": "Doppler",
                            "paint_label": "Sapphire"
                          },
                          {
                            "def_index": 507,
                            "paint_index": 417,
                            "slug": "karambit-doppler",
                            "weapon": "Karambit",
                            "finish": "Doppler",
                            "paint_label": "Black Pearl"
                          },
                          {
                            "def_index": 507,
                            "paint_index": 418,
                            "slug": "karambit-doppler",
                            "weapon": "Karambit",
                            "finish": "Doppler",
                            "paint_label": "Phase 1"
                          },
                          {
                            "def_index": 507,
                            "paint_index": 419,
                            "slug": "karambit-doppler",
                            "weapon": "Karambit",
                            "finish": "Doppler",
                            "paint_label": "Phase 2"
                          },
                          {
                            "def_index": 507,
                            "paint_index": 420,
                            "slug": "karambit-doppler",
                            "weapon": "Karambit",
                            "finish": "Doppler",
                            "paint_label": "Phase 3"
                          },
                          {
                            "def_index": 507,
                            "paint_index": 421,
                            "slug": "karambit-doppler",
                            "weapon": "Karambit",
                            "finish": "Doppler",
                            "paint_label": "Phase 4"
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/NotModified"
          },
          "400": {
            "description": "Neither `slug` nor `market_hash_name` was given.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                },
                "examples": {
                  "missing_params": {
                    "summary": "Real response from GET /v1/resolve (no query params)",
                    "value": {
                      "dataset_version": "e9c25a6",
                      "error": {
                        "code": "bad_request",
                        "message": "slug or market_hash_name required"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The slug or market hash name matches no known item.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            }
          },
          "422": {
            "description": "`slug` or `market_hash_name` longer than 200 characters.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          }
        }
      }
    },
    "/dump": {
      "get": {
        "operationId": "getDump",
        "summary": "The whole dataset in one response",
        "description": "Every item and every guide in one response. Built once per\n`dataset_version` and reused for every request against it; send\n`If-None-Match`.\n\nServed brotli (quality 9, 16 MB window) when `Accept-Encoding`\nincludes `br`, else gzip when it includes `gzip`, else plain. The\nplain body is tens of megabytes, so negotiate compression\n(`curl --compressed`).\n",
        "tags": [
          "Bulk"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          },
          {
            "name": "Accept-Encoding",
            "in": "header",
            "required": false,
            "description": "Include `br` for a brotli body (`Content-Encoding: br`), or `gzip` for a gzip one (`Content-Encoding: gzip`). `br` wins when both are listed; `br;q=0` does not count.",
            "schema": {
              "type": "string"
            },
            "example": "gzip, br"
          }
        ],
        "responses": {
          "200": {
            "description": "The whole dataset.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "description": "`public, max-age=3600`.",
                "schema": {
                  "type": "string"
                },
                "example": "public, max-age=3600"
              },
              "Vary": {
                "description": "`Accept-Encoding`: the body differs between a brotli, a gzip and a plain request, so caches key on it. Only `/dump` and `/index` send `Vary`.",
                "schema": {
                  "type": "string"
                },
                "example": "Accept-Encoding"
              },
              "Content-Encoding": {
                "description": "`br` or `gzip` when the response body is compressed; absent for a plain response.",
                "schema": {
                  "type": "string"
                },
                "example": "br"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DumpEnvelope"
                },
                "examples": {
                  "truncated": {
                    "summary": "Shape of GET /v1/dump, with `items` and `guides` cut to one entry each.\nThe guide shown is also cut: its one system is left out (`systems` shown\nempty) and `permission_quote`, `complete`, `related_guides`, `remarks`,\n`item_claims` and `callouts` are omitted.\n",
                    "value": {
                      "dataset_version": "e9c25a6",
                      "data": {
                        "items": [
                          {
                            "def_index": 7,
                            "paint_index": 44,
                            "slug": "ak47-case-hardened",
                            "weapon": "AK-47",
                            "finish": "Case Hardened",
                            "paint_label": "Case Hardened"
                          }
                        ],
                        "guides": [
                          {
                            "schema": "0.5.0",
                            "steam_id": "2941982575",
                            "title": "AK-47 Case Hardened | Blue Gem",
                            "authors": [
                              "korenevskiy"
                            ],
                            "collaborators": 1,
                            "url": "https://steamcommunity.com/sharedfiles/filedetails/?id=2941982575",
                            "posted": "2023-03-04T04:00:00",
                            "updated": "2026-03-01T13:29:00",
                            "snapshot": {
                              "path": "sources/2941982575",
                              "retrieved_at": "2026-09-11T09:44:29.010688+00:00",
                              "sha256": "aa15d4cdf6cd970ea4165a4a0cad3dee0873df42a5c6858c2af8e859080e3936"
                            },
                            "permission": "unknown",
                            "incomplete": null,
                            "notes": "",
                            "discrepancies": [],
                            "systems": []
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "304": {
            "description": "`If-None-Match` matches the current `dataset_version`. No body; `Cache-Control`\nand `Vary` as on the 200.\n",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                },
                "example": "public, max-age=3600"
              },
              "Vary": {
                "description": "`Accept-Encoding`, as on the 200.",
                "schema": {
                  "type": "string"
                },
                "example": "Accept-Encoding"
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "503": {
            "description": "The dump failed to build or decompress. Retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                },
                "examples": {
                  "build_failed": {
                    "summary": "Dump build failure (illustrative; not captured live)",
                    "value": {
                      "dataset_version": "e9c25a6",
                      "error": {
                        "code": "internal_error",
                        "message": "failed to build dataset dump"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/index": {
      "get": {
        "operationId": "getIndex",
        "summary": "Every grading in one compact index",
        "description": "Every topic family, guide, system, level and seed in one compact\ndocument, for clients that grade listings locally. Built once per\n`dataset_version`; send `If-None-Match` and expect `304` until the\ndata changes.\n\nA system's `guide` and `family` are 0-based indexes into `guides`\nand `families`. Guides are in `steam_id` order, systems in the\nguide's own order, levels best first. `key` and `label` are as the\nguide writes them; `kind` is the system's scale kind. `seeds` are in\nthe guide's grading order, a seed listed twice appearing twice; `n`\ncounts distinct seeds. Optional keys are left out when empty or\nunknown. No mark, place or ordinal is derived, and guides carry no\nURL (`/guides/{steam_id}` has it, with the full quotes).\n\nServed brotli (quality 11) when `Accept-Encoding` includes `br`, else\ngzip when it includes `gzip`, else plain.\n",
        "tags": [
          "Bulk"
        ],
        "parameters": [
          {
            "name": "schema",
            "in": "query",
            "required": false,
            "description": "The payload schema the client reads. Only `1` exists: omit it or\nsend `1`. Any other value is `400`.\n",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            },
            "example": "1"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          },
          {
            "name": "Accept-Encoding",
            "in": "header",
            "required": false,
            "description": "Include `br` for a brotli body (`Content-Encoding: br`), or `gzip` for a gzip one (`Content-Encoding: gzip`). `br` wins when both are listed; `br;q=0` does not count.",
            "schema": {
              "type": "string"
            },
            "example": "gzip, br"
          }
        ],
        "responses": {
          "200": {
            "description": "The grades index, schema 1.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "description": "`public, max-age=3600`.",
                "schema": {
                  "type": "string"
                },
                "example": "public, max-age=3600"
              },
              "Vary": {
                "description": "`Accept-Encoding`: the body differs between a brotli, a gzip and a plain request, so caches key on it.",
                "schema": {
                  "type": "string"
                },
                "example": "Accept-Encoding"
              },
              "Content-Encoding": {
                "description": "`br` or `gzip` when the response body is compressed; absent for a plain response.",
                "schema": {
                  "type": "string"
                },
                "example": "br"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IndexEnvelope"
                },
                "examples": {
                  "excerpt": {
                    "summary": "Shape of GET /v1/index, an excerpt: cut to guide 2941982575's one system and the\nguide and family it references (re-indexed to 0), its levels `2` and `3` and\nboth `definition` quotes left out, and level `1` cut to its first four seeds\nand three captions (`n` is still the full level's 13).\n",
                    "value": {
                      "dataset_version": "e9c25a6",
                      "data": {
                        "families": [
                          {
                            "colours": [
                              "#3b82f6"
                            ],
                            "colours_light": [
                              "#3b82f6"
                            ],
                            "glyph": "brilliant",
                            "id": "blue-gem",
                            "name": "Blue Gem"
                          }
                        ],
                        "guides": [
                          {
                            "authors": [
                              "korenevskiy"
                            ],
                            "steam_id": "2941982575",
                            "title": "AK-47 Case Hardened | Blue Gem"
                          }
                        ],
                        "schema": 1,
                        "systems": [
                          {
                            "family": 0,
                            "guide": 0,
                            "items": [
                              [
                                7,
                                44
                              ]
                            ],
                            "kind": "tier",
                            "category": "skin",
                            "label": "AK-47 Blue Gem",
                            "levels": [
                              {
                                "caption": [
                                  661
                                ],
                                "key": "top",
                                "label": "#1",
                                "n": 1,
                                "ranked": [
                                  [
                                    661,
                                    1
                                  ]
                                ],
                                "seeds": [
                                  661
                                ]
                              },
                              {
                                "caption": [
                                  151,
                                  179,
                                  321
                                ],
                                "key": "1",
                                "label": "Rank 1",
                                "n": 13,
                                "seeds": [
                                  151,
                                  168,
                                  179,
                                  321
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "304": {
            "description": "`If-None-Match` matches the current `dataset_version`. No body; `Cache-Control`\nand `Vary` as on the 200.\n",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                },
                "example": "public, max-age=3600"
              },
              "Vary": {
                "description": "`Accept-Encoding`, as on the 200.",
                "schema": {
                  "type": "string"
                },
                "example": "Accept-Encoding"
              }
            }
          },
          "400": {
            "description": "`schema` is not `1`.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                },
                "examples": {
                  "unknown_schema": {
                    "summary": "Real response from GET /v1/index?schema=2",
                    "value": {
                      "dataset_version": "e9c25a6",
                      "error": {
                        "code": "bad_request",
                        "message": "unsupported schema 2; this server serves schema 1"
                      }
                    }
                  }
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "503": {
            "description": "The index failed to build or decompress. Retry.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "description": "`no-store`: a failed build is never cached, so the next request builds again.",
                "schema": {
                  "type": "string"
                },
                "example": "no-store"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                },
                "examples": {
                  "build_failed": {
                    "summary": "Index build failure (illustrative; not captured live)",
                    "value": {
                      "dataset_version": "e9c25a6",
                      "error": {
                        "code": "internal_error",
                        "message": "failed to build grades index"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/catalog/meta": {
      "get": {
        "operationId": "getCatalogMeta",
        "summary": "Catalog metadata",
        "description": "`catalog_version` and the catalog's counts. Independent of\n`dataset_version`.\n",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Catalog metadata.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogMetaEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "503": {
            "description": "Catalog unavailable.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/index": {
      "get": {
        "operationId": "getCatalogIndex",
        "summary": "Complete catalog index",
        "description": "The whole catalog in one compact response: items, containers,\ncollections, pools and metadata. Gzip when `Accept-Encoding`\nincludes `gzip`, else plain.\n",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "name": "schema",
            "in": "query",
            "required": false,
            "description": "The payload schema the client reads. Only `1` exists.\n",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            },
            "example": "1"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          },
          {
            "name": "Accept-Encoding",
            "in": "header",
            "required": false,
            "description": "Include `gzip` for a gzip-encoded body.",
            "schema": {
              "type": "string"
            },
            "example": "gzip"
          }
        ],
        "responses": {
          "200": {
            "description": "The catalog index, schema 1.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "description": "`public, max-age=3600`.",
                "schema": {
                  "type": "string"
                },
                "example": "public, max-age=3600"
              },
              "Vary": {
                "description": "`Accept-Encoding`: response differs between gzip and plain.",
                "schema": {
                  "type": "string"
                },
                "example": "Accept-Encoding"
              },
              "Content-Encoding": {
                "description": "`gzip` when body is compressed; absent for plain.",
                "schema": {
                  "type": "string"
                },
                "example": "gzip"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogIndexEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "400": {
            "description": "`schema` is not `1`.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          },
          "503": {
            "description": "Index failed to build.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/dump": {
      "get": {
        "operationId": "getCatalogDump",
        "summary": "Catalog dump, the raw data files",
        "description": "The catalog's six data files in one response: `meta`, `items`,\n`containers`, `collections`, `pools` and `events`, as raw records,\nnot the item and container views of the other catalog endpoints (an\nitem has no `key` or `from`, a container no `item_count`). Several\nmegabytes plain: send `Accept-Encoding: gzip`. `data.meta` is what\n`GET /catalog/meta` returns as `data`. To build from the dump, fetch\n`/catalog/meta`, then the dump, and retry once if their\n`catalog_version` values differ.\n",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          },
          {
            "name": "Accept-Encoding",
            "in": "header",
            "required": false,
            "description": "Include `gzip` for a gzip-encoded body.",
            "schema": {
              "type": "string"
            },
            "example": "gzip"
          }
        ],
        "responses": {
          "200": {
            "description": "The catalog dump.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              },
              "Vary": {
                "description": "`Accept-Encoding`: response differs between gzip and plain.",
                "schema": {
                  "type": "string"
                },
                "example": "Accept-Encoding"
              },
              "Content-Encoding": {
                "description": "`gzip` when body is compressed; absent for plain.",
                "schema": {
                  "type": "string"
                },
                "example": "gzip"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogDumpEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "503": {
            "description": "Catalog unavailable, or the dump failed to build.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/ext": {
      "get": {
        "operationId": "getCatalogExt",
        "summary": "Catalog map for the TrueFloat extension",
        "description": "The TrueFloat extension's compact catalog map, in positional tuples:\nfor every skin the containers, collections and pools it drops from\nand its tier; for every container its loot by tier and its goods\n(stickers, patches, sprays, charms, music kits and pins, by id); the\nsouvenir package of each event and collection; the events with the\nstickers of their souvenir packages; and the market hash names of\nthose stickers and of the sprays, charms, music kits and pins\n(sticker and patch goods are ids only). Size:\nabout 607 KB, about 114 KB gzip-encoded, so send\n`Accept-Encoding: gzip`. Cache it by its `ETag` (`catalog_version`).\n`data.schema` is 1 and rises only on an incompatible change.\n",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          },
          {
            "name": "Accept-Encoding",
            "in": "header",
            "required": false,
            "description": "Include `gzip` for a gzip-encoded body.",
            "schema": {
              "type": "string"
            },
            "example": "gzip"
          }
        ],
        "responses": {
          "200": {
            "description": "The extension map, schema 1.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              },
              "Vary": {
                "description": "`Accept-Encoding`: response differs between gzip and plain.",
                "schema": {
                  "type": "string"
                },
                "example": "Accept-Encoding"
              },
              "Content-Encoding": {
                "description": "`gzip` when body is compressed; absent for plain.",
                "schema": {
                  "type": "string"
                },
                "example": "gzip"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogExtEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "503": {
            "description": "Catalog unavailable, or the extension map failed to build.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/containers": {
      "get": {
        "operationId": "listCatalogContainers",
        "summary": "List container summaries",
        "description": "Every container in summary. `kind` and `event` narrow the list.\n",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "name": "kind",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Container kind filter (e.g., weapon_case, souvenir_package).",
            "example": "weapon_case"
          },
          {
            "name": "event",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "Event id filter, or null for non-event containers.",
            "example": 4
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Container summaries.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogContainersEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "400": {
            "description": "Invalid kind or event parameter.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          },
          "503": {
            "description": "Catalog unavailable.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/containers/{ref}": {
      "get": {
        "operationId": "getCatalogContainer",
        "summary": "Get container details",
        "description": "One container in full, by id (`crate:4018`) or `def_index` (`4018`).\n",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "name": "ref",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Container ref (id like \"crate:4018\" or def_index).",
            "example": "4018"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Container details.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogContainerEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "404": {
            "description": "Container not found.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          },
          "503": {
            "description": "Catalog unavailable.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/collections": {
      "get": {
        "operationId": "listCatalogCollections",
        "summary": "List collections",
        "description": "Every collection, with summary counts.",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Collection summaries.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogCollectionsEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "503": {
            "description": "Catalog unavailable.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/collections/{set_id}": {
      "get": {
        "operationId": "getCatalogCollection",
        "summary": "Get collection details",
        "description": "One collection in full, by `set_id`.",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "name": "set_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Collection set_id.",
            "example": "set_community_4"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Collection details.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogCollectionEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "404": {
            "description": "Collection not found.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          },
          "503": {
            "description": "Catalog unavailable.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/items/{key}": {
      "get": {
        "operationId": "getCatalogItem",
        "summary": "Get item details",
        "description": "One item in full, by key (e.g. `skin:33:354`, `sticker:231`).\n",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Item key (e.g., \"skin:33:354\" or \"sticker:231\").",
            "example": "skin:33:354"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Item details with edges (containers/pools it appears in).",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogItemEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "404": {
            "description": "Item not found.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          },
          "503": {
            "description": "Catalog unavailable.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/skins/{def_index}/{paint_index}": {
      "get": {
        "operationId": "getCatalogSkin",
        "summary": "Get skin by indices",
        "description": "One skin by `def_index` and `paint_index`. Same as\n`GET /catalog/items/skin:{def_index}:{paint_index}`.\n",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "name": "def_index",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "description": "Weapon definition index.",
            "example": 33
          },
          {
            "name": "paint_index",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "description": "Paint/finish index.",
            "example": 354
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Skin details.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogItemEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "404": {
            "description": "Skin not found.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          },
          "503": {
            "description": "Catalog unavailable.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/resolve": {
      "get": {
        "operationId": "resolveCatalogItem",
        "summary": "Resolve market hash name to item or container",
        "description": "Resolve a market hash name to the item or container it refers to.\n",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "name": "market_hash_name",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The market hash name to resolve.",
            "example": "MP7 | Urban Hazard"
          }
        ],
        "responses": {
          "200": {
            "description": "Resolved item or container.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogResolveEnvelope"
                }
              }
            }
          },
          "400": {
            "description": "Missing or empty market_hash_name.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          },
          "404": {
            "description": "Market hash name not found.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          },
          "422": {
            "description": "`market_hash_name` is longer than 200 characters (the error code is still `bad_request`).",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          },
          "503": {
            "description": "Catalog unavailable.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/events": {
      "get": {
        "operationId": "listCatalogEvents",
        "summary": "List tournament events with souvenir data",
        "description": "Every tournament event with souvenir data.\n",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "List of events.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogEventsListEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "503": {
            "description": "Catalog unavailable.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/events/{event_id}": {
      "get": {
        "operationId": "getCatalogEvent",
        "summary": "Get tournament event details",
        "description": "Get full details of a tournament event including souvenir package information.\n",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "name": "event_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0
            },
            "description": "The tournament event id.",
            "example": 5
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Event details.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogEventEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "404": {
            "description": "Event not found.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          },
          "503": {
            "description": "Catalog unavailable.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/stickers/{identifier}": {
      "get": {
        "operationId": "getCatalogSticker",
        "summary": "Get sticker by kit id",
        "description": "A sticker by its kit id. Same as `GET /catalog/items/sticker:{identifier}`.\n",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The sticker kit id.",
            "example": "231"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Sticker item.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogItemEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "404": {
            "description": "Sticker not found.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          },
          "503": {
            "description": "Catalog unavailable.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/patches/{identifier}": {
      "get": {
        "operationId": "getCatalogPatch",
        "summary": "Get patch by kit id",
        "description": "A patch by its kit id. Same as `GET /catalog/items/patch:{identifier}`.\n",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The patch kit id.",
            "example": "1"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Patch item.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogItemEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "404": {
            "description": "Patch not found.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          },
          "503": {
            "description": "Catalog unavailable.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/sprays/{identifier}": {
      "get": {
        "operationId": "getCatalogSpray",
        "summary": "Get spray by kit id",
        "description": "A spray by its kit id. Same as `GET /catalog/items/spray:{identifier}`.\n",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The spray kit id.",
            "example": "1"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Spray item.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogItemEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "404": {
            "description": "Spray not found.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          },
          "503": {
            "description": "Catalog unavailable.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/charms/{identifier}": {
      "get": {
        "operationId": "getCatalogCharm",
        "summary": "Get charm by index",
        "description": "A charm by its index. Same as `GET /catalog/items/charm:{identifier}`.\n",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The charm index.",
            "example": "1"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Charm item.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogItemEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "404": {
            "description": "Charm not found.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          },
          "503": {
            "description": "Catalog unavailable.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/music/{identifier}": {
      "get": {
        "operationId": "getCatalogMusic",
        "summary": "Get music kit by id",
        "description": "A music kit by its id. Same as `GET /catalog/items/music:{identifier}`.\n",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The music kit id.",
            "example": "1"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Music kit item.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogItemEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "404": {
            "description": "Music kit not found.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          },
          "503": {
            "description": "Catalog unavailable.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/agents/{identifier}": {
      "get": {
        "operationId": "getCatalogAgent",
        "summary": "Get agent by def_index",
        "description": "An agent by its `def_index`. Same as `GET /catalog/items/agent:{identifier}`.\n",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The agent def_index.",
            "example": "1"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Agent item.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogItemEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "404": {
            "description": "Agent not found.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          },
          "503": {
            "description": "Catalog unavailable.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    },
    "/catalog/reels/{identifier}": {
      "get": {
        "operationId": "getCatalogReel",
        "summary": "Get reel (highlight reel) by reel_id",
        "description": "A highlight reel by its `reel_id`. Same as `GET /catalog/items/reel:{identifier}`.\n",
        "tags": [
          "Catalog"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The reel id.",
            "example": "1"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Reel item.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogItemEnvelope"
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/CatalogNotModified"
          },
          "404": {
            "description": "Reel not found.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          },
          "503": {
            "description": "Catalog unavailable.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/CatalogETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/CatalogErrorCacheControl"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogErrorEnvelope"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "parameters": {
      "DefIndex": {
        "name": "def_index",
        "in": "path",
        "required": true,
        "description": "The item's game definition index (weapon or knife type).",
        "schema": {
          "type": "integer",
          "minimum": 0
        },
        "example": 7
      },
      "PaintIndex": {
        "name": "paint_index",
        "in": "path",
        "required": true,
        "description": "The item's paint index (finish, or one Doppler/gem phase of it).",
        "schema": {
          "type": "integer",
          "minimum": 0
        },
        "example": 44
      },
      "SteamId": {
        "name": "steam_id",
        "in": "path",
        "required": true,
        "description": "The guide's Steam Community sharedfile id.",
        "schema": {
          "type": "string",
          "pattern": "^\\d+$"
        },
        "example": "2941982575"
      },
      "Seed": {
        "name": "seed",
        "in": "path",
        "required": true,
        "description": "A pattern seed, from 0 to the item's pattern_max (1000 for skins, 100000 for charms, 422 for other items).",
        "schema": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100000
        },
        "example": 387
      },
      "IfNoneMatch": {
        "name": "If-None-Match",
        "in": "header",
        "required": false,
        "description": "A previously-seen `ETag`, sent back as received (the weak `W/\"...\"`\nform a proxy may hand you matches too), or a comma-separated list of\nthem, or `*`. When it matches the current `dataset_version`, the\nserver returns `304 Not Modified` with no body.\n",
        "schema": {
          "type": "string"
        },
        "example": "\"e9c25a6\""
      }
    },
    "headers": {
      "ETag": {
        "description": "The dataset version, quoted: `\"<dataset_version>\"`. Unchanged until a data change or a fix to how responses are derived changes it.",
        "schema": {
          "type": "string"
        },
        "example": "\"e9c25a6\""
      },
      "CacheControl": {
        "description": "Public cache directive for edges and browsers.",
        "schema": {
          "type": "string"
        },
        "example": "public, max-age=300"
      },
      "RetryAfter": {
        "description": "Seconds to wait before retrying, on a `429`.",
        "schema": {
          "type": "integer"
        },
        "example": 60
      },
      "CatalogETag": {
        "description": "The catalog version, quoted: `\"<catalog_version>\"`. Independent of dataset_version.",
        "schema": {
          "type": "string"
        },
        "example": "\"abc12345\""
      },
      "CatalogCacheControl": {
        "description": "Public cache directive for catalog endpoints (300 seconds).",
        "schema": {
          "type": "string"
        },
        "example": "public, max-age=300"
      },
      "CatalogErrorCacheControl": {
        "description": "No-store for 5xx errors; public, max-age=300 for 4xx.",
        "schema": {
          "type": "string"
        },
        "example": "no-store"
      }
    },
    "responses": {
      "NotModified": {
        "description": "`If-None-Match` matched the current `dataset_version`. No body: reuse the copy you already have.",
        "headers": {
          "ETag": {
            "$ref": "#/components/headers/ETag"
          },
          "Cache-Control": {
            "$ref": "#/components/headers/CacheControl"
          }
        }
      },
      "ValidationError": {
        "description": "A path or query parameter failed type validation (e.g. a non-numeric `def_index`).",
        "headers": {
          "ETag": {
            "$ref": "#/components/headers/ETag"
          },
          "Cache-Control": {
            "$ref": "#/components/headers/CacheControl"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorEnvelope"
            },
            "examples": {
              "invalid_parameters": {
                "summary": "Real response from GET /v1/items/abc/44",
                "value": {
                  "dataset_version": "e9c25a6",
                  "error": {
                    "code": "bad_request",
                    "message": "invalid parameters"
                  }
                }
              }
            }
          }
        }
      },
      "RateLimited": {
        "description": "More than 1000 requests in the last 60 seconds from this client IP.\nCarries `Retry-After` and the CORS headers, but no `ETag` or\n`Cache-Control`. Without `Retry-After`, wait 60 seconds.\n",
        "headers": {
          "Retry-After": {
            "$ref": "#/components/headers/RetryAfter"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorEnvelope"
            },
            "examples": {
              "rate_limited": {
                "summary": "Illustrative (not captured live)",
                "value": {
                  "dataset_version": "e9c25a6",
                  "error": {
                    "code": "rate_limited",
                    "message": "Too many requests"
                  }
                }
              }
            }
          }
        }
      },
      "CatalogNotModified": {
        "description": "`If-None-Match` matched the current `catalog_version`. No body: reuse your cached copy.",
        "headers": {
          "ETag": {
            "$ref": "#/components/headers/CatalogETag"
          },
          "Cache-Control": {
            "$ref": "#/components/headers/CatalogCacheControl"
          }
        }
      }
    },
    "schemas": {
      "HealthOk": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "status"
        ],
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "ok"
            ]
          }
        }
      },
      "HealthError": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "status"
        ],
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "error"
            ]
          }
        }
      },
      "Error": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "not_found",
              "bad_request",
              "rate_limited",
              "internal_error"
            ],
            "description": "Machine-readable error code. `not_found` (404): unknown item,\nguide or system. `bad_request` (400 and 422): a missing,\nmalformed or out-of-range parameter. `rate_limited` (429): see\n`Retry-After`. `internal_error` (503): from `/dump` or `/index`\nwhen a rebuild or decompression fails, or from any endpoint on an\nunexpected server error. Never cached; safe to retry.\n"
          },
          "message": {
            "type": "string",
            "description": "Human-readable detail; its wording may change. Match on `code`."
          }
        },
        "example": {
          "code": "not_found",
          "message": "no item def 7 paint 45"
        }
      },
      "ErrorEnvelope": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "dataset_version",
          "error"
        ],
        "properties": {
          "dataset_version": {
            "$ref": "#/components/schemas/DatasetVersion"
          },
          "error": {
            "$ref": "#/components/schemas/Error"
          }
        }
      },
      "DatasetVersion": {
        "type": "string",
        "description": "Content hash of the loaded data and of the code that derives\nresponses from it, truncated to 7 hex characters. Not a commit sha:\na data change or a fix to a derived field changes it; a formatting,\ndocs or infrastructure deploy does not. Matches the unquoted `ETag`\nvalue.\n",
        "example": "e9c25a6"
      },
      "Permission": {
        "type": "string",
        "enum": [
          "unknown",
          "asked",
          "granted",
          "declined"
        ],
        "description": "Whether the author has granted reuse permission for this guide.\nEvery guide is `\"unknown\"` unless its author has separately agreed.\nNo licence is claimed on guide data either way; attribution (author,\ntitle, Steam link) is always required.\n"
      },
      "Category": {
        "type": "string",
        "enum": [
          "skin",
          "charm"
        ],
        "description": "Whether this item or system is a weapon skin or a charm."
      },
      "ScaleKind": {
        "type": "string",
        "enum": [
          "tier",
          "rank",
          "group",
          "sublevel",
          "band"
        ],
        "description": "How a UI should draw the system, never how to read it: order always\ncomes from `levels` position, best first.\n\n| kind | meaning |\n|---|---|\n| tier | numbered levels, 1 best |\n| rank | a strict order, P1..Pn |\n| group | membership only, no order (one level) |\n| sublevel | named levels without numbers, best first |\n| band | numeric thresholds on a value (e.g. Fade percent bands) |\n"
      },
      "Evidence": {
        "type": "string",
        "enum": [
          "text",
          "caption",
          "image",
          "range"
        ],
        "description": "Where a grading's seed came from: a text list (`text`), an image\ncaption (`caption`), an image with no supporting text\n(`image`, only ever recorded after two independent readings agreed),\nor a charm level whose pattern range contains the seed (`range`).\n"
      },
      "GuideAttribution": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "steam_id",
          "title",
          "authors",
          "url",
          "permission",
          "updated"
        ],
        "description": "The attribution every guide block carries, everywhere a guide appears in a response.",
        "properties": {
          "steam_id": {
            "type": "string",
            "pattern": "^\\d+$",
            "description": "The guide's Steam Community sharedfile id."
          },
          "title": {
            "type": "string",
            "description": "The guide's title",
            "as published.": null
          },
          "authors": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "description": "Author name(s), with any \"and N collaborators\" byline stripped out."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Canonical Steam Community link to the guide."
          },
          "permission": {
            "$ref": "#/components/schemas/Permission"
          },
          "updated": {
            "type": [
              "string",
              "null"
            ],
            "description": "ISO 8601 timestamp of the guide's last edit on Steam, or `null` if Steam reports none."
          }
        },
        "example": {
          "steam_id": "2941982575",
          "title": "AK-47 Case Hardened | Blue Gem",
          "authors": [
            "korenevskiy"
          ],
          "url": "https://steamcommunity.com/sharedfiles/filedetails/?id=2941982575",
          "permission": "unknown",
          "updated": "2026-03-01T13:29:00"
        }
      },
      "Item": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "def_index",
          "paint_index",
          "slug",
          "weapon",
          "finish",
          "paint_label"
        ],
        "description": "Identity of one `(def_index, paint_index)` pair.",
        "properties": {
          "def_index": {
            "type": "integer",
            "minimum": 0,
            "description": "Game definition index (weapon or knife type)."
          },
          "paint_index": {
            "type": "integer",
            "minimum": 0,
            "description": "Paint index (finish",
            "or one phase of it).": null
          },
          "slug": {
            "type": "string",
            "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
            "description": "Item slug. May be shared by several paint indexes (e.g. all `karambit-doppler` phases), so a slug alone is not a query key."
          },
          "weapon": {
            "type": "string",
            "description": "Weapon or knife name, e.g. \"AK-47\", \"Karambit\"."
          },
          "finish": {
            "type": "string",
            "description": "Finish family name, e.g. \"Case Hardened\", \"Doppler\"."
          },
          "paint_label": {
            "type": "string",
            "description": "This paint index's own label within the finish, e.g. \"Phase 2\", \"Ruby\", or the finish name again for a single-paint item."
          },
          "category": {
            "$ref": "#/components/schemas/Category"
          }
        },
        "example": {
          "def_index": 7,
          "paint_index": 44,
          "slug": "ak47-case-hardened",
          "weapon": "AK-47",
          "finish": "Case Hardened",
          "paint_label": "Case Hardened",
          "category": "skin"
        }
      },
      "ItemRef": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "def_index",
          "paint_index",
          "slug"
        ],
        "description": "The reduced item identity used inside `/seeds/{seed}` and\n`/patterns` responses (no `weapon`, `finish` or `paint_label`; fetch\n`/items/{def_index}/{paint_index}` for those).\n",
        "properties": {
          "def_index": {
            "type": "integer",
            "minimum": 0
          },
          "paint_index": {
            "type": "integer",
            "minimum": 0
          },
          "slug": {
            "type": "string",
            "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$"
          }
        },
        "example": {
          "def_index": 7,
          "paint_index": 44,
          "slug": "ak47-case-hardened"
        }
      },
      "GuideMenuSystem": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "label",
          "alias",
          "topic",
          "side",
          "kind",
          "levels",
          "seeds",
          "category"
        ],
        "description": "One system's summary, as listed in an item's guide menu.",
        "properties": {
          "id": {
            "type": "string",
            "description": "The system's id, unique within its guide. Use with `/guides/{steam_id}?system=` or as the `system` key in `/patterns`."
          },
          "label": {
            "type": "string",
            "description": "The author's own name for the system."
          },
          "alias": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string",
              "minLength": 1
            },
            "description": "Other names this same author gives this same system, verbatim, if any."
          },
          "topic": {
            "$ref": "#/components/schemas/Topic"
          },
          "side": {
            "$ref": "#/components/schemas/Side"
          },
          "kind": {
            "$ref": "#/components/schemas/ScaleKind"
          },
          "category": {
            "$ref": "#/components/schemas/Category"
          },
          "levels": {
            "type": "integer",
            "minimum": 0,
            "description": "Number of levels in this system's scale."
          },
          "seeds": {
            "type": "integer",
            "minimum": 0,
            "description": "Number of distinct seeds graded in this system."
          }
        },
        "example": {
          "id": "ak47-blue-gem",
          "label": "AK-47 Blue Gem",
          "alias": null,
          "topic": "blue-gem",
          "side": null,
          "kind": "tier",
          "category": "skin",
          "levels": 4,
          "seeds": 97
        }
      },
      "Topic": {
        "type": "string",
        "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
        "description": "The shared topic id for what this system ranks (e.g. \"blue-gem\", \"fade\"). Every system has exactly one. Groups systems across guides; never merges their scales.",
        "example": "blue-gem"
      },
      "Side": {
        "type": [
          "string",
          "null"
        ],
        "enum": [
          "playside",
          "backside",
          "both",
          null
        ],
        "description": "Which side of the blade this system grades, only where the guide's own title, system label or a verbatim scope statement says so. `null` when the guide does not say, or says both ways in conflict.",
        "example": "backside"
      },
      "GuideMenuEntry": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "steam_id",
          "title",
          "authors",
          "url",
          "permission",
          "updated",
          "systems"
        ],
        "description": "One guide's entry in an item's guide menu: attribution plus the systems it carries for this item.",
        "properties": {
          "steam_id": {
            "type": "string",
            "pattern": "^\\d+$",
            "description": "The guide's Steam Community sharedfile id."
          },
          "title": {
            "type": "string",
            "description": "The guide's title",
            "as published.": null
          },
          "authors": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "description": "Author name(s), with any \"and N collaborators\" byline stripped out."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Canonical Steam Community link to the guide."
          },
          "permission": {
            "$ref": "#/components/schemas/Permission"
          },
          "updated": {
            "type": [
              "string",
              "null"
            ],
            "description": "ISO 8601 timestamp of the guide's last edit on Steam, or `null` if Steam reports none."
          },
          "systems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GuideMenuSystem"
            },
            "description": "This guide's systems that cover the item (narrowed further by `?topic=` when given)."
          }
        }
      },
      "ItemMenu": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "item",
          "guides"
        ],
        "properties": {
          "item": {
            "$ref": "#/components/schemas/Item"
          },
          "guides": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GuideMenuEntry"
            },
            "description": "Every guide covering this item (narrowed by `?topic=` when given); a guide left with no matching system is dropped entirely."
          }
        }
      },
      "ItemMenuEnvelope": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "dataset_version",
          "data"
        ],
        "properties": {
          "dataset_version": {
            "$ref": "#/components/schemas/DatasetVersion"
          },
          "data": {
            "$ref": "#/components/schemas/ItemMenu"
          }
        }
      },
      "MetaCounts": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "items",
          "guides",
          "aliases",
          "systems",
          "gradings"
        ],
        "properties": {
          "items": {
            "type": "integer",
            "minimum": 0,
            "description": "Number of `(def_index",
            "paint_index)` pairs": null,
            "not item files.": null
          },
          "guides": {
            "type": "integer",
            "minimum": 0
          },
          "aliases": {
            "type": "integer",
            "minimum": 0,
            "description": "Number of slug and market-hash-name aliases resolvable via `/resolve`."
          },
          "systems": {
            "type": "integer",
            "minimum": 0
          },
          "gradings": {
            "type": "integer",
            "minimum": 0
          }
        }
      },
      "Meta": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "dataset_version",
          "loaded_at",
          "counts"
        ],
        "properties": {
          "dataset_version": {
            "$ref": "#/components/schemas/DatasetVersion"
          },
          "loaded_at": {
            "type": "string",
            "format": "date-time",
            "description": "When this dataset version was loaded into the serving database."
          },
          "counts": {
            "$ref": "#/components/schemas/MetaCounts"
          }
        }
      },
      "MetaEnvelope": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "dataset_version",
          "data"
        ],
        "properties": {
          "dataset_version": {
            "$ref": "#/components/schemas/DatasetVersion"
          },
          "data": {
            "$ref": "#/components/schemas/Meta"
          }
        }
      },
      "SeedSystemRef": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "label",
          "topic",
          "side",
          "kind",
          "category"
        ],
        "description": "A system, as referenced from a seed verdict.",
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "topic": {
            "$ref": "#/components/schemas/Topic"
          },
          "side": {
            "$ref": "#/components/schemas/Side"
          },
          "kind": {
            "$ref": "#/components/schemas/ScaleKind"
          },
          "category": {
            "$ref": "#/components/schemas/Category"
          }
        }
      },
      "SeedLevelRef": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "key",
          "label",
          "place",
          "of"
        ],
        "description": "The level a seed was placed in, within its own system's own list.",
        "properties": {
          "key": {
            "type": "string",
            "description": "Opaque level identifier",
            "never an ordinal.": null
          },
          "label": {
            "type": "string",
            "description": "The author's own label for the level",
            "as written.": null
          },
          "place": {
            "type": "integer",
            "minimum": 1,
            "description": "1-based position in this system's own level list, best first."
          },
          "of": {
            "type": "integer",
            "minimum": 1,
            "description": "Total number of levels in this system's list. `place`/`of` together read as \"2nd of 4\"."
          }
        }
      },
      "GradingValue": {
        "type": [
          "object",
          "null"
        ],
        "description": "A named measurement the author wrote beside this entry (e.g. a Fade percent), or `null`.",
        "additionalProperties": false,
        "required": [
          "name",
          "value"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "e.g. \"fade_pct\", \"blue_pct\", \"white_pct\"."
          },
          "value": {
            "type": "number"
          }
        },
        "example": {
          "name": "fade_pct",
          "value": 97.0
        }
      },
      "SeedVerdict": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "guide",
          "system",
          "level",
          "rank",
          "equivalent_to",
          "value",
          "evidence",
          "quote"
        ],
        "description": "One seed in one system of one guide.",
        "properties": {
          "guide": {
            "$ref": "#/components/schemas/GuideAttribution"
          },
          "system": {
            "$ref": "#/components/schemas/SeedSystemRef"
          },
          "level": {
            "$ref": "#/components/schemas/SeedLevelRef"
          },
          "rank": {
            "type": [
              "integer",
              "null"
            ],
            "description": "The author's explicit rank within the level (e.g. Phoenix Blacklight's \"P1\"), else `null`."
          },
          "equivalent_to": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000
            },
            "description": "Seed(s) the author explicitly calls one and the same thing as this one, else `null`. Never widened to mere resemblance."
          },
          "value": {
            "$ref": "#/components/schemas/GradingValue"
          },
          "evidence": {
            "$ref": "#/components/schemas/Evidence"
          },
          "quote": {
            "type": "string",
            "description": "The verbatim span this grading was extracted from."
          }
        }
      },
      "SeedNotListed": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "steam_id",
          "system"
        ],
        "description": "A system that covers the item but has no verdict for this seed.",
        "properties": {
          "steam_id": {
            "type": "string",
            "pattern": "^\\d+$"
          },
          "system": {
            "type": "string"
          }
        },
        "example": {
          "steam_id": "3313951742",
          "system": "ak47-gold-gem"
        }
      },
      "Seed": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "item",
          "seed",
          "verdicts",
          "not_listed"
        ],
        "properties": {
          "item": {
            "$ref": "#/components/schemas/ItemRef"
          },
          "seed": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000
          },
          "verdicts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SeedVerdict"
            },
            "description": "One entry per guide-system that grades this seed. A seed listed twice within one system (a recorded `duplicate_seed`) produces two entries here; nothing is deduplicated."
          },
          "not_listed": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SeedNotListed"
            }
          }
        }
      },
      "SeedEnvelope": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "dataset_version",
          "data"
        ],
        "properties": {
          "dataset_version": {
            "$ref": "#/components/schemas/DatasetVersion"
          },
          "data": {
            "$ref": "#/components/schemas/Seed"
          }
        }
      },
      "PatternsLevelRef": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "key",
          "label"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        }
      },
      "PatternsSystem": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "label",
          "topic",
          "side",
          "kind",
          "levels",
          "category"
        ],
        "properties": {
          "label": {
            "type": "string"
          },
          "topic": {
            "$ref": "#/components/schemas/Topic"
          },
          "side": {
            "$ref": "#/components/schemas/Side"
          },
          "kind": {
            "$ref": "#/components/schemas/ScaleKind"
          },
          "category": {
            "$ref": "#/components/schemas/Category"
          },
          "levels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PatternsLevelRef"
            },
            "description": "This system's full level list, best first, given once for the whole response."
          }
        }
      },
      "PatternsGuide": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "title",
          "authors",
          "url",
          "permission",
          "updated",
          "systems"
        ],
        "description": "One guide's details, given once and referenced by `steam_id` from every seed's verdicts.",
        "properties": {
          "title": {
            "type": "string"
          },
          "authors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "permission": {
            "$ref": "#/components/schemas/Permission"
          },
          "updated": {
            "type": [
              "string",
              "null"
            ]
          },
          "systems": {
            "type": "object",
            "description": "Map of `system_id` -> system details, for every system of this guide that covers the item.",
            "additionalProperties": {
              "$ref": "#/components/schemas/PatternsSystem"
            }
          }
        }
      },
      "PatternsVerdict": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "guide",
          "system",
          "level",
          "place",
          "rank",
          "equivalent_to",
          "value"
        ],
        "description": "One seed's grading in the bulk `/patterns` shape: guide and system are id references into `data.guides`.",
        "properties": {
          "guide": {
            "type": "string",
            "description": "`steam_id`, key into `data.guides`."
          },
          "system": {
            "type": "string",
            "description": "`system_id`, key into `data.guides[guide].systems`."
          },
          "level": {
            "type": "string",
            "description": "Level key; look up its label in `data.guides[guide].systems[system].levels`."
          },
          "place": {
            "type": "integer",
            "minimum": 1
          },
          "rank": {
            "type": [
              "integer",
              "null"
            ]
          },
          "equivalent_to": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000
            }
          },
          "value": {
            "$ref": "#/components/schemas/GradingValue"
          }
        }
      },
      "Patterns": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "item",
          "guides",
          "seeds"
        ],
        "properties": {
          "item": {
            "$ref": "#/components/schemas/ItemRef"
          },
          "guides": {
            "type": "object",
            "description": "Map of `steam_id` -> guide and system details, for every guide covering the item.",
            "additionalProperties": {
              "$ref": "#/components/schemas/PatternsGuide"
            }
          },
          "seeds": {
            "type": "object",
            "description": "Map of seed number (as a string key) -> every verdict on that seed. A known item with no covering guide reports `seeds: {}`.",
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/PatternsVerdict"
              }
            }
          }
        }
      },
      "PatternsEnvelope": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "dataset_version",
          "data"
        ],
        "properties": {
          "dataset_version": {
            "$ref": "#/components/schemas/DatasetVersion"
          },
          "data": {
            "$ref": "#/components/schemas/Patterns"
          }
        }
      },
      "Resolve": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "items"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Item"
            },
            "description": "Every `(def_index, paint_index)` pair this slug or market hash name resolves to."
          }
        }
      },
      "ResolveEnvelope": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "dataset_version",
          "data"
        ],
        "properties": {
          "dataset_version": {
            "$ref": "#/components/schemas/DatasetVersion"
          },
          "data": {
            "$ref": "#/components/schemas/Resolve"
          }
        }
      },
      "Dump": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "items",
          "guides"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Item"
            }
          },
          "guides": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Guide"
            },
            "description": "Every guide, each exactly as `GET /guides/{steam_id}` returns it."
          }
        }
      },
      "DumpEnvelope": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "dataset_version",
          "data"
        ],
        "properties": {
          "dataset_version": {
            "$ref": "#/components/schemas/DatasetVersion"
          },
          "data": {
            "$ref": "#/components/schemas/Dump"
          }
        }
      },
      "Index": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "schema",
          "families",
          "guides",
          "systems"
        ],
        "properties": {
          "schema": {
            "type": "integer",
            "enum": [
              1
            ],
            "description": "The payload schema; see the `schema` query parameter."
          },
          "families": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IndexFamily"
            },
            "description": "Every topic family."
          },
          "guides": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IndexGuide"
            },
            "description": "Every guide, in `steam_id` order."
          },
          "systems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IndexSystem"
            },
            "description": "Every system, guide by guide, each guide's in its own order."
          }
        }
      },
      "IndexEnvelope": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "dataset_version",
          "data"
        ],
        "properties": {
          "dataset_version": {
            "$ref": "#/components/schemas/DatasetVersion"
          },
          "data": {
            "$ref": "#/components/schemas/Index"
          }
        }
      },
      "IndexColours": {
        "type": "array",
        "minItems": 1,
        "items": {
          "type": "string",
          "pattern": "^#[0-9a-fA-F]{6}$"
        },
        "description": "CSS hex colours, one or more; `colours` for dark backgrounds, `colours_light` for light ones."
      },
      "IndexSide": {
        "type": "string",
        "enum": [
          "playside",
          "backside",
          "both"
        ],
        "description": "Which side of the blade, only where the guide's own words say so (see `Side`). Left out when unknown; on a level, only where it differs from its system's."
      },
      "IndexFamily": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "glyph",
          "colours",
          "colours_light"
        ],
        "description": "A topic (what a system ranks, e.g. Blue Gem) and how to draw it. `colours[0]` is always the family colour; later colours depend on the glyph (pattern colours for `split`, `bands` and `fade-diagonal`; a contrast tone for `rim`).",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/Topic"
          },
          "name": {
            "type": "string"
          },
          "glyph": {
            "type": "string",
            "description": "The family's icon name (e.g. `brilliant`). A consumer that does not know it draws `fallback` if present, else a brilliant in `colours[0]`."
          },
          "fallback": {
            "type": "string",
            "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
            "maxLength": 24,
            "description": "Optional, additive in schema 1. The base glyph to draw when `glyph` is unknown: present exactly when `glyph` is not a base glyph (one every TrueFloat 1.0 build draws), and always a base glyph."
          },
          "colours": {
            "$ref": "#/components/schemas/IndexColours"
          },
          "colours_light": {
            "$ref": "#/components/schemas/IndexColours"
          },
          "display": {
            "type": "string",
            "description": "Optional. Display text, when it differs from `name`."
          }
        }
      },
      "IndexGuide": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "steam_id",
          "title",
          "authors"
        ],
        "properties": {
          "steam_id": {
            "type": "string",
            "pattern": "^\\d{6,12}$"
          },
          "title": {
            "type": "string"
          },
          "authors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "display": {
            "type": "string",
            "description": "Optional. Display text: the first author, cleaned, plus `+N` for co-authors; when it differs from `authors[0]`."
          },
          "display_sub": {
            "type": "string",
            "description": "Optional. Display text: what the title says beyond the item and filler."
          }
        }
      },
      "IndexSystem": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "guide",
          "family",
          "label",
          "kind",
          "items",
          "levels",
          "category"
        ],
        "properties": {
          "guide": {
            "type": "integer",
            "minimum": 0,
            "description": "Index into `guides`."
          },
          "family": {
            "type": "integer",
            "minimum": 0,
            "description": "Index into `families`."
          },
          "label": {
            "type": "string",
            "description": "The system's label as the guide writes it."
          },
          "kind": {
            "$ref": "#/components/schemas/ScaleKind"
          },
          "category": {
            "$ref": "#/components/schemas/Category"
          },
          "items": {
            "type": "array",
            "minItems": 1,
            "description": "`[def_index, paint_index]` pairs this system grades, ascending: the paints the guide names, or every paint of its item.",
            "items": {
              "type": "array",
              "minItems": 2,
              "maxItems": 2,
              "items": {
                "type": "integer",
                "minimum": 0
              }
            }
          },
          "levels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IndexLevel"
            },
            "description": "Best first."
          },
          "side": {
            "$ref": "#/components/schemas/IndexSide"
          },
          "definition": {
            "type": "string",
            "description": "Optional. The guide's own definition of the system, verbatim."
          },
          "colours": {
            "$ref": "#/components/schemas/IndexColours"
          },
          "colours_light": {
            "$ref": "#/components/schemas/IndexColours"
          },
          "display": {
            "type": "string",
            "description": "Optional. Display text, when it differs from `label`, which stays the guide's own words."
          },
          "display_note": {
            "type": "string",
            "description": "Optional. Display text: a short muted aside to `display`."
          }
        }
      },
      "IndexLevel": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "key",
          "label",
          "n",
          "seeds"
        ],
        "properties": {
          "key": {
            "type": "string",
            "description": "The level key as transcribed; `top` and `second` sit above the guide's own scale."
          },
          "label": {
            "type": "string",
            "description": "The level's label as the guide writes it."
          },
          "n": {
            "type": "integer",
            "minimum": 0,
            "description": "Distinct seeds in `seeds`."
          },
          "seeds": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000
            },
            "description": "In the guide's grading order; a seed the guide lists twice appears twice."
          },
          "side": {
            "$ref": "#/components/schemas/IndexSide"
          },
          "definition": {
            "type": "string",
            "description": "Optional. The guide's own definition of the level, verbatim."
          },
          "caption": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000
            },
            "description": "Optional. The seeds whose grading comes from an image caption."
          },
          "ranked": {
            "type": "array",
            "description": "Optional. `[seed, rank]` for the gradings that carry a rank.",
            "items": {
              "type": "array",
              "minItems": 2,
              "maxItems": 2,
              "items": {
                "type": "integer"
              }
            }
          },
          "ordered": {
            "type": "boolean",
            "const": true,
            "description": "Optional, `true` when present. The guide says this level's seeds are ranked in list order, so `seeds` is the author's order, best first. Copied from the guide file's level, never inferred; absent otherwise."
          },
          "patterns": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            },
            "description": "Optional. For charm systems, the pattern seed numbers graded in this level."
          },
          "range": {
            "type": "array",
            "minItems": 2,
            "maxItems": 2,
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            },
            "description": "Optional. For charm levels, the pattern range [from, to] inclusive this level covers."
          },
          "display": {
            "type": "string",
            "description": "Optional. Display text, when it differs from `label`, which stays the guide's own words."
          },
          "display_note": {
            "type": "string",
            "description": "Optional. Display text: a short muted aside to `display`."
          },
          "display_row": {
            "type": "string",
            "description": "Optional, only on the one level of a one-level system: the single row that system reads as when it differs from the system's text (e.g. `Black Gem #1`, `Full Fade`); absent means the system's text alone."
          },
          "names": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "Optional. Only on the level of a nickname system: seed (as a string) to the author's nickname for it, verbatim."
          },
          "names_display": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "Optional. The `names` entries whose display text differs (crude words censored)."
          }
        }
      },
      "Quoted": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "quote"
        ],
        "description": "A verbatim span from the guide's frozen snapshot.",
        "properties": {
          "quote": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "Snapshot": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "path",
          "retrieved_at",
          "sha256"
        ],
        "description": "Provenance of the frozen snapshot this guide was transcribed from. Snapshots are immutable.",
        "properties": {
          "path": {
            "type": "string",
            "description": "Repo-relative path, e.g. \"sources/2941982575\"."
          },
          "retrieved_at": {
            "type": "string",
            "description": "ISO 8601 timestamp of the fetch."
          },
          "sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          }
        }
      },
      "RelatedGuide": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "steam_id",
          "quote"
        ],
        "description": "A companion guide this one links to. Linking never reconciles the two guides' gradings, here or anywhere else.",
        "properties": {
          "steam_id": {
            "type": "string",
            "pattern": "^\\d+$"
          },
          "quote": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "Remark": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "quote"
        ],
        "description": "An author statement (licensing, update promise, comparison) that isn't a system definition or an item claim.",
        "properties": {
          "quote": {
            "type": "string",
            "minLength": 1
          },
          "note": {
            "type": "string",
            "minLength": 1,
            "description": "Our gloss on why this was recorded",
            "never guide text.": null
          },
          "system": {
            "type": [
              "string",
              "null"
            ],
            "description": "The system this remark is scoped to, or `null` for a guide-wide remark."
          }
        }
      },
      "ItemClaim": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "quote"
        ],
        "description": "A fact the guide's author asserts about the item itself (finish\ndescription, float behaviour, a naming claim) rather than about\nthe author's own ranking of it. Stored verbatim, never applied:\nitem identity never comes from a guide.\n",
        "properties": {
          "quote": {
            "type": "string",
            "minLength": 1
          },
          "note": {
            "type": "string",
            "minLength": 1
          },
          "system": {
            "type": [
              "string",
              "null"
            ]
          },
          "alias": {
            "type": "string",
            "minLength": 1,
            "description": "A name the author claims for the finish, e.g. \"Marble Fade\"."
          }
        }
      },
      "CompletenessClaim": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": false,
        "description": "The author's own completeness claim for the guide, a system, or a\ncallout: one quote, present only when the author made the claim.\n`complete` and `incomplete` are independent fields (both may be\n`null`); together they decide what \"not listed\" means for that\nscope.\n",
        "required": [
          "quote"
        ],
        "properties": {
          "quote": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "GuideLevelBest": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "seed",
          "quote"
        ],
        "properties": {
          "seed": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000
          },
          "quote": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "UnverifiedReading": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "image",
          "seed"
        ],
        "description": "An image-only seed reading not yet confirmed by a second independent read.",
        "properties": {
          "image": {
            "type": "string",
            "minLength": 1
          },
          "seed": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000
          }
        }
      },
      "GuideLevel": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "key",
          "label",
          "ordered"
        ],
        "description": "A named place in a system's scale, in the guide's order, best first.\nArray position is the only ordering signal; `key` is opaque and never\nan ordinal.\n",
        "properties": {
          "key": {
            "type": "string",
            "minLength": 1
          },
          "label": {
            "type": "string",
            "minLength": 1,
            "description": "The author's own label",
            "as written.": null
          },
          "definition": {
            "$ref": "#/components/schemas/Quoted"
          },
          "ordered": {
            "type": "boolean",
            "description": "Whether the guide states that seeds within this level are themselves ranked."
          },
          "ordered_quote": {
            "type": [
              "string",
              "null"
            ],
            "description": "The sentence `ordered` was read from, whichever way it reads. Present whenever `ordered` was decided from text."
          },
          "best": {
            "$ref": "#/components/schemas/GuideLevelBest"
          },
          "best_seeds": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000
            },
            "description": "Every seed named in `best.quote`, in order; `best.seed` is `best_seeds[0]`. Present whenever `best` is."
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "gradings": {
            "type": "null",
            "description": "Present and always `null`; marks an image-only level. The level's actual gradings live in the system's flat `gradings` array, evidenced `image` or `caption`."
          },
          "unverified_readings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UnverifiedReading"
            }
          }
        }
      },
      "Grading": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "seed",
          "level",
          "quote"
        ],
        "description": "One seed under one system.",
        "properties": {
          "seed": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000
          },
          "level": {
            "type": "string",
            "minLength": 1,
            "description": "The level's `key`."
          },
          "rank": {
            "type": "integer",
            "minimum": 1,
            "description": "The author's explicit rank, from the guide's top-level ranked list or an interleaved ordinal span. See `rank_scope`."
          },
          "rank_scope": {
            "type": "string",
            "enum": [
              "level",
              "guide"
            ],
            "description": "Scope `rank` was assigned at. `level`: from an ordinal\nwritten inside one level's own span (\"#1 37 #2 753\"), so the\nrank compares only within that level. Absent (guide-scope):\nfrom the guide's top-level ranked list, and comparable\nacross the whole guide; only valid when the seed is graded\nin exactly one level.\n"
          },
          "position": {
            "type": "integer",
            "minimum": 0,
            "description": "Index of this seed within its quoted span",
            "for bare ordered lists (e.g. Solitude).": null
          },
          "equivalent_to": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000
            },
            "description": "Seed(s) the author explicitly calls one and the same thing as this one."
          },
          "value": {
            "$ref": "#/components/schemas/GradingValue"
          },
          "note": {
            "$ref": "#/components/schemas/Quoted"
          },
          "quote": {
            "type": [
              "string",
              "null"
            ],
            "description": "The verbatim span this grading was extracted from; `null` only for an image-only grading with no caption text."
          },
          "image": {
            "type": "string",
            "minLength": 1,
            "description": "Image file this grading's evidence came from",
            "when `evidence` is `caption` or `image`.": null
          },
          "evidence": {
            "$ref": "#/components/schemas/Evidence"
          }
        }
      },
      "Callout": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "kind",
          "label"
        ],
        "description": "Something outside the scale (an exclusion, an illustrative example, a mention), kept separate from gradings.",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "exclusion",
              "mention",
              "common",
              "example"
            ],
            "description": "`exclusion`: the author's explicit negatives (\"fake diamond\").\n`example`: illustrates a category, real-vs-fake. `mention`:\nan honorable mention, outside the scale. `common`: a baseline\n\"common patterns\" section, image-only.\n"
          },
          "label": {
            "type": "string",
            "minLength": 1
          },
          "quote": {
            "type": [
              "string",
              "null"
            ]
          },
          "system": {
            "type": [
              "string",
              "null"
            ],
            "description": "System this callout belongs to",
            "or `null` when author-unassigned.": null
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "note": {
            "type": "string",
            "minLength": 1
          },
          "definition": {
            "$ref": "#/components/schemas/Quoted"
          },
          "incomplete": {
            "$ref": "#/components/schemas/CompletenessClaim"
          },
          "complete": {
            "$ref": "#/components/schemas/CompletenessClaim"
          }
        }
      },
      "GuideSystemScale": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "kind"
        ],
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/ScaleKind"
          },
          "best": {
            "type": "integer",
            "description": "Best-scoring bound, when known."
          },
          "worst": {
            "type": "integer",
            "description": "Worst-scoring bound, when known."
          },
          "definition": {
            "$ref": "#/components/schemas/Quoted"
          }
        }
      },
      "StatedCount": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "value",
          "quote"
        ],
        "description": "The count the author states for a system, kept alongside the count actually found (see `count_mismatch` discrepancies) rather than reconciled.",
        "properties": {
          "value": {
            "type": "integer",
            "minimum": 0
          },
          "quote": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "GuideSystem": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "label",
          "item",
          "paint_indexes",
          "scale",
          "levels",
          "gradings"
        ],
        "description": "One ranking dimension of this guide, about one target, as returned inside a `Guide` document.",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Unique within the guide."
          },
          "label": {
            "type": "string",
            "minLength": 1,
            "description": "The author's own name for the system."
          },
          "alias": {
            "type": "array",
            "minItems": 1,
            "uniqueItems": true,
            "items": {
              "type": "string",
              "minLength": 1
            },
            "description": "Other names this same author gives this same system, verbatim."
          },
          "item": {
            "type": "string",
            "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
            "description": "The item slug this system targets."
          },
          "paint_indexes": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "integer",
              "minimum": 0
            },
            "minItems": 1,
            "description": "A subset of the item's paint indexes this system narrows to, or `null` for all of them."
          },
          "definition": {
            "$ref": "#/components/schemas/Quoted"
          },
          "scale": {
            "$ref": "#/components/schemas/GuideSystemScale"
          },
          "stated_count": {
            "$ref": "#/components/schemas/StatedCount"
          },
          "incomplete": {
            "$ref": "#/components/schemas/CompletenessClaim"
          },
          "complete": {
            "$ref": "#/components/schemas/CompletenessClaim"
          },
          "remarks": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 1
                },
                {
                  "$ref": "#/components/schemas/Remark"
                }
              ]
            }
          },
          "levels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GuideLevel"
            },
            "description": "Ordered best first. A `group` system has exactly one level, keyed with the author's own section name."
          },
          "gradings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Grading"
            }
          }
        }
      },
      "DiscrepancyDuplicateSeed": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "kind",
          "seed",
          "where"
        ],
        "description": "A seed listed twice, within a system or across two, kept as two gradings.",
        "properties": {
          "kind": {
            "type": "string",
            "const": "duplicate_seed"
          },
          "seed": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000
          },
          "where": {
            "type": "array",
            "minItems": 2,
            "items": {
              "type": "string",
              "minLength": 1
            },
            "description": "`system:level` locations the seed appears in."
          }
        }
      },
      "DiscrepancyCountMismatch": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "kind",
          "system",
          "stated",
          "found"
        ],
        "description": "The author's stated count for a system doesn't match the count actually transcribed.",
        "properties": {
          "kind": {
            "type": "string",
            "const": "count_mismatch"
          },
          "system": {
            "type": "string",
            "minLength": 1
          },
          "stated": {
            "type": "integer",
            "minimum": 0
          },
          "found": {
            "type": "integer",
            "minimum": 0
          }
        }
      },
      "DiscrepancyUnparseable": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "kind",
          "quote",
          "system"
        ],
        "description": "A quoted span that could not be turned into seed(s).",
        "properties": {
          "kind": {
            "type": "string",
            "const": "unparseable"
          },
          "quote": {
            "type": "string",
            "minLength": 1
          },
          "system": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "DiscrepancyProseContradiction": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "kind",
          "quote_a",
          "quote_b"
        ],
        "description": "Two spans in the same guide that contradict each other, neither corrected.",
        "properties": {
          "kind": {
            "type": "string",
            "const": "prose_contradiction"
          },
          "quote_a": {
            "type": "string",
            "minLength": 1
          },
          "quote_b": {
            "type": "string",
            "minLength": 1
          },
          "note": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "DiscrepancyCaptionVsList": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "kind",
          "seed",
          "quote_caption"
        ],
        "description": "An image caption shows a seed under a different level than its text list does.",
        "properties": {
          "kind": {
            "type": "string",
            "const": "caption_vs_list"
          },
          "seed": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000
          },
          "quote_caption": {
            "type": "string",
            "minLength": 1
          },
          "listed_under": {
            "type": [
              "string",
              "null"
            ]
          },
          "shown_under": {
            "type": "string",
            "minLength": 1
          },
          "quote_list": {
            "type": "string",
            "minLength": 1
          },
          "nearest_level": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "DiscrepancyCaptionUnlisted": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "kind",
          "seed",
          "quote_caption",
          "graded_under"
        ],
        "description": "A seed shown and labelled in an image, graded under that image's level, but never written in any text list.",
        "properties": {
          "kind": {
            "type": "string",
            "const": "caption_unlisted"
          },
          "seed": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000
          },
          "quote_caption": {
            "type": "string",
            "minLength": 1
          },
          "graded_under": {
            "type": "string",
            "minLength": 1
          },
          "note": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "DiscrepancyImageReused": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "kind",
          "image",
          "captions"
        ],
        "description": "One image file (byte-identical) captioned with two different seeds elsewhere in the guide. The text lists decide gradings; nothing is added, removed or moved because of this.",
        "properties": {
          "kind": {
            "type": "string",
            "const": "image_reused"
          },
          "image": {
            "type": "string",
            "minLength": 1
          },
          "captions": {
            "type": "array",
            "minItems": 2,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "seed",
                "quote_caption"
              ],
              "properties": {
                "seed": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 1000
                },
                "quote_caption": {
                  "type": "string",
                  "minLength": 1
                }
              }
            }
          },
          "note": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "Discrepancy": {
        "description": "An internal inconsistency in the guide (a stated count that\ndoesn't match, a seed listed twice, a typo, two contradicting\nsentences), recorded, not corrected. `kind` says which shape\napplies.\n",
        "oneOf": [
          {
            "$ref": "#/components/schemas/DiscrepancyDuplicateSeed"
          },
          {
            "$ref": "#/components/schemas/DiscrepancyCountMismatch"
          },
          {
            "$ref": "#/components/schemas/DiscrepancyUnparseable"
          },
          {
            "$ref": "#/components/schemas/DiscrepancyProseContradiction"
          },
          {
            "$ref": "#/components/schemas/DiscrepancyCaptionVsList"
          },
          {
            "$ref": "#/components/schemas/DiscrepancyCaptionUnlisted"
          },
          {
            "$ref": "#/components/schemas/DiscrepancyImageReused"
          }
        ],
        "discriminator": {
          "propertyName": "kind",
          "mapping": {
            "duplicate_seed": "#/components/schemas/DiscrepancyDuplicateSeed",
            "count_mismatch": "#/components/schemas/DiscrepancyCountMismatch",
            "unparseable": "#/components/schemas/DiscrepancyUnparseable",
            "prose_contradiction": "#/components/schemas/DiscrepancyProseContradiction",
            "caption_vs_list": "#/components/schemas/DiscrepancyCaptionVsList",
            "caption_unlisted": "#/components/schemas/DiscrepancyCaptionUnlisted",
            "image_reused": "#/components/schemas/DiscrepancyImageReused"
          }
        }
      },
      "UnassignedReview": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": false,
        "required": [
          "reviewed_by",
          "reviewed_at",
          "count"
        ],
        "description": "Record that every unassigned number in this guide's snapshot was classified during transcription.",
        "properties": {
          "reviewed_by": {
            "type": "string",
            "minLength": 1
          },
          "reviewed_at": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "count": {
            "type": "integer",
            "minimum": 0
          }
        }
      },
      "Guide": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "schema",
          "steam_id",
          "title",
          "authors",
          "url",
          "posted",
          "updated",
          "snapshot",
          "permission",
          "incomplete",
          "notes",
          "systems",
          "discrepancies"
        ],
        "description": "The whole guide, exactly as stored and returned by\n`GET /guides/{steam_id}`. Contradictions, typos and mismatched counts\nare kept, not fixed; see `discrepancies`.\n",
        "properties": {
          "schema": {
            "type": "string",
            "pattern": "^\\d+\\.\\d+\\.\\d+$",
            "description": "Version of the transcription format this file follows."
          },
          "steam_id": {
            "type": "string",
            "pattern": "^\\d+$"
          },
          "title": {
            "type": "string"
          },
          "authors": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "collaborators": {
            "type": "integer",
            "minimum": 0,
            "description": "Count from a trailing \"and N collaborators\" byline",
            "stripped out of `authors`.": null
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "posted": {
            "type": [
              "string",
              "null"
            ],
            "description": "ISO date or date-time the guide was posted, or `null`."
          },
          "updated": {
            "type": [
              "string",
              "null"
            ],
            "description": "ISO date or date-time of the guide's last edit, or `null`."
          },
          "snapshot": {
            "$ref": "#/components/schemas/Snapshot"
          },
          "permission": {
            "$ref": "#/components/schemas/Permission"
          },
          "permission_quote": {
            "type": [
              "string",
              "null"
            ],
            "description": "The author's own reuse statement, verbatim, if any."
          },
          "incomplete": {
            "$ref": "#/components/schemas/CompletenessClaim"
          },
          "complete": {
            "$ref": "#/components/schemas/CompletenessClaim"
          },
          "related_guides": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RelatedGuide"
            }
          },
          "remarks": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 1
                },
                {
                  "$ref": "#/components/schemas/Remark"
                }
              ]
            }
          },
          "item_claims": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 1
                },
                {
                  "$ref": "#/components/schemas/ItemClaim"
                }
              ]
            }
          },
          "notes": {
            "type": "string",
            "description": "Our notes; never guide text."
          },
          "systems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GuideSystem"
            }
          },
          "callouts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Callout"
            }
          },
          "discrepancies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Discrepancy"
            }
          },
          "unassigned_review": {
            "$ref": "#/components/schemas/UnassignedReview"
          }
        }
      },
      "GuideEnvelope": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "dataset_version",
          "data"
        ],
        "properties": {
          "dataset_version": {
            "$ref": "#/components/schemas/DatasetVersion"
          },
          "data": {
            "$ref": "#/components/schemas/Guide"
          }
        }
      },
      "CatalogVersion": {
        "type": "string",
        "example": "abc12345",
        "description": "Content hash identifying this catalog's version. Independent of dataset_version. Changes when catalog data changes."
      },
      "CatalogErrorEnvelope": {
        "type": "object",
        "description": "Error response from a catalog endpoint: the catalog_version and an error object (code, message).",
        "additionalProperties": false,
        "required": [
          "catalog_version",
          "error"
        ],
        "properties": {
          "catalog_version": {
            "$ref": "#/components/schemas/CatalogVersion"
          },
          "error": {
            "$ref": "#/components/schemas/Error"
          }
        }
      },
      "CatalogMetaEnvelope": {
        "type": "object",
        "description": "GET /catalog/meta.",
        "additionalProperties": false,
        "required": [
          "catalog_version",
          "data"
        ],
        "properties": {
          "catalog_version": {
            "$ref": "#/components/schemas/CatalogVersion"
          },
          "data": {
            "$ref": "#/components/schemas/CatalogMeta"
          }
        }
      },
      "CatalogMeta": {
        "type": "object",
        "description": "Catalog metadata: counts, build info of the game files the catalog was built from, and the build's own bookkeeping.",
        "additionalProperties": false,
        "required": [
          "counts",
          "game",
          "issues",
          "kinds",
          "schema",
          "catalog_version"
        ],
        "properties": {
          "attendance_pins": {
            "type": "integer",
            "description": "Number of attendance pins."
          },
          "collection_skins": {
            "type": "object",
            "description": "Counts of collection-only skins and of StatTrak through collections.",
            "additionalProperties": false,
            "required": [
              "collection_only",
              "skins",
              "stattrak_collections",
              "stattrak_via_collection"
            ],
            "properties": {
              "collection_only": {
                "type": "integer"
              },
              "skins": {
                "type": "integer"
              },
              "stattrak_collections": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "stattrak_via_collection": {
                "type": "integer"
              }
            }
          },
          "counts": {
            "type": "object",
            "description": "Sizes of the catalog.",
            "additionalProperties": false,
            "required": [
              "collections",
              "containers",
              "events",
              "items",
              "items_by_kind",
              "pools",
              "souvenir_events",
              "sticker_kits"
            ],
            "properties": {
              "collections": {
                "type": "integer"
              },
              "containers": {
                "type": "integer"
              },
              "events": {
                "type": "integer",
                "description": "Number of tournament events."
              },
              "items": {
                "type": "integer"
              },
              "items_by_kind": {
                "type": "object",
                "description": "Count of items by kind.",
                "additionalProperties": false,
                "required": [
                  "agent",
                  "charm",
                  "item",
                  "music",
                  "patch",
                  "reel",
                  "skin",
                  "spray",
                  "sticker"
                ],
                "properties": {
                  "agent": {
                    "type": "integer"
                  },
                  "charm": {
                    "type": "integer"
                  },
                  "item": {
                    "type": "integer"
                  },
                  "music": {
                    "type": "integer"
                  },
                  "patch": {
                    "type": "integer"
                  },
                  "reel": {
                    "type": "integer"
                  },
                  "skin": {
                    "type": "integer"
                  },
                  "spray": {
                    "type": "integer"
                  },
                  "sticker": {
                    "type": "integer"
                  }
                }
              },
              "pools": {
                "type": "integer",
                "description": "Number of pools."
              },
              "souvenir_events": {
                "type": "integer",
                "description": "Number of events with souvenir data."
              },
              "sticker_kits": {
                "type": "integer",
                "description": "Number of sticker kits."
              }
            }
          },
          "default_agents": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "Default agent def_indexes."
          },
          "explained": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "Known gaps, keyed by container or item id, each with the reason. OPEN map: the keys are ids."
          },
          "game": {
            "type": "object",
            "description": "Build information of the game files. OPEN object: the builder may add keys (see Open objects in API.md).",
            "additionalProperties": {
              "type": "string"
            },
            "required": [
              "build_id",
              "items_game_sha256",
              "mirror_commit",
              "patch_version"
            ],
            "properties": {
              "build_id": {
                "type": "string"
              },
              "items_game_sha256": {
                "type": "string",
                "description": "SHA256 of items_game.txt."
              },
              "mirror_commit": {
                "type": "string"
              },
              "patch_version": {
                "type": "string"
              }
            }
          },
          "graffiti_sealed": {
            "type": "object",
            "description": "How sealed graffiti market hash names are built.",
            "additionalProperties": false,
            "required": [
              "prefix",
              "tint_suffix"
            ],
            "properties": {
              "prefix": {
                "type": "string"
              },
              "tint_suffix": {
                "type": "string"
              }
            }
          },
          "graffiti_tints": {
            "type": "array",
            "description": "Graffiti tint definitions.",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "hex",
                "id",
                "key",
                "name"
              ],
              "properties": {
                "hex": {
                  "type": "string"
                },
                "id": {
                  "type": "integer"
                },
                "key": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              }
            }
          },
          "issues": {
            "type": "object",
            "description": "Build issue accounting: count, count by type, first examples.",
            "additionalProperties": false,
            "required": [
              "by_type",
              "count",
              "examples"
            ],
            "properties": {
              "by_type": {
                "type": "object",
                "additionalProperties": {
                  "type": "integer"
                },
                "description": "Issue count per issue type. OPEN map: the keys are issue types."
              },
              "count": {
                "type": "integer"
              },
              "examples": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          "kinds": {
            "type": "object",
            "description": "Number of containers per container kind.",
            "additionalProperties": false,
            "required": [
              "armory_pack",
              "autograph_capsule",
              "collection_package",
              "gift",
              "graffiti_box",
              "graffiti_pack",
              "highlight_pack",
              "music_kit_box",
              "operation_reward",
              "patch_pack",
              "pin_capsule",
              "souvenir_package",
              "sticker_capsule",
              "terminal",
              "weapon_case"
            ],
            "properties": {
              "armory_pack": {
                "type": "integer"
              },
              "autograph_capsule": {
                "type": "integer"
              },
              "collection_package": {
                "type": "integer"
              },
              "gift": {
                "type": "integer"
              },
              "graffiti_box": {
                "type": "integer"
              },
              "graffiti_pack": {
                "type": "integer"
              },
              "highlight_pack": {
                "type": "integer"
              },
              "music_kit_box": {
                "type": "integer"
              },
              "operation_reward": {
                "type": "integer"
              },
              "patch_pack": {
                "type": "integer"
              },
              "pin_capsule": {
                "type": "integer"
              },
              "souvenir_package": {
                "type": "integer"
              },
              "sticker_capsule": {
                "type": "integer"
              },
              "terminal": {
                "type": "integer"
              },
              "weapon_case": {
                "type": "integer"
              }
            }
          },
          "removed_skins": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Keys of skins removed from the game."
          },
          "schema": {
            "type": "integer"
          },
          "skin_phases": {
            "type": "object",
            "description": "Doppler phase information.",
            "additionalProperties": false,
            "required": [
              "labels",
              "skins"
            ],
            "properties": {
              "labels": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "skins": {
                "type": "integer"
              }
            }
          },
          "catalog_version": {
            "$ref": "#/components/schemas/CatalogVersion"
          }
        }
      },
      "CatalogIndexEnvelope": {
        "$ref": "#/components/schemas/CatalogIndex"
      },
      "CatalogIndex": {
        "type": "object",
        "description": "The whole catalog in one compact response (schema 1). The global item index used by `loot`, `pools`, collection `items` and `no_stattrak` is the position in the concatenation of `items` lists in the fixed kind order skin, sticker, patch, spray, charm, music, item, agent, reel.",
        "additionalProperties": false,
        "required": [
          "catalog_version",
          "collections",
          "containers",
          "game",
          "items",
          "no_stattrak",
          "pools",
          "schema",
          "tiers"
        ],
        "properties": {
          "catalog_version": {
            "$ref": "#/components/schemas/CatalogVersion"
          },
          "collections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogIndexCollection"
            }
          },
          "containers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogIndexContainer"
            }
          },
          "events": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogIndexEvent"
            },
            "description": "Events with souvenir data. Each event is [id, name, short, year, [event_kit_ids], [[team, kit_id], ...], [[team, player, kit_id], ...]]."
          },
          "game": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "build_id",
              "patch_version"
            ],
            "properties": {
              "build_id": {
                "type": "string"
              },
              "patch_version": {
                "type": "string"
              }
            }
          },
          "items": {
            "$ref": "#/components/schemas/CatalogIndexItems",
            "description": "Columnar items grouped by kind."
          },
          "no_stattrak": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "Global item indexes of skins that have no StatTrak variant."
          },
          "pools": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "integer"
              }
            },
            "description": "Pool name to the global item indexes of its entries. OPEN map: the keys are pool names."
          },
          "schema": {
            "type": "integer"
          },
          "tiers": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "common",
                "uncommon",
                "rare",
                "mythical",
                "legendary",
                "ancient",
                "unusual"
              ]
            },
            "description": "Tier names in index order; a tier index in `loot` and collection `items` points here, -1 for no tier."
          }
        }
      },
      "CatalogIndexItems": {
        "type": "object",
        "description": "Items encoding per kind. skin: [def_index, paint_index, name, market_hash_name?]; sticker, patch, spray: [kit_id, name, market_hash_name?]; charm: [index, name, market_hash_name?]; music: [id, name, market_hash_name?]; agent, item: [def_index, name, market_hash_name?]; reel: [reel_id, name, market_hash_name?]. The last element, a market_hash_name, is present only when it differs from the default for the kind (sticker `Sticker | <name>`, patch `Patch | <name>`, charm `Charm | <name>`, music kit `Music Kit | <name>`; the other kinds have no default and carry it whenever the record has one). Tuple lengths: skin: 3 to 4 elements; sticker, patch, spray, charm, music, agent, reel, item: 2 to 3 elements.",
        "additionalProperties": false,
        "properties": {
          "agent": {
            "type": "array",
            "items": {
              "type": "array",
              "prefixItems": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "string"
                }
              ],
              "minItems": 2,
              "maxItems": 3
            }
          },
          "charm": {
            "type": "array",
            "items": {
              "type": "array",
              "prefixItems": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "string"
                }
              ],
              "minItems": 2,
              "maxItems": 3
            }
          },
          "item": {
            "type": "array",
            "items": {
              "type": "array",
              "prefixItems": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "string"
                }
              ],
              "minItems": 2,
              "maxItems": 3
            }
          },
          "music": {
            "type": "array",
            "items": {
              "type": "array",
              "prefixItems": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "string"
                }
              ],
              "minItems": 2,
              "maxItems": 3
            }
          },
          "patch": {
            "type": "array",
            "items": {
              "type": "array",
              "prefixItems": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "string"
                }
              ],
              "minItems": 2,
              "maxItems": 3
            }
          },
          "reel": {
            "type": "array",
            "items": {
              "type": "array",
              "prefixItems": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "string"
                }
              ],
              "minItems": 2,
              "maxItems": 3
            }
          },
          "skin": {
            "type": "array",
            "items": {
              "type": "array",
              "prefixItems": [
                {
                  "type": "integer"
                },
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "string"
                }
              ],
              "minItems": 3,
              "maxItems": 4
            }
          },
          "spray": {
            "type": "array",
            "items": {
              "type": "array",
              "prefixItems": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "string"
                }
              ],
              "minItems": 2,
              "maxItems": 3
            }
          },
          "sticker": {
            "type": "array",
            "items": {
              "type": "array",
              "prefixItems": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "string"
                }
              ],
              "minItems": 2,
              "maxItems": 3
            }
          }
        }
      },
      "CatalogIndexContainer": {
        "type": "object",
        "description": "A container in the index. `loot` is a list of [tier_index, [global item indexes]].",
        "additionalProperties": false,
        "required": [
          "event",
          "first_sale",
          "id",
          "kind",
          "loot",
          "name",
          "pool",
          "set",
          "variants"
        ],
        "properties": {
          "event": {
            "type": [
              "integer",
              "null"
            ]
          },
          "first_sale": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "enum": [
              "armory_pack",
              "autograph_capsule",
              "charm_capsule",
              "collection_package",
              "gift",
              "graffiti_box",
              "graffiti_pack",
              "highlight_pack",
              "music_kit_box",
              "operation_reward",
              "other",
              "patch_pack",
              "pin_capsule",
              "souvenir_package",
              "sticker_capsule",
              "terminal",
              "weapon_case"
            ]
          },
          "loot": {
            "type": "array",
            "items": {
              "type": "array",
              "prefixItems": [
                {
                  "type": "integer"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  }
                }
              ],
              "minItems": 2,
              "maxItems": 2
            }
          },
          "name": {
            "type": "string"
          },
          "pool": {
            "type": [
              "string",
              "null"
            ]
          },
          "set": {
            "type": [
              "string",
              "null"
            ]
          },
          "variants": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "normal",
                "souvenir",
                "stattrak"
              ]
            }
          },
          "display_name": {
            "type": "string"
          },
          "alt": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Alternate market hash names (only present if any exist)."
          },
          "souvenir_teams": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "Team ids the curated souvenir_matches narrow the package to (only present when narrowed; no container has it today)."
          }
        }
      },
      "CatalogIndexCollection": {
        "type": "object",
        "description": "A collection in the index. `items` is a list of [global item index, tier index].",
        "additionalProperties": false,
        "required": [
          "id",
          "items",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "items": {
            "type": "array",
            "items": {
              "type": "array",
              "prefixItems": [
                {
                  "type": "integer"
                },
                {
                  "type": "integer"
                }
              ],
              "minItems": 2,
              "maxItems": 2
            }
          },
          "name": {
            "type": "string"
          }
        }
      },
      "CatalogIndexEvent": {
        "type": "array",
        "description": "[id, name, short, year, [event_kit_ids], [[team, kit_id], ...], [[team, player, kit_id], ...]].",
        "prefixItems": [
          {
            "type": "integer"
          },
          {
            "type": "string"
          },
          {
            "type": "string"
          },
          {
            "type": "integer"
          },
          {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          {
            "type": "array",
            "items": {
              "type": "array",
              "prefixItems": [
                {
                  "type": "integer"
                },
                {
                  "type": "integer"
                }
              ],
              "minItems": 2,
              "maxItems": 2
            }
          },
          {
            "type": "array",
            "items": {
              "type": "array",
              "prefixItems": [
                {
                  "type": "integer"
                },
                {
                  "type": "integer"
                },
                {
                  "type": "integer"
                }
              ],
              "minItems": 3,
              "maxItems": 3
            }
          }
        ],
        "minItems": 7,
        "maxItems": 7
      },
      "CatalogContainersEnvelope": {
        "type": "object",
        "description": "GET /catalog/containers.",
        "additionalProperties": false,
        "required": [
          "catalog_version",
          "data"
        ],
        "properties": {
          "catalog_version": {
            "$ref": "#/components/schemas/CatalogVersion"
          },
          "data": {
            "$ref": "#/components/schemas/CatalogContainersSummary"
          }
        }
      },
      "CatalogContainersSummary": {
        "type": "object",
        "description": "Container summaries and their count.",
        "additionalProperties": false,
        "required": [
          "containers",
          "count"
        ],
        "properties": {
          "containers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogContainerSummary"
            }
          },
          "count": {
            "type": "integer"
          }
        }
      },
      "CatalogContainerSummary": {
        "type": "object",
        "description": "A container as listed by GET /catalog/containers.",
        "additionalProperties": false,
        "required": [
          "id",
          "kind",
          "name",
          "display_name",
          "market_hash_name",
          "series",
          "event",
          "set",
          "first_sale",
          "item_count",
          "has_pool"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "enum": [
              "armory_pack",
              "autograph_capsule",
              "charm_capsule",
              "collection_package",
              "gift",
              "graffiti_box",
              "graffiti_pack",
              "highlight_pack",
              "music_kit_box",
              "operation_reward",
              "other",
              "patch_pack",
              "pin_capsule",
              "souvenir_package",
              "sticker_capsule",
              "terminal",
              "weapon_case"
            ]
          },
          "name": {
            "type": "string"
          },
          "display_name": {
            "type": "string",
            "description": "Name unique across containers; equal names are told apart by codename."
          },
          "market_hash_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "series": {
            "type": [
              "integer",
              "null"
            ]
          },
          "event": {
            "type": [
              "integer",
              "null"
            ]
          },
          "set": {
            "type": [
              "string",
              "null"
            ]
          },
          "first_sale": {
            "type": [
              "string",
              "null"
            ]
          },
          "item_count": {
            "type": "integer",
            "description": "Number of distinct items in the loot."
          },
          "has_pool": {
            "type": "boolean",
            "description": "True when the container has a rare-special pool."
          },
          "alt_market_hash_names": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Alternate market hash names (only present if any exist)."
          }
        }
      },
      "CatalogContainerEnvelope": {
        "type": "object",
        "description": "GET /catalog/containers/{ref}.",
        "additionalProperties": false,
        "required": [
          "catalog_version",
          "data"
        ],
        "properties": {
          "catalog_version": {
            "$ref": "#/components/schemas/CatalogVersion"
          },
          "data": {
            "$ref": "#/components/schemas/CatalogContainer"
          }
        }
      },
      "CatalogContainer": {
        "type": "object",
        "description": "A container with its loot, pool, collection and, for souvenir packages, the possible stickers.",
        "additionalProperties": false,
        "required": [
          "id",
          "def_index",
          "codename",
          "kind",
          "name",
          "display_name",
          "market_hash_name",
          "series",
          "event",
          "set",
          "first_sale",
          "variants",
          "directives",
          "source",
          "collection",
          "loot",
          "pool"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Container id: `crate:<def_index>`, or a virtual id such as `pack:...`, `armory:...`, `operation:...`."
          },
          "def_index": {
            "type": [
              "integer",
              "null"
            ]
          },
          "codename": {
            "type": [
              "string",
              "null"
            ],
            "description": "The game's codename for the container; null for virtual containers."
          },
          "kind": {
            "type": "string",
            "enum": [
              "armory_pack",
              "autograph_capsule",
              "charm_capsule",
              "collection_package",
              "gift",
              "graffiti_box",
              "graffiti_pack",
              "highlight_pack",
              "music_kit_box",
              "operation_reward",
              "other",
              "patch_pack",
              "pin_capsule",
              "souvenir_package",
              "sticker_capsule",
              "terminal",
              "weapon_case"
            ],
            "description": "Container kind."
          },
          "name": {
            "type": "string"
          },
          "display_name": {
            "type": "string",
            "description": "Name unique across containers; equal names are told apart by codename."
          },
          "market_hash_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "series": {
            "type": [
              "integer",
              "null"
            ]
          },
          "event": {
            "type": [
              "integer",
              "null"
            ]
          },
          "set": {
            "type": [
              "string",
              "null"
            ]
          },
          "first_sale": {
            "type": [
              "string",
              "null"
            ]
          },
          "variants": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "normal",
                "souvenir",
                "stattrak"
              ]
            }
          },
          "directives": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "The container's directives from the game files: free-form names with a string value. OPEN map (see Open objects in API.md)."
          },
          "source": {
            "type": "string",
            "description": "Where the container record comes from: `game` (game files) or `curated`."
          },
          "collection": {
            "description": "The collection the container belongs to, or null.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/CatalogCollectionRef"
              },
              {
                "type": "null"
              }
            ]
          },
          "loot": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogContainerLoot"
            }
          },
          "pool": {
            "description": "The rare-special pool of the container, or null.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/CatalogPoolData"
              },
              {
                "type": "null"
              }
            ]
          },
          "souvenir": {
            "$ref": "#/components/schemas/CatalogContainerSouvenir",
            "description": "Souvenir block for souvenir packages (absent otherwise)."
          },
          "alt_market_hash_names": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Alternate market hash names (only present if any exist)."
          }
        }
      },
      "CatalogContainerLoot": {
        "type": "object",
        "description": "One tier of a container's loot.",
        "additionalProperties": false,
        "required": [
          "tier",
          "items"
        ],
        "properties": {
          "tier": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "common",
              "uncommon",
              "rare",
              "mythical",
              "legendary",
              "ancient",
              "unusual",
              null
            ]
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "key",
                "name"
              ],
              "properties": {
                "key": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "CatalogPoolData": {
        "type": "object",
        "description": "The rare-special pool of a container (knives, gloves).",
        "additionalProperties": false,
        "required": [
          "name",
          "source",
          "citation",
          "entries"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "citation": {
            "type": "string"
          },
          "entries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogPoolEntry"
            }
          }
        }
      },
      "CatalogPoolEntry": {
        "type": "object",
        "description": "One pool entry; `variants` says which variants the entry has in this container.",
        "additionalProperties": false,
        "required": [
          "key",
          "name"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "variants": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "normal",
                "stattrak"
              ]
            }
          }
        }
      },
      "CatalogCollectionRef": {
        "type": "object",
        "description": "The collection (set) a container belongs to.",
        "additionalProperties": false,
        "required": [
          "id",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "CatalogContainerSouvenir": {
        "type": "object",
        "description": "Souvenir block of a souvenir package.",
        "additionalProperties": false,
        "required": [
          "event",
          "era",
          "confidence",
          "narrowed",
          "upper_bound",
          "possible_stickers",
          "possible_count"
        ],
        "properties": {
          "event": {
            "type": "integer"
          },
          "era": {
            "type": "string",
            "description": "Era identifier of the souvenir rules (e.g. dreamhack_2014, katowice_2015, cologne_2015_on)."
          },
          "confidence": {
            "type": "string",
            "enum": [
              "assumed",
              "documented"
            ]
          },
          "narrowed": {
            "type": "boolean",
            "description": "True when the container's souvenir scope is narrowed to a map's teams."
          },
          "upper_bound": {
            "type": "boolean",
            "description": "True when `possible_count` is an upper bound (the game files carry no match records to narrow it)."
          },
          "possible_stickers": {
            "type": "object",
            "description": "Stickers a package can contain: event stickers (keys), team stickers and player stickers.",
            "additionalProperties": false,
            "required": [
              "event",
              "teams",
              "players"
            ],
            "properties": {
              "event": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "teams": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "sticker",
                    "team"
                  ],
                  "properties": {
                    "sticker": {
                      "type": "string"
                    },
                    "team": {
                      "type": "integer"
                    }
                  }
                }
              },
              "players": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "player",
                    "sticker",
                    "team"
                  ],
                  "properties": {
                    "player": {
                      "type": "integer"
                    },
                    "sticker": {
                      "type": "string"
                    },
                    "team": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "possible_count": {
            "type": "integer",
            "description": "Number of possible sticker variants (event, team and player stickers)."
          }
        }
      },
      "CatalogCollectionsEnvelope": {
        "type": "object",
        "description": "GET /catalog/collections.",
        "additionalProperties": false,
        "required": [
          "catalog_version",
          "data"
        ],
        "properties": {
          "catalog_version": {
            "$ref": "#/components/schemas/CatalogVersion"
          },
          "data": {
            "$ref": "#/components/schemas/CatalogCollectionsSummary"
          }
        }
      },
      "CatalogCollectionsSummary": {
        "type": "object",
        "description": "Collection summaries and their count.",
        "additionalProperties": false,
        "required": [
          "collections",
          "count"
        ],
        "properties": {
          "collections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogCollectionSummary"
            }
          },
          "count": {
            "type": "integer"
          }
        }
      },
      "CatalogCollectionSummary": {
        "type": "object",
        "description": "A collection as listed by GET /catalog/collections.",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "item_count",
          "containers"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "item_count": {
            "type": "integer"
          },
          "containers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "CatalogCollectionEnvelope": {
        "type": "object",
        "description": "GET /catalog/collections/{set_id}.",
        "additionalProperties": false,
        "required": [
          "catalog_version",
          "data"
        ],
        "properties": {
          "catalog_version": {
            "$ref": "#/components/schemas/CatalogVersion"
          },
          "data": {
            "$ref": "#/components/schemas/CatalogCollection"
          }
        }
      },
      "CatalogCollection": {
        "type": "object",
        "description": "A collection with its members and the containers that hold it.",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "items",
          "containers"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogCollectionItem"
            }
          },
          "containers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogCollectionContainer"
            }
          }
        }
      },
      "CatalogCollectionItem": {
        "type": "object",
        "description": "A member of a collection: its item key, name and tier in the collection.",
        "additionalProperties": false,
        "required": [
          "key",
          "name",
          "tier"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "tier": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "common",
              "uncommon",
              "rare",
              "mythical",
              "legendary",
              "ancient",
              "unusual",
              null
            ],
            "description": "Tier of the member in the collection; null when the builder found none (a tier conflict, or no rule gives one)."
          }
        }
      },
      "CatalogCollectionContainer": {
        "type": "object",
        "description": "A container that holds the collection.",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "kind",
          "event"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "enum": [
              "armory_pack",
              "autograph_capsule",
              "charm_capsule",
              "collection_package",
              "gift",
              "graffiti_box",
              "graffiti_pack",
              "highlight_pack",
              "music_kit_box",
              "operation_reward",
              "other",
              "patch_pack",
              "pin_capsule",
              "souvenir_package",
              "sticker_capsule",
              "terminal",
              "weapon_case"
            ]
          },
          "event": {
            "type": [
              "integer",
              "null"
            ]
          }
        }
      },
      "CatalogEventsListEnvelope": {
        "type": "object",
        "description": "GET /catalog/events.",
        "additionalProperties": false,
        "required": [
          "catalog_version",
          "data"
        ],
        "properties": {
          "catalog_version": {
            "$ref": "#/components/schemas/CatalogVersion"
          },
          "data": {
            "$ref": "#/components/schemas/CatalogEventsList"
          }
        }
      },
      "CatalogEventsList": {
        "type": "object",
        "description": "Event summaries and their count.",
        "additionalProperties": false,
        "required": [
          "events",
          "count"
        ],
        "properties": {
          "events": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogEventSummary"
            }
          },
          "count": {
            "type": "integer"
          }
        }
      },
      "CatalogEventSummary": {
        "type": "object",
        "description": "An event as listed by GET /catalog/events.",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "display_name",
          "short",
          "location",
          "year",
          "team_count",
          "player_count",
          "souvenir"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "display_name": {
            "type": "string",
            "description": "Display name of the event (its most frequent market suffix)."
          },
          "short": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "year": {
            "type": "integer"
          },
          "team_count": {
            "type": "integer"
          },
          "player_count": {
            "type": "integer"
          },
          "souvenir": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/CatalogEventSouvenir"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "CatalogEventSouvenir": {
        "type": "object",
        "description": "Souvenir summary of an event, or null when the event has no souvenir data.",
        "additionalProperties": false,
        "required": [
          "era",
          "confidence",
          "possible_count",
          "upper_bound"
        ],
        "properties": {
          "era": {
            "type": "string",
            "description": "Era identifier of the souvenir rules."
          },
          "confidence": {
            "type": "string",
            "enum": [
              "assumed",
              "documented"
            ],
            "description": "documented: official records; assumed: derived from the tournament structure."
          },
          "possible_count": {
            "type": "integer",
            "description": "Number of distinct sticker variants in souvenir packages for this event."
          },
          "upper_bound": {
            "type": "boolean",
            "description": "True when `possible_count` is an upper bound."
          }
        }
      },
      "CatalogEventEnvelope": {
        "type": "object",
        "description": "GET /catalog/events/{event_id}.",
        "additionalProperties": false,
        "required": [
          "catalog_version",
          "data"
        ],
        "properties": {
          "catalog_version": {
            "$ref": "#/components/schemas/CatalogVersion"
          },
          "data": {
            "$ref": "#/components/schemas/CatalogEvent"
          }
        }
      },
      "CatalogEvent": {
        "type": "object",
        "description": "A tournament event with its teams, players and, when it has souvenir data, the resolved souvenir stickers.",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "display_name",
          "short",
          "location",
          "year",
          "teams",
          "players"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "display_name": {
            "type": "string",
            "description": "Display name of the event (its most frequent market suffix)."
          },
          "short": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "year": {
            "type": "integer"
          },
          "teams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogEventTeam"
            }
          },
          "players": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogEventPlayer"
            }
          },
          "souvenir": {
            "$ref": "#/components/schemas/CatalogEventFullSouvenir",
            "description": "Present only if the event has souvenir data."
          }
        }
      },
      "CatalogEventTeam": {
        "type": "object",
        "description": "A team at the event; `place` is null when unknown.",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "place",
          "tag"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "place": {
            "type": [
              "integer",
              "null"
            ]
          },
          "tag": {
            "type": "string"
          }
        }
      },
      "CatalogEventPlayer": {
        "type": "object",
        "description": "A player at the event.",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "team"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "team": {
            "type": "integer"
          }
        }
      },
      "CatalogEventFullSouvenir": {
        "type": "object",
        "description": "Souvenir data of an event with resolved stickers.",
        "additionalProperties": false,
        "required": [
          "era",
          "confidence",
          "upper_bound",
          "event_stickers",
          "team_stickers",
          "player_stickers"
        ],
        "properties": {
          "era": {
            "type": "string",
            "description": "Era identifier (e.g., dreamhack_2014, cologne_2015_on)"
          },
          "confidence": {
            "type": "string",
            "enum": [
              "assumed",
              "documented"
            ]
          },
          "upper_bound": {
            "type": "boolean",
            "description": "True when the sticker set is an upper bound."
          },
          "event_stickers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogResolvedSticker"
            }
          },
          "team_stickers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogTeamSticker"
            }
          },
          "player_stickers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogPlayerSticker"
            }
          }
        }
      },
      "CatalogResolvedSticker": {
        "type": "object",
        "description": "A sticker with its key, name and market hash name.",
        "additionalProperties": false,
        "required": [
          "key",
          "name",
          "market_hash_name"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "market_hash_name": {
            "type": "string"
          }
        }
      },
      "CatalogTeamSticker": {
        "type": "object",
        "description": "The sticker of a team.",
        "additionalProperties": false,
        "required": [
          "team",
          "sticker"
        ],
        "properties": {
          "team": {
            "type": "integer"
          },
          "sticker": {
            "$ref": "#/components/schemas/CatalogResolvedSticker"
          }
        }
      },
      "CatalogPlayerSticker": {
        "type": "object",
        "description": "The sticker of a player.",
        "additionalProperties": false,
        "required": [
          "team",
          "player",
          "sticker"
        ],
        "properties": {
          "team": {
            "type": "integer"
          },
          "player": {
            "type": "integer"
          },
          "sticker": {
            "$ref": "#/components/schemas/CatalogResolvedSticker"
          }
        }
      },
      "CatalogItemEnvelope": {
        "type": "object",
        "description": "GET /catalog/items/{key} and the per-kind alias routes.",
        "additionalProperties": false,
        "required": [
          "catalog_version",
          "data"
        ],
        "properties": {
          "catalog_version": {
            "$ref": "#/components/schemas/CatalogVersion"
          },
          "data": {
            "$ref": "#/components/schemas/CatalogItem"
          }
        }
      },
      "CatalogItem": {
        "description": "An item of one of the nine kinds; `kind` selects the schema.",
        "oneOf": [
          {
            "$ref": "#/components/schemas/CatalogSkinItem"
          },
          {
            "$ref": "#/components/schemas/CatalogStickerItem"
          },
          {
            "$ref": "#/components/schemas/CatalogPatchItem"
          },
          {
            "$ref": "#/components/schemas/CatalogSprayItem"
          },
          {
            "$ref": "#/components/schemas/CatalogCharmItem"
          },
          {
            "$ref": "#/components/schemas/CatalogMusicItem"
          },
          {
            "$ref": "#/components/schemas/CatalogAgentItem"
          },
          {
            "$ref": "#/components/schemas/CatalogReelItem"
          },
          {
            "$ref": "#/components/schemas/CatalogOtherItem"
          }
        ],
        "discriminator": {
          "propertyName": "kind",
          "mapping": {
            "skin": "#/components/schemas/CatalogSkinItem",
            "sticker": "#/components/schemas/CatalogStickerItem",
            "patch": "#/components/schemas/CatalogPatchItem",
            "spray": "#/components/schemas/CatalogSprayItem",
            "charm": "#/components/schemas/CatalogCharmItem",
            "music": "#/components/schemas/CatalogMusicItem",
            "agent": "#/components/schemas/CatalogAgentItem",
            "reel": "#/components/schemas/CatalogReelItem",
            "item": "#/components/schemas/CatalogOtherItem"
          }
        }
      },
      "CatalogItemBase": {
        "type": "object",
        "description": "Fields every item kind has. Each kind's schema extends this and is closed.",
        "required": [
          "kind",
          "name",
          "key"
        ],
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "skin",
              "sticker",
              "patch",
              "spray",
              "charm",
              "music",
              "agent",
              "reel",
              "item"
            ],
            "description": "Item kind."
          },
          "collections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogItemCollectionRef"
            },
            "description": "Collections the item belongs to, with its tier in each (only present when the item is a member of a collection)."
          },
          "name": {
            "type": "string",
            "description": "Display name."
          },
          "key": {
            "type": "string",
            "description": "Item key, e.g. `skin:33:354` or `sticker:1`."
          },
          "from": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogItemEdge"
            },
            "description": "Containers and pools the item drops from (only present when there is one)."
          }
        }
      },
      "CatalogSkinItem": {
        "description": "A weapon skin, knife or glove.",
        "allOf": [
          {
            "$ref": "#/components/schemas/CatalogItemBase"
          },
          {
            "type": "object",
            "required": [
              "def_index",
              "paint_index",
              "stattrak",
              "weapon"
            ],
            "properties": {
              "def_index": {
                "type": "integer",
                "description": "The game's definition index."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "skin"
                ],
                "description": "Item kind."
              },
              "paint_index": {
                "type": "integer",
                "description": "The game's paint index."
              },
              "standalone_variants": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Variants the skin has outside any container (e.g. through a collection)."
              },
              "stattrak": {
                "type": "boolean",
                "description": "Whether the skin can be StatTrak."
              },
              "weapon": {
                "type": "string",
                "description": "Weapon class name, e.g. weapon_mp7."
              },
              "crafted_souvenir": {
                "type": "boolean",
                "description": "True when the souvenir variant exists by crafting only (no souvenir package drops it)."
              },
              "contraband": {
                "type": "boolean",
                "description": "True for a contraband item."
              },
              "rarity": {
                "type": "string",
                "description": "Rarity as named in the game files."
              },
              "removed": {
                "type": "boolean",
                "description": "True when the item was removed from the game."
              },
              "phase": {
                "type": "string",
                "description": "Doppler phase."
              }
            }
          }
        ],
        "unevaluatedProperties": false
      },
      "CatalogStickerItem": {
        "description": "A sticker.",
        "allOf": [
          {
            "$ref": "#/components/schemas/CatalogItemBase"
          },
          {
            "type": "object",
            "required": [
              "kit_id",
              "sold_separately"
            ],
            "properties": {
              "event": {
                "type": "integer",
                "description": "Tournament event id (see /catalog/events)."
              },
              "finish": {
                "type": "string",
                "description": "Finish as named in the game files (paper, gold, holo, foil, glitter, embroidered, lenticular)."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "sticker"
                ],
                "description": "Item kind."
              },
              "kit_id": {
                "type": "integer",
                "description": "The game's kit id."
              },
              "market_hash_name": {
                "type": "string",
                "description": "Steam market hash name. Absent only where API.md lists it under Conditionally present fields."
              },
              "sold_separately": {
                "type": "boolean",
                "description": "True when the sticker is in the loot of a container or pool, false when it exists only as a souvenir drop."
              },
              "rarity": {
                "type": "string",
                "description": "Rarity as named in the game files."
              },
              "player": {
                "type": "integer",
                "description": "The game's pro player id."
              },
              "team": {
                "type": "integer",
                "description": "The game's pro team id."
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Tags of the sticker."
              }
            }
          }
        ],
        "unevaluatedProperties": false
      },
      "CatalogPatchItem": {
        "description": "A patch.",
        "allOf": [
          {
            "$ref": "#/components/schemas/CatalogItemBase"
          },
          {
            "type": "object",
            "required": [
              "kit_id",
              "sold_separately"
            ],
            "properties": {
              "finish": {
                "type": "string",
                "description": "Finish as named in the game files (paper, gold, holo, foil, glitter, embroidered, lenticular)."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "patch"
                ],
                "description": "Item kind."
              },
              "kit_id": {
                "type": "integer",
                "description": "The game's kit id."
              },
              "market_hash_name": {
                "type": "string",
                "description": "Steam market hash name. Absent only where API.md lists it under Conditionally present fields."
              },
              "rarity": {
                "type": "string",
                "description": "Rarity as named in the game files."
              },
              "sold_separately": {
                "type": "boolean",
                "description": "True when the patch is in the loot of a container."
              },
              "event": {
                "type": "integer",
                "description": "Tournament event id (see /catalog/events)."
              },
              "team": {
                "type": "integer",
                "description": "The game's pro team id."
              }
            }
          }
        ],
        "unevaluatedProperties": false
      },
      "CatalogSprayItem": {
        "description": "A graffiti.",
        "allOf": [
          {
            "$ref": "#/components/schemas/CatalogItemBase"
          },
          {
            "type": "object",
            "required": [
              "kit_id",
              "sealed_market_hash_name",
              "tintable"
            ],
            "properties": {
              "event": {
                "type": "integer",
                "description": "Tournament event id (see /catalog/events)."
              },
              "finish": {
                "type": "string",
                "description": "Finish as named in the game files (paper, gold, holo, foil, glitter, embroidered, lenticular)."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "spray"
                ],
                "description": "Item kind."
              },
              "kit_id": {
                "type": "integer",
                "description": "The game's kit id."
              },
              "rarity": {
                "type": "string",
                "description": "Rarity as named in the game files."
              },
              "sealed_market_hash_name": {
                "type": "string",
                "description": "Market hash name of the sealed graffiti."
              },
              "team": {
                "type": "integer",
                "description": "The game's pro team id."
              },
              "tintable": {
                "type": "boolean",
                "description": "Whether the graffiti can be tinted."
              }
            }
          }
        ],
        "unevaluatedProperties": false
      },
      "CatalogCharmItem": {
        "description": "A charm (keychain).",
        "allOf": [
          {
            "$ref": "#/components/schemas/CatalogItemBase"
          },
          {
            "type": "object",
            "required": [
              "code",
              "index"
            ],
            "properties": {
              "code": {
                "type": "string",
                "description": "The game's codename of the charm."
              },
              "family": {
                "type": "string",
                "description": "The game's keychain family of the charm."
              },
              "index": {
                "type": "integer",
                "description": "The game's keychain index."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "charm"
                ],
                "description": "Item kind."
              },
              "market_hash_name": {
                "type": "string",
                "description": "Steam market hash name. Absent only where API.md lists it under Conditionally present fields."
              },
              "rarity": {
                "type": "string",
                "description": "Rarity as named in the game files."
              },
              "highlight_base": {
                "type": "boolean",
                "description": "True for the base charm of a highlight family."
              },
              "pack": {
                "type": "string",
                "description": "Keychain pack loot list the charm comes from."
              }
            }
          }
        ],
        "unevaluatedProperties": false
      },
      "CatalogMusicItem": {
        "description": "A music kit.",
        "allOf": [
          {
            "$ref": "#/components/schemas/CatalogItemBase"
          },
          {
            "type": "object",
            "required": [
              "code",
              "id",
              "market_hash_name",
              "stattrak",
              "variants"
            ],
            "properties": {
              "code": {
                "type": "string",
                "description": "The game's codename of the item."
              },
              "id": {
                "type": "integer",
                "description": "The game's id of the item."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "music"
                ],
                "description": "Item kind."
              },
              "market_hash_name": {
                "type": "string",
                "description": "Steam market hash name. Absent only where API.md lists it under Conditionally present fields."
              },
              "stattrak": {
                "type": "boolean",
                "description": "Whether the item can be StatTrak."
              },
              "variants": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "normal",
                    "stattrak"
                  ]
                },
                "description": "Variants the kit has (normal, stattrak)."
              },
              "stattrak_market_hash_name": {
                "type": "string",
                "description": "Market hash name of the StatTrak version."
              }
            }
          }
        ],
        "unevaluatedProperties": false
      },
      "CatalogAgentItem": {
        "description": "An agent.",
        "allOf": [
          {
            "$ref": "#/components/schemas/CatalogItemBase"
          },
          {
            "type": "object",
            "required": [
              "def_index",
              "faction",
              "market_hash_name",
              "side"
            ],
            "properties": {
              "def_index": {
                "type": "integer",
                "description": "The game's definition index."
              },
              "faction": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Faction of the agent; null when the name has no faction part."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "agent"
                ],
                "description": "Item kind."
              },
              "market_hash_name": {
                "type": "string",
                "description": "Steam market hash name. Absent only where API.md lists it under Conditionally present fields."
              },
              "rarity": {
                "type": "string",
                "description": "Rarity as named in the game files."
              },
              "set": {
                "type": "string",
                "description": "Collection id of the agent's collection."
              },
              "side": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Side the agent plays: t or ct; null when the builder found none."
              }
            }
          }
        ],
        "unevaluatedProperties": false
      },
      "CatalogReelItem": {
        "description": "A highlight reel (souvenir charm of a match highlight).",
        "allOf": [
          {
            "$ref": "#/components/schemas/CatalogItemBase"
          },
          {
            "type": "object",
            "required": [
              "charm",
              "id",
              "market_hash_name",
              "reel_id"
            ],
            "properties": {
              "charm": {
                "type": "string",
                "description": "Key of the charm the reel belongs to."
              },
              "event": {
                "type": "integer",
                "description": "Tournament event id (see /catalog/events)."
              },
              "id": {
                "type": "string",
                "description": "The game's id of the item."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "reel"
                ],
                "description": "Item kind."
              },
              "map": {
                "type": "string",
                "description": "Map of the highlight."
              },
              "market_hash_name": {
                "type": "string",
                "description": "Steam market hash name. Absent only where API.md lists it under Conditionally present fields."
              },
              "reel_id": {
                "type": "integer",
                "description": "The game's id of the highlight reel."
              },
              "stage": {
                "type": "integer",
                "description": "Tournament stage of the highlight."
              },
              "team0": {
                "type": "integer",
                "description": "Team id of the first team in the highlight."
              },
              "team1": {
                "type": "integer",
                "description": "Team id of the second team in the highlight."
              }
            }
          }
        ],
        "unevaluatedProperties": false
      },
      "CatalogOtherItem": {
        "description": "Keys, pins, passes, name tags and other items.",
        "allOf": [
          {
            "$ref": "#/components/schemas/CatalogItemBase"
          },
          {
            "type": "object",
            "required": [
              "def_index",
              "market_hash_name",
              "subkind"
            ],
            "properties": {
              "def_index": {
                "type": "integer",
                "description": "The game's definition index."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "item"
                ],
                "description": "Item kind."
              },
              "market_hash_name": {
                "type": "string",
                "description": "Steam market hash name. Absent only where API.md lists it under Conditionally present fields."
              },
              "rarity": {
                "type": "string",
                "description": "Rarity as named in the game files."
              },
              "subkind": {
                "type": "string",
                "description": "What the item is: key, pin, viewer_pass, pass, name_tag, stattrak_swap_tool."
              }
            }
          }
        ],
        "unevaluatedProperties": false
      },
      "CatalogItemEdge": {
        "type": "object",
        "description": "One place an item drops from: a container, the tier in it, how (`loot`, `pool` or `souvenir`) and which variants.",
        "additionalProperties": false,
        "required": [
          "container",
          "tier",
          "via",
          "variants"
        ],
        "properties": {
          "container": {
            "$ref": "#/components/schemas/CatalogItemEdgeContainer"
          },
          "tier": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "common",
              "uncommon",
              "rare",
              "mythical",
              "legendary",
              "ancient",
              "unusual",
              null
            ]
          },
          "via": {
            "type": "string",
            "enum": [
              "loot",
              "pool",
              "souvenir"
            ],
            "description": "How the container yields the item: `loot` (its loot list), `pool` (its rare-special pool) or `souvenir` (a possible sticker of a souvenir package)."
          },
          "variants": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "normal",
                "souvenir",
                "stattrak"
              ]
            }
          }
        }
      },
      "CatalogItemEdgeContainer": {
        "type": "object",
        "description": "The container of an edge.",
        "additionalProperties": false,
        "required": [
          "id",
          "def_index",
          "name",
          "kind",
          "event"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "def_index": {
            "type": [
              "integer",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "enum": [
              "armory_pack",
              "autograph_capsule",
              "charm_capsule",
              "collection_package",
              "gift",
              "graffiti_box",
              "graffiti_pack",
              "highlight_pack",
              "music_kit_box",
              "operation_reward",
              "other",
              "patch_pack",
              "pin_capsule",
              "souvenir_package",
              "sticker_capsule",
              "terminal",
              "weapon_case"
            ]
          },
          "event": {
            "type": [
              "integer",
              "null"
            ]
          }
        }
      },
      "CatalogItemCollectionRef": {
        "type": "object",
        "description": "A collection the item belongs to, with the item's tier in it.",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "tier"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "tier": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "common",
              "uncommon",
              "rare",
              "mythical",
              "legendary",
              "ancient",
              "unusual",
              null
            ],
            "description": "Tier of the item in the collection; null when the builder found none (a tier conflict, or no rule gives one)."
          }
        }
      },
      "CatalogResolveEnvelope": {
        "type": "object",
        "description": "GET /catalog/resolve.",
        "additionalProperties": false,
        "required": [
          "catalog_version",
          "data"
        ],
        "properties": {
          "catalog_version": {
            "$ref": "#/components/schemas/CatalogVersion"
          },
          "data": {
            "$ref": "#/components/schemas/CatalogResolveData"
          }
        }
      },
      "CatalogResolveData": {
        "description": "What a market hash name resolved to: a container, a skin, or a direct item.",
        "oneOf": [
          {
            "$ref": "#/components/schemas/CatalogResolveContainer"
          },
          {
            "$ref": "#/components/schemas/CatalogResolveSkin"
          },
          {
            "$ref": "#/components/schemas/CatalogResolveDirectItem"
          }
        ]
      },
      "CatalogResolveContainer": {
        "type": "object",
        "description": "A container matched by market hash name.",
        "additionalProperties": false,
        "required": [
          "type",
          "container"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "container"
            ]
          },
          "container": {
            "$ref": "#/components/schemas/CatalogResolveContainerSummary"
          },
          "matched": {
            "type": "string",
            "enum": [
              "alt"
            ],
            "description": "Present when the container matched via an alternate market hash name."
          }
        }
      },
      "CatalogResolveContainerSummary": {
        "type": "object",
        "description": "The matched container with its full loot as item keys per tier.",
        "additionalProperties": false,
        "required": [
          "id",
          "kind",
          "name",
          "market_hash_name",
          "series",
          "event",
          "set",
          "first_sale",
          "variants",
          "pool",
          "loot"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "enum": [
              "armory_pack",
              "autograph_capsule",
              "charm_capsule",
              "collection_package",
              "gift",
              "graffiti_box",
              "graffiti_pack",
              "highlight_pack",
              "music_kit_box",
              "operation_reward",
              "other",
              "patch_pack",
              "pin_capsule",
              "souvenir_package",
              "sticker_capsule",
              "terminal",
              "weapon_case"
            ]
          },
          "name": {
            "type": "string"
          },
          "market_hash_name": {
            "type": "string"
          },
          "series": {
            "type": [
              "integer",
              "null"
            ]
          },
          "event": {
            "type": [
              "integer",
              "null"
            ]
          },
          "set": {
            "type": [
              "string",
              "null"
            ]
          },
          "first_sale": {
            "type": [
              "string",
              "null"
            ]
          },
          "variants": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "normal",
                "souvenir",
                "stattrak"
              ]
            }
          },
          "pool": {
            "type": [
              "string",
              "null"
            ]
          },
          "loot": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "items",
                "tier"
              ],
              "properties": {
                "items": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "tier": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "common",
                    "uncommon",
                    "rare",
                    "mythical",
                    "legendary",
                    "ancient",
                    "unusual",
                    null
                  ]
                }
              }
            }
          },
          "alt_market_hash_names": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Alternate market hash names (only present if any exist)."
          }
        }
      },
      "CatalogResolveSkin": {
        "type": "object",
        "description": "A skin matched with a variant, wear and phase.",
        "additionalProperties": false,
        "required": [
          "type",
          "name",
          "keys",
          "variant",
          "wear"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "skin"
            ]
          },
          "name": {
            "type": "string"
          },
          "keys": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Skin keys the name can mean (several when finishes share a name)."
          },
          "variant": {
            "type": "string",
            "enum": [
              "normal",
              "souvenir",
              "stattrak"
            ]
          },
          "wear": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "Factory New",
              "Minimal Wear",
              "Field-Tested",
              "Well-Worn",
              "Battle-Scarred",
              null
            ]
          },
          "crafted": {
            "type": "boolean",
            "description": "True for crafted souvenirs (a souvenir without a souvenir package edge)."
          },
          "phase": {
            "type": "string"
          }
        }
      },
      "CatalogResolveDirectItem": {
        "type": "object",
        "description": "An item matched by exact market hash name (sticker, patch, spray, charm, music kit, agent, reel, item).",
        "additionalProperties": false,
        "required": [
          "type",
          "key",
          "name"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "agent",
              "charm",
              "item",
              "music",
              "patch",
              "reel",
              "spray",
              "sticker"
            ]
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slab": {
            "type": "boolean",
            "description": "True for sticker slab names."
          },
          "sealed": {
            "type": "boolean",
            "description": "True for sealed graffiti."
          },
          "tint": {
            "type": [
              "string",
              "null"
            ],
            "description": "Tint name of a tinted sealed graffiti."
          }
        }
      },
      "CatalogDumpEnvelope": {
        "type": "object",
        "description": "GET /catalog/dump: the whole catalog as the six data files hold it, in one response.",
        "additionalProperties": false,
        "required": [
          "catalog_version",
          "data"
        ],
        "properties": {
          "catalog_version": {
            "$ref": "#/components/schemas/CatalogVersion"
          },
          "data": {
            "$ref": "#/components/schemas/CatalogDump"
          }
        }
      },
      "CatalogDump": {
        "type": "object",
        "description": "The members of the six files of the catalog data. The records are the raw data records, not the item and container views of the other endpoints: an item has no `key` and no `from`, a skin's `collections` lists collection ids, a container has no `item_count`.",
        "additionalProperties": false,
        "required": [
          "meta",
          "items",
          "containers",
          "collections",
          "pools",
          "events"
        ],
        "properties": {
          "meta": {
            "$ref": "#/components/schemas/CatalogMeta",
            "description": "meta.json plus `catalog_version`: the object GET /catalog/meta returns as `data`."
          },
          "items": {
            "type": "object",
            "additionalProperties": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/CatalogDumpSkinItem"
                },
                {
                  "$ref": "#/components/schemas/CatalogDumpStickerItem"
                },
                {
                  "$ref": "#/components/schemas/CatalogDumpPatchItem"
                },
                {
                  "$ref": "#/components/schemas/CatalogDumpSprayItem"
                },
                {
                  "$ref": "#/components/schemas/CatalogDumpCharmItem"
                },
                {
                  "$ref": "#/components/schemas/CatalogDumpMusicItem"
                },
                {
                  "$ref": "#/components/schemas/CatalogDumpAgentItem"
                },
                {
                  "$ref": "#/components/schemas/CatalogDumpReelItem"
                },
                {
                  "$ref": "#/components/schemas/CatalogDumpOtherItem"
                }
              ],
              "discriminator": {
                "propertyName": "kind",
                "mapping": {
                  "skin": "#/components/schemas/CatalogDumpSkinItem",
                  "sticker": "#/components/schemas/CatalogDumpStickerItem",
                  "patch": "#/components/schemas/CatalogDumpPatchItem",
                  "spray": "#/components/schemas/CatalogDumpSprayItem",
                  "charm": "#/components/schemas/CatalogDumpCharmItem",
                  "music": "#/components/schemas/CatalogDumpMusicItem",
                  "agent": "#/components/schemas/CatalogDumpAgentItem",
                  "reel": "#/components/schemas/CatalogDumpReelItem",
                  "item": "#/components/schemas/CatalogDumpOtherItem"
                }
              }
            },
            "description": "Item key (`skin:33:354`, `sticker:1`, ...) to the item record. OPEN map: the keys are item keys (see Open objects in API.md); the record's `kind` selects its schema."
          },
          "containers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogDumpContainer"
            },
            "description": "Every container, in the order of the data file."
          },
          "collections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogDumpCollection"
            },
            "description": "Every collection, in the order of the data file."
          },
          "pools": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CatalogDumpPool"
            },
            "description": "Pool name to pool record. OPEN map: the keys are pool names (see Open objects in API.md)."
          },
          "events": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CatalogDumpEvent"
            },
            "description": "Event id, as a string, to event record. OPEN map: the keys are event ids (see Open objects in API.md); empty when the catalog has no events."
          }
        }
      },
      "CatalogDumpItemBase": {
        "type": "object",
        "description": "Fields every kind of dump item record has. Each kind's schema extends this and is closed.",
        "required": [
          "kind",
          "name"
        ],
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "skin",
              "sticker",
              "patch",
              "spray",
              "charm",
              "music",
              "agent",
              "reel",
              "item"
            ],
            "description": "Item kind."
          },
          "name": {
            "type": "string",
            "description": "Display name."
          }
        }
      },
      "CatalogDumpSkinItem": {
        "description": "The record of a weapon skin, knife or glove.",
        "allOf": [
          {
            "$ref": "#/components/schemas/CatalogDumpItemBase"
          },
          {
            "type": "object",
            "required": [
              "def_index",
              "paint_index",
              "stattrak",
              "weapon"
            ],
            "properties": {
              "collections": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Ids of the collections the skin belongs to (the API view has objects with a tier)."
              },
              "def_index": {
                "type": "integer",
                "description": "The game's definition index."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "skin"
                ],
                "description": "Item kind."
              },
              "paint_index": {
                "type": "integer",
                "description": "The game's paint index."
              },
              "standalone_variants": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Variants the skin has outside any container (e.g. through a collection)."
              },
              "stattrak": {
                "type": "boolean",
                "description": "Whether the skin can be StatTrak."
              },
              "weapon": {
                "type": "string",
                "description": "Weapon class name, e.g. weapon_mp7."
              },
              "contraband": {
                "type": "boolean",
                "description": "True for a contraband item."
              },
              "rarity": {
                "type": "string",
                "description": "Rarity as named in the game files."
              },
              "removed": {
                "type": "boolean",
                "description": "True when the item was removed from the game."
              },
              "phase": {
                "type": "string",
                "description": "Doppler phase."
              }
            }
          }
        ],
        "unevaluatedProperties": false
      },
      "CatalogDumpStickerItem": {
        "description": "The record of a sticker.",
        "allOf": [
          {
            "$ref": "#/components/schemas/CatalogDumpItemBase"
          },
          {
            "type": "object",
            "required": [
              "kit_id",
              "sold_separately"
            ],
            "properties": {
              "event": {
                "type": "integer",
                "description": "Tournament event id (see /catalog/events)."
              },
              "finish": {
                "type": "string",
                "description": "Finish as named in the game files (paper, gold, holo, foil, glitter, embroidered, lenticular)."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "sticker"
                ],
                "description": "Item kind."
              },
              "kit_id": {
                "type": "integer",
                "description": "The game's kit id."
              },
              "market_hash_name": {
                "type": "string",
                "description": "Steam market hash name. Absent only where API.md lists it under Conditionally present fields."
              },
              "sold_separately": {
                "type": "boolean",
                "description": "True when the sticker is in the loot of a container or pool, false when it exists only as a souvenir drop."
              },
              "rarity": {
                "type": "string",
                "description": "Rarity as named in the game files."
              },
              "player": {
                "type": "integer",
                "description": "The game's pro player id."
              },
              "team": {
                "type": "integer",
                "description": "The game's pro team id."
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Tags of the sticker."
              }
            }
          }
        ],
        "unevaluatedProperties": false
      },
      "CatalogDumpPatchItem": {
        "description": "The record of a patch.",
        "allOf": [
          {
            "$ref": "#/components/schemas/CatalogDumpItemBase"
          },
          {
            "type": "object",
            "required": [
              "kit_id",
              "sold_separately"
            ],
            "properties": {
              "finish": {
                "type": "string",
                "description": "Finish as named in the game files (paper, gold, holo, foil, glitter, embroidered, lenticular)."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "patch"
                ],
                "description": "Item kind."
              },
              "kit_id": {
                "type": "integer",
                "description": "The game's kit id."
              },
              "market_hash_name": {
                "type": "string",
                "description": "Steam market hash name. Absent only where API.md lists it under Conditionally present fields."
              },
              "rarity": {
                "type": "string",
                "description": "Rarity as named in the game files."
              },
              "sold_separately": {
                "type": "boolean",
                "description": "True when the patch is in the loot of a container."
              },
              "event": {
                "type": "integer",
                "description": "Tournament event id (see /catalog/events)."
              },
              "team": {
                "type": "integer",
                "description": "The game's pro team id."
              }
            }
          }
        ],
        "unevaluatedProperties": false
      },
      "CatalogDumpSprayItem": {
        "description": "The record of a graffiti.",
        "allOf": [
          {
            "$ref": "#/components/schemas/CatalogDumpItemBase"
          },
          {
            "type": "object",
            "required": [
              "kit_id",
              "sealed_market_hash_name",
              "tintable"
            ],
            "properties": {
              "event": {
                "type": "integer",
                "description": "Tournament event id (see /catalog/events)."
              },
              "finish": {
                "type": "string",
                "description": "Finish as named in the game files (paper, gold, holo, foil, glitter, embroidered, lenticular)."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "spray"
                ],
                "description": "Item kind."
              },
              "kit_id": {
                "type": "integer",
                "description": "The game's kit id."
              },
              "rarity": {
                "type": "string",
                "description": "Rarity as named in the game files."
              },
              "sealed_market_hash_name": {
                "type": "string",
                "description": "Market hash name of the sealed graffiti."
              },
              "team": {
                "type": "integer",
                "description": "The game's pro team id."
              },
              "tintable": {
                "type": "boolean",
                "description": "Whether the graffiti can be tinted."
              }
            }
          }
        ],
        "unevaluatedProperties": false
      },
      "CatalogDumpCharmItem": {
        "description": "The record of a charm (keychain).",
        "allOf": [
          {
            "$ref": "#/components/schemas/CatalogDumpItemBase"
          },
          {
            "type": "object",
            "required": [
              "code",
              "index"
            ],
            "properties": {
              "code": {
                "type": "string",
                "description": "The game's codename of the charm."
              },
              "family": {
                "type": "string",
                "description": "The game's keychain family of the charm."
              },
              "index": {
                "type": "integer",
                "description": "The game's keychain index."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "charm"
                ],
                "description": "Item kind."
              },
              "market_hash_name": {
                "type": "string",
                "description": "Steam market hash name. Absent only where API.md lists it under Conditionally present fields."
              },
              "rarity": {
                "type": "string",
                "description": "Rarity as named in the game files."
              },
              "highlight_base": {
                "type": "boolean",
                "description": "True for the base charm of a highlight family."
              },
              "pack": {
                "type": "string",
                "description": "Keychain pack loot list the charm comes from."
              }
            }
          }
        ],
        "unevaluatedProperties": false
      },
      "CatalogDumpMusicItem": {
        "description": "The record of a music kit.",
        "allOf": [
          {
            "$ref": "#/components/schemas/CatalogDumpItemBase"
          },
          {
            "type": "object",
            "required": [
              "code",
              "id",
              "market_hash_name",
              "stattrak",
              "variants"
            ],
            "properties": {
              "code": {
                "type": "string",
                "description": "The game's codename of the item."
              },
              "id": {
                "type": "integer",
                "description": "The game's id of the item."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "music"
                ],
                "description": "Item kind."
              },
              "market_hash_name": {
                "type": "string",
                "description": "Steam market hash name. Absent only where API.md lists it under Conditionally present fields."
              },
              "stattrak": {
                "type": "boolean",
                "description": "Whether the item can be StatTrak."
              },
              "variants": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "normal",
                    "stattrak"
                  ]
                },
                "description": "Variants the kit has (normal, stattrak)."
              },
              "stattrak_market_hash_name": {
                "type": "string",
                "description": "Market hash name of the StatTrak version."
              }
            }
          }
        ],
        "unevaluatedProperties": false
      },
      "CatalogDumpAgentItem": {
        "description": "The record of an agent.",
        "allOf": [
          {
            "$ref": "#/components/schemas/CatalogDumpItemBase"
          },
          {
            "type": "object",
            "required": [
              "def_index",
              "faction",
              "market_hash_name",
              "side"
            ],
            "properties": {
              "def_index": {
                "type": "integer",
                "description": "The game's definition index."
              },
              "faction": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Faction of the agent; null when the name has no faction part."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "agent"
                ],
                "description": "Item kind."
              },
              "market_hash_name": {
                "type": "string",
                "description": "Steam market hash name. Absent only where API.md lists it under Conditionally present fields."
              },
              "rarity": {
                "type": "string",
                "description": "Rarity as named in the game files."
              },
              "set": {
                "type": "string",
                "description": "Collection id of the agent's collection."
              },
              "side": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Side the agent plays: t or ct; null when the builder found none."
              }
            }
          }
        ],
        "unevaluatedProperties": false
      },
      "CatalogDumpReelItem": {
        "description": "The record of a highlight reel (souvenir charm of a match highlight).",
        "allOf": [
          {
            "$ref": "#/components/schemas/CatalogDumpItemBase"
          },
          {
            "type": "object",
            "required": [
              "charm",
              "id",
              "market_hash_name",
              "reel_id"
            ],
            "properties": {
              "charm": {
                "type": "string",
                "description": "Key of the charm the reel belongs to."
              },
              "event": {
                "type": "integer",
                "description": "Tournament event id (see /catalog/events)."
              },
              "id": {
                "type": "string",
                "description": "The game's id of the item."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "reel"
                ],
                "description": "Item kind."
              },
              "map": {
                "type": "string",
                "description": "Map of the highlight."
              },
              "market_hash_name": {
                "type": "string",
                "description": "Steam market hash name. Absent only where API.md lists it under Conditionally present fields."
              },
              "reel_id": {
                "type": "integer",
                "description": "The game's id of the highlight reel."
              },
              "stage": {
                "type": "integer",
                "description": "Tournament stage of the highlight."
              },
              "team0": {
                "type": "integer",
                "description": "Team id of the first team in the highlight."
              },
              "team1": {
                "type": "integer",
                "description": "Team id of the second team in the highlight."
              }
            }
          }
        ],
        "unevaluatedProperties": false
      },
      "CatalogDumpOtherItem": {
        "description": "The record of a key, pin, pass, name tag or other item.",
        "allOf": [
          {
            "$ref": "#/components/schemas/CatalogDumpItemBase"
          },
          {
            "type": "object",
            "required": [
              "def_index",
              "market_hash_name",
              "subkind"
            ],
            "properties": {
              "def_index": {
                "type": "integer",
                "description": "The game's definition index."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "item"
                ],
                "description": "Item kind."
              },
              "market_hash_name": {
                "type": "string",
                "description": "Steam market hash name. Absent only where API.md lists it under Conditionally present fields."
              },
              "rarity": {
                "type": "string",
                "description": "Rarity as named in the game files."
              },
              "subkind": {
                "type": "string",
                "description": "What the item is: key, pin, viewer_pass, pass, name_tag, stattrak_swap_tool."
              }
            }
          }
        ],
        "unevaluatedProperties": false
      },
      "CatalogDumpContainer": {
        "type": "object",
        "description": "The record of a container: `set` is a collection id and `pool` a pool name, not the objects of the API view; there is no `item_count`.",
        "additionalProperties": false,
        "required": [
          "codename",
          "def_index",
          "directives",
          "display_name",
          "event",
          "first_sale",
          "id",
          "kind",
          "loot",
          "market_hash_name",
          "name",
          "pool",
          "series",
          "set",
          "source",
          "variants"
        ],
        "properties": {
          "codename": {
            "type": [
              "string",
              "null"
            ],
            "description": "The game's codename for the container; null for virtual containers."
          },
          "def_index": {
            "type": [
              "integer",
              "null"
            ]
          },
          "directives": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "The container's directives from the game files: free-form names with a string value. OPEN map (see Open objects in API.md)."
          },
          "display_name": {
            "type": "string",
            "description": "Name unique across containers; equal names are told apart by codename."
          },
          "event": {
            "type": [
              "integer",
              "null"
            ]
          },
          "first_sale": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string",
            "description": "Container id: `crate:<def_index>`, or a virtual id such as `pack:...`, `armory:...`, `operation:...`."
          },
          "kind": {
            "type": "string",
            "enum": [
              "armory_pack",
              "autograph_capsule",
              "charm_capsule",
              "collection_package",
              "gift",
              "graffiti_box",
              "graffiti_pack",
              "highlight_pack",
              "music_kit_box",
              "operation_reward",
              "other",
              "patch_pack",
              "pin_capsule",
              "souvenir_package",
              "sticker_capsule",
              "terminal",
              "weapon_case"
            ],
            "description": "Container kind."
          },
          "loot": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogDumpContainerLoot"
            },
            "description": "The container's loot, one entry per tier."
          },
          "market_hash_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "pool": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of the rare-special pool of the container (a key of `pools`), or null."
          },
          "series": {
            "type": [
              "integer",
              "null"
            ]
          },
          "set": {
            "type": [
              "string",
              "null"
            ],
            "description": "Id of the collection the container belongs to, or null."
          },
          "source": {
            "type": "string",
            "description": "Where the container record comes from: `game` (game files) or `curated`."
          },
          "variants": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "normal",
                "souvenir",
                "stattrak"
              ]
            }
          },
          "redeem": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogDumpContainerRedeem"
            },
            "description": "The operation redeemables that give this container: season and points or currency."
          },
          "alt_market_hash_names": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Alternate market hash names (only present if any exist)."
          },
          "souvenir_teams": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "Team ids the curated souvenir_matches narrow the package to (only present when narrowed; no container has it today)."
          }
        }
      },
      "CatalogDumpContainerLoot": {
        "type": "object",
        "description": "One tier of a container's loot: the tier and the item keys in it.",
        "additionalProperties": false,
        "required": [
          "items",
          "tier"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tier": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "common",
              "uncommon",
              "rare",
              "mythical",
              "legendary",
              "ancient",
              "unusual",
              null
            ]
          }
        }
      },
      "CatalogDumpContainerRedeem": {
        "type": "object",
        "description": "One way an operation gives the container: season, and the points or the currency.",
        "additionalProperties": false,
        "required": [
          "season"
        ],
        "properties": {
          "currency": {
            "type": "string"
          },
          "season": {
            "type": "integer"
          },
          "points": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Points the redeemable costs; null when the game files give no number."
          },
          "flags": {
            "type": "integer"
          }
        }
      },
      "CatalogDumpCollection": {
        "type": "object",
        "description": "The record of a collection with its members.",
        "additionalProperties": false,
        "required": [
          "id",
          "items",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogDumpCollectionItem"
            }
          },
          "name": {
            "type": "string"
          }
        }
      },
      "CatalogDumpCollectionItem": {
        "type": "object",
        "description": "A member of a collection: its item key and tier.",
        "additionalProperties": false,
        "required": [
          "key",
          "tier"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "tier": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "common",
              "uncommon",
              "rare",
              "mythical",
              "legendary",
              "ancient",
              "unusual",
              null
            ],
            "description": "Tier of the member in the collection; null when the builder found none (a tier conflict, or no rule gives one)."
          }
        }
      },
      "CatalogDumpPool": {
        "type": "object",
        "description": "The record of a rare-special pool (knives, gloves): its skin keys and where they come from.",
        "additionalProperties": false,
        "required": [
          "citation",
          "entries",
          "source"
        ],
        "properties": {
          "citation": {
            "type": "string"
          },
          "entries": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Skin keys of the pool."
          },
          "source": {
            "type": "string"
          }
        }
      },
      "CatalogDumpEvent": {
        "type": "object",
        "description": "The record of a tournament event with its teams, players and souvenir data.",
        "additionalProperties": false,
        "required": [
          "display_name",
          "id",
          "location",
          "name",
          "players",
          "short",
          "souvenir",
          "teams",
          "year"
        ],
        "properties": {
          "display_name": {
            "type": "string",
            "description": "Display name of the event (its most frequent market suffix)."
          },
          "id": {
            "type": "integer"
          },
          "location": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "players": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogDumpEventPlayer"
            }
          },
          "short": {
            "type": "string"
          },
          "souvenir": {
            "description": "Souvenir data of the event, or null when it has none (the API view leaves the field out).",
            "oneOf": [
              {
                "$ref": "#/components/schemas/CatalogDumpEventSouvenir"
              },
              {
                "type": "null"
              }
            ]
          },
          "teams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogDumpEventTeam"
            }
          },
          "year": {
            "type": "integer"
          }
        }
      },
      "CatalogDumpEventTeam": {
        "type": "object",
        "description": "A team at the event; `place` is null when unknown.",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "place",
          "tag"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "place": {
            "type": [
              "integer",
              "null"
            ]
          },
          "tag": {
            "type": "string"
          }
        }
      },
      "CatalogDumpEventPlayer": {
        "type": "object",
        "description": "A player at the event.",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "team"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "team": {
            "type": "integer"
          }
        }
      },
      "CatalogDumpEventSouvenir": {
        "type": "object",
        "description": "Souvenir data of an event: the sticker keys a souvenir package of the event can contain.",
        "additionalProperties": false,
        "required": [
          "components",
          "confidence",
          "era",
          "event_stickers",
          "player_stickers",
          "team_stickers"
        ],
        "properties": {
          "components": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "confidence": {
            "type": "string",
            "enum": [
              "assumed",
              "documented"
            ],
            "description": "documented: official records; assumed: derived from the tournament structure."
          },
          "era": {
            "type": "string"
          },
          "event_stickers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "player_stickers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogDumpPlayerSticker"
            }
          },
          "team_stickers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogDumpTeamSticker"
            }
          }
        }
      },
      "CatalogDumpTeamSticker": {
        "type": "object",
        "description": "The sticker key of a team.",
        "additionalProperties": false,
        "required": [
          "sticker",
          "team"
        ],
        "properties": {
          "sticker": {
            "type": "string"
          },
          "team": {
            "type": "integer"
          }
        }
      },
      "CatalogDumpPlayerSticker": {
        "type": "object",
        "description": "The sticker key of a player.",
        "additionalProperties": false,
        "required": [
          "player",
          "sticker",
          "team"
        ],
        "properties": {
          "player": {
            "type": "integer"
          },
          "sticker": {
            "type": "string"
          },
          "team": {
            "type": "integer"
          }
        }
      },
      "CatalogExtEnvelope": {
        "type": "object",
        "description": "GET /catalog/ext: the catalogue map of the TrueFloat extension, in one response.",
        "additionalProperties": false,
        "required": [
          "catalog_version",
          "data"
        ],
        "properties": {
          "catalog_version": {
            "$ref": "#/components/schemas/CatalogVersion"
          },
          "data": {
            "$ref": "#/components/schemas/CatalogExt"
          }
        }
      },
      "CatalogExt": {
        "type": "object",
        "description": "The extension map: what drops from what for skins, compact (positional tuples, no repeated keys, no item views). A change that keeps the shape readable, such as a new member, does not raise `schema`; a client reads the members it knows.",
        "additionalProperties": false,
        "required": [
          "schema",
          "tiers",
          "skins",
          "containers",
          "pools",
          "packages",
          "collections",
          "events",
          "stickers",
          "names"
        ],
        "properties": {
          "schema": {
            "type": "integer",
            "const": 1,
            "description": "Shape version of this response: 1 today, raised only when the shape changes incompatibly."
          },
          "tiers": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "common",
                "uncommon",
                "rare",
                "mythical",
                "legendary",
                "ancient",
                "unusual"
              ]
            },
            "minItems": 7,
            "maxItems": 7,
            "description": "The seven tier names in rank order, `common` to `unusual`: the vocabulary of every tier index in this response (an index into this array)."
          },
          "skins": {
            "type": "object",
            "propertyNames": {
              "pattern": "^\\d+:\\d+$"
            },
            "additionalProperties": {
              "$ref": "#/components/schemas/CatalogExtSkin"
            },
            "description": "Skin ref `<def_index>:<paint_index>` to its tuple, for every skin that a container's loot, a pool or a collection lists. OPEN map: the keys are data (see Open objects in API.md)."
          },
          "containers": {
            "type": "object",
            "propertyNames": {
              "pattern": "^(?:(?:crate|pack):\\d+|armory:[a-z0-9_]+|operation:\\d+:[a-z0-9_]+)$"
            },
            "additionalProperties": {
              "$ref": "#/components/schemas/CatalogExtContainer"
            },
            "description": "Container id to its record, for every container with a skin in its loot, a pool or goods. OPEN map: the keys are data (see Open objects in API.md)."
          },
          "pools": {
            "type": "object",
            "propertyNames": {
              "pattern": "^[a-z0-9_]+$"
            },
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "description": "Pool name to the skin refs of its entries (keys of `skins`). OPEN map: the keys are data (see Open objects in API.md)."
          },
          "packages": {
            "type": "object",
            "propertyNames": {
              "pattern": "^\\d+:[a-z0-9_]+$"
            },
            "additionalProperties": {
              "type": "string"
            },
            "description": "`<event id>:<collection id>` to the id of the souvenir package of that event and collection (a key of `containers`); the pair is unique. OPEN map: the keys are data (see Open objects in API.md)."
          },
          "collections": {
            "type": "object",
            "propertyNames": {
              "pattern": "^[a-z0-9_]+$"
            },
            "additionalProperties": {
              "type": "string"
            },
            "description": "Collection id to its name, for every collection with a skin member. OPEN map: the keys are data (see Open objects in API.md)."
          },
          "events": {
            "type": "object",
            "propertyNames": {
              "pattern": "^\\d+$"
            },
            "additionalProperties": {
              "$ref": "#/components/schemas/CatalogExtEvent"
            },
            "description": "Event id, as a string, to its record; empty when the catalog has no events. OPEN map: the keys are data (see Open objects in API.md)."
          },
          "stickers": {
            "type": "object",
            "propertyNames": {
              "pattern": "^\\d+$"
            },
            "additionalProperties": {
              "type": "string"
            },
            "description": "Sticker kit id, as a string, to its market hash name, for the kits the souvenir blocks of the events name (a kit without a market name is absent); the image URL of a sticker is built from the name. The sticker and patch goods are not named here. OPEN map: the keys are data (see Open objects in API.md)."
          },
          "names": {
            "type": "object",
            "description": "The market hash names of the sprays, charms, music kits and items (pins) of the containers' goods, by kind; an id without a single market name is absent.",
            "additionalProperties": false,
            "required": [
              "spray",
              "charm",
              "music",
              "item"
            ],
            "properties": {
              "spray": {
                "type": "object",
                "propertyNames": {
                  "pattern": "^\\d+$"
                },
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Spray kit id, as a string, to its sealed market hash name (`Sealed Graffiti | ...`); a tintable spray is absent. OPEN map: the keys are data (see Open objects in API.md)."
              },
              "charm": {
                "type": "object",
                "propertyNames": {
                  "pattern": "^\\d+$"
                },
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Charm index, as a string, to its market hash name. OPEN map: the keys are data (see Open objects in API.md)."
              },
              "music": {
                "type": "object",
                "propertyNames": {
                  "pattern": "^\\d+$"
                },
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Music kit id, as a string, to its market hash name (not StatTrak). OPEN map: the keys are data (see Open objects in API.md)."
              },
              "item": {
                "type": "object",
                "propertyNames": {
                  "pattern": "^\\d+$"
                },
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Item def_index, as a string, to its market hash name. OPEN map: the keys are data (see Open objects in API.md)."
              }
            }
          }
        }
      },
      "CatalogExtSkin": {
        "type": "array",
        "description": "A skin: `[name, tier, containers, collections, pools]`, exactly five positions.",
        "prefixItems": [
          {
            "type": "string",
            "description": "Name of the skin as the items file has it, `Weapon | Finish` (a knife or glove `★ Name`)."
          },
          {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 6,
            "description": "Tier of the skin, an index into `tiers`: the tier of the loot group that holds it, else its collection's tier, else `unusual` for a skin only a pool holds; null when none gives one."
          },
          {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Ids of the containers whose loot holds the skin (keys of `containers`), in the order of `containers`."
          },
          {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Ids of the collections that list the skin as a member."
          },
          {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Names of the pools that hold the skin (keys of `pools`)."
          }
        ],
        "minItems": 5,
        "maxItems": 5
      },
      "CatalogExtContainer": {
        "type": "object",
        "description": "A container with a skin in its loot, a pool or goods.",
        "additionalProperties": false,
        "required": [
          "name",
          "kind",
          "event",
          "collection",
          "loot",
          "pool"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Display name of the container: its name, told apart by a bracket when several containers share it."
          },
          "short": {
            "type": "string",
            "description": "Short name for a card line, built by rule from the name: a weapon case without `Case` or `Weapon Case`; a souvenir package as `<map> Souvenir` without the tournament words (`Souvenir` when it has no map); a terminal without `Sealed `; a capsule, pack or box of goods without its own words (`Sticker Capsule`, `Sealed Graffiti | `, ...) when the rest is still a name; any other without `The ` and `Collection`; the name itself when a rule would leave nothing. Unique per event: in a clash a goods container adds its kind word (`Paris 2023 Legends Autographs`)."
          },
          "kind": {
            "type": "string",
            "enum": [
              "armory_pack",
              "autograph_capsule",
              "charm_capsule",
              "collection_package",
              "gift",
              "graffiti_box",
              "graffiti_pack",
              "highlight_pack",
              "music_kit_box",
              "operation_reward",
              "other",
              "patch_pack",
              "pin_capsule",
              "souvenir_package",
              "sticker_capsule",
              "terminal",
              "weapon_case"
            ],
            "description": "Container kind."
          },
          "market_hash_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Steam market hash name of the container, or null; the image URL of the container is built from it."
          },
          "event": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Tournament event id of a souvenir package (a key of `events`), or null."
          },
          "collection": {
            "type": [
              "string",
              "null"
            ],
            "description": "Id of the collection the container belongs to, or null."
          },
          "loot": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogExtLoot"
            },
            "description": "The skin part of the container's loot, one tuple per tier that has skins, in the order of the loot."
          },
          "pool": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of the rare-special pool of the container (a key of `pools`), or null."
          },
          "goods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogExtGoods"
            },
            "description": "The loot that is not skins, of the kinds sticker, patch, spray, charm, music and item: one tuple per (tier, kind), in the order of the loot; absent when there is none. Reels and agents are left out."
          }
        }
      },
      "CatalogExtLoot": {
        "type": "array",
        "description": "One tier of a container's loot: `[tier, skins]`, exactly two positions.",
        "prefixItems": [
          {
            "type": "integer",
            "minimum": 0,
            "maximum": 6,
            "description": "Tier of the group, an index into `tiers`."
          },
          {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Skin refs of the group (keys of `skins`)."
          }
        ],
        "minItems": 2,
        "maxItems": 2
      },
      "CatalogExtGoods": {
        "type": "array",
        "description": "One (tier, kind) of a container's non-skin loot: `[tier, kind, ids]`, exactly three positions.",
        "prefixItems": [
          {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 6,
            "description": "Tier of the group, an index into `tiers`, or null when the loot group has no tier."
          },
          {
            "type": "string",
            "enum": [
              "sticker",
              "patch",
              "spray",
              "charm",
              "music",
              "item"
            ],
            "description": "Item kind of the ids: sticker, patch, spray, charm, music or item."
          },
          {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "Item ids in loot order: the kit id of a sticker, patch or spray, the index of a charm, the id of a music kit, the def_index of an item. Sprays, charms, music kits and items are keys of `names`; sticker and patch names are not in this map."
          }
        ],
        "minItems": 3,
        "maxItems": 3
      },
      "CatalogExtEvent": {
        "type": "object",
        "description": "A tournament event: its name and year and, for the events with souvenir packages, the stickers those packages hold.",
        "additionalProperties": false,
        "required": [
          "name",
          "year",
          "souvenir"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Display name of the event (its most frequent market suffix)."
          },
          "year": {
            "type": "integer",
            "description": "Year of the event."
          },
          "souvenir": {
            "description": "The souvenir stickers of the event, or null when it has no souvenir data.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/CatalogExtSouvenir"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "CatalogExtSouvenir": {
        "type": "object",
        "description": "The stickers of an event's souvenir packages, by kit id. An upper bound: the golds of every team of the event, not only those in a given package.",
        "additionalProperties": false,
        "required": [
          "era",
          "confidence",
          "event",
          "teams",
          "players"
        ],
        "properties": {
          "era": {
            "type": "string",
            "description": "Era identifier of the souvenir rules."
          },
          "confidence": {
            "type": "string",
            "enum": [
              "assumed",
              "documented"
            ],
            "description": "documented: official records; assumed: derived from the tournament structure."
          },
          "event": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "Kit ids of the event stickers."
          },
          "teams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogExtTeam"
            },
            "description": "The sticker of every team of the event."
          },
          "players": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogExtPlayer"
            },
            "description": "The sticker of every player of the event."
          }
        }
      },
      "CatalogExtTeam": {
        "type": "array",
        "description": "The sticker of a team: `[team, kit]`, exactly two positions.",
        "prefixItems": [
          {
            "type": "integer",
            "description": "The game's pro team id."
          },
          {
            "type": "integer",
            "description": "Sticker kit id (a key of `stickers` when the kit has a market hash name)."
          }
        ],
        "minItems": 2,
        "maxItems": 2
      },
      "CatalogExtPlayer": {
        "type": "array",
        "description": "The sticker of a player: `[team, player, kit]`, exactly three positions.",
        "prefixItems": [
          {
            "type": "integer",
            "description": "The game's pro team id."
          },
          {
            "type": "integer",
            "description": "The game's pro player id."
          },
          {
            "type": "integer",
            "description": "Sticker kit id (a key of `stickers` when the kit has a market hash name)."
          }
        ],
        "minItems": 3,
        "maxItems": 3
      }
    }
  }
}
