{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ultimaps-com/json-schema/ultimaps-com-catalog-map-schema.json",
  "title": "CatalogMap",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ultimaps-com-openapi.json#/components/schemas/CatalogMap",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Stable slug, the `mapId` for every other endpoint. Points at the current edition of the map. It is the map's slug on ultimaps.com: the last path segment of its page, not the whole URL.\n"
    },
    "title": {
      "type": "string"
    },
    "regionType": {
      "type": [
        "string",
        "null"
      ]
    },
    "layers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/LayerId"
      },
      "description": "Extra layers this map ships, renderable via the `layers` request field."
    },
    "regionCount": {
      "type": "integer"
    },
    "labels": {
      "type": "boolean",
      "description": "Whether this map ships curated region labels, which is what `style.labels` draws. Most county and district maps have none."
    }
  },
  "$defs": {
    "LayerId": {
      "type": "string",
      "description": "The extra-layer vocabulary, shared by every map. Each map ships a subset, listed by `GET /v1/maps` and `GET /v1/maps/{mapId}`. The enum is additive-only: ids are appended, never renamed or removed.",
      "enum": [
        "admin0",
        "admin0-mesh",
        "admin1-mesh",
        "admin1-mesh-inner",
        "admin2-mesh",
        "lakes",
        "rivers",
        "roads",
        "cities",
        "admin1"
      ]
    }
  }
}