{
  "openapi": "3.1.0",
  "info": {
    "title": "ANIMORE Catalog API",
    "version": "1.0.0",
    "description": "Public metadata for ANIMORE's curated anime lineup. Scene counts cover distinct frames in the game's local scene manifest. Images fetched at runtime from external services are excluded."
  },
  "servers": [{ "url": "https://guessthisanime.com" }],
  "paths": {
    "/api/v1/catalog.json": {
      "get": {
        "operationId": "getAnimeCatalog",
        "summary": "List every curated series and its local scene count",
        "security": [],
        "responses": {
          "200": {
            "description": "The full catalog, sorted alphabetically by title.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": ["seriesCount", "totalLocalSceneCount", "series"],
                  "properties": {
                    "seriesCount": { "type": "integer", "minimum": 0 },
                    "totalLocalSceneCount": { "type": "integer", "minimum": 0 },
                    "series": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": ["malId", "title", "localSceneCount"],
                        "properties": {
                          "malId": { "type": "integer", "description": "MyAnimeList ID used by the game." },
                          "title": { "type": "string" },
                          "localSceneCount": { "type": "integer", "minimum": 0, "description": "Number of distinct local frames for this title. A curated series can have zero local frames." }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
