{
  "name": "HejMap Custom Map Contract",
  "version": 1,
  "studioUrl": "https://www.hejmap.com/create",
  "mcpEndpoint": "https://www.hejmap.com/mcp",
  "description": "Build interactive, shareable HejMap world maps using either the stateless MCP server at /mcp or the readable URL hash format below. No API key or sign-up required.",
  "themes": ["light", "dark", "paper", "ocean", "pixel", "papyrus", "blueprint", "watercolour", "editorial", "midnight", "terracotta", "minimal"],
  "modes": ["2d", "3d"],
  "legends": ["auto", "bottom", "side", "none"],
  "aspects": ["auto", "wide", "square", "tall"],
  "stamps": ["pin", "plane", "star", "heart", "trophy", "coffee", "ship", "mountain", "sun", "crown"],
  "templates": {
    "blank": "/create",
    "visited": "/create/visited",
    "bucket-list": "/create/bucket-list",
    "lived": "/create/lived",
    "travel": "/create/travel"
  },
  "regions": {
    "world": null,
    "europe": "2.3/53/15",
    "asia": "1.4/34/95",
    "africa": "1.5/2/20",
    "north-america": "1.5/44/-98",
    "south-america": "1.6/-18/-60",
    "oceania": "1.8/-22/138"
  },
  "readableHashFormat": {
    "syntax": "https://www.hejmap.com/create#theme=<theme>&view=<zoom>/<lat>/<lon>&show=names,flags&c=<iso2,iso2>&color0=%23<rrggbb>&c1=<iso2,iso2>&color1=%23<rrggbb>",
    "countryCodes": "Lowercase ISO 3166-1 alpha-2 (e.g. se, no, dk, fi, is, gb, us, jp, br). Up to 8 groups (c, c1..c7).",
    "example": "https://www.hejmap.com/create#theme=paper&view=2.3/53/15&show=names&c=se,no,dk,fi,is&color0=%232563eb&c1=ee,lv,lt&color1=%2316a34a"
  },
  "jsonImportFormat": {
    "example": {
      "theme": "paper",
      "region": "europe",
      "show": { "names": true, "flags": false },
      "categories": [
        { "countries": ["se", "no", "dk", "fi", "is"], "color": "#2563eb" },
        { "countries": ["ee", "lv", "lt"], "color": "#16a34a" }
      ]
    }
  }
}
