{
  "id": "map.zones.current.v1",
  "version": "1.0.0",
  "ontologyRevision": "ontology.map.zone.v1",
  "deliveryMode": "snapshot+patch",
  "semanticTypes": ["map.zone"],
  "fields": [
    "area_square_meters",
    "description",
    "display_name",
    "geometry",
    "geometry_kind",
    "max_speed_kph",
    "perimeter_meters",
    "source_kind",
    "source_revision",
    "style_color"
  ],
  "fieldContracts": {
    "area_square_meters": { "type": "number", "required": false, "minimum": 0 },
    "description": { "type": "string", "required": false },
    "display_name": { "type": "string", "required": true },
    "geometry": { "type": "geometry", "required": true },
    "geometry_kind": { "type": "string", "required": true, "enum": ["circle", "corridor", "polygon"] },
    "max_speed_kph": { "type": "number", "required": false, "minimum": 0 },
    "perimeter_meters": { "type": "number", "required": false, "minimum": 0 },
    "source_kind": { "type": "string", "required": true, "enum": ["live_api", "versioned_snapshot"] },
    "source_revision": { "type": "string", "required": true },
    "style_color": { "type": "string", "required": false }
  },
  "history": { "mode": "none", "retentionDays": 1 }
}
