{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mappu-ai/json-schema/mappu-ai-catalog-schema.json",
  "title": "Catalog",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mappu-ai-openapi.json#/components/schemas/Catalog",
  "type": "object",
  "required": [
    "version",
    "origin",
    "entries"
  ],
  "additionalProperties": false,
  "properties": {
    "version": {
      "const": 1
    },
    "origin": {
      "const": "https://www.mappu.ai"
    },
    "entries": {
      "type": "array",
      "maxItems": 20000,
      "items": {
        "$ref": "#/$defs/PublicPage"
      }
    }
  },
  "$defs": {
    "PublicPage": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "path",
        "locale",
        "kind",
        "title",
        "description",
        "url",
        "markdownUrl"
      ],
      "properties": {
        "path": {
          "type": "string",
          "maxLength": 300
        },
        "locale": {
          "enum": [
            "en",
            "it",
            "es",
            "fr",
            "de",
            "pt",
            "ja",
            "zh-tw"
          ]
        },
        "kind": {
          "enum": [
            "audio-guide",
            "itinerary",
            "collection",
            "tool",
            "page"
          ]
        },
        "title": {
          "type": "string"
        },
        "description": {
          "type": "string",
          "maxLength": 500
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "markdownUrl": {
          "type": "string",
          "format": "uri",
          "description": "Exact GET URL for this page. May contain multiple path segments. Returns text/markdown or a real 404 when withdrawn. Do not construct arbitrary paths."
        }
      }
    }
  }
}