{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/open-mobility-foundation/main/json-schema/open-mobility-foundation-jurisdiction-schema.json", "title": "models/jurisdiction", "description": "A jurisdiction is:\n\n* A representation of an agency's authority to the outside world\n* Human-readable name\n* Uniquely identified\n* Purview to make rules over physical boundaries and modal boundaries (e.g. a jurisdiction could be for taxis only)\n* A way of tracking revisions in an agency's authority", "x-generated": "2026-10-09", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/open-mobility-foundation-mds-jurisdiction-openapi.yml#/components/schemas/jurisdiction", "type": "object", "x-stoplight": { "id": "36fv404hae7bo" }, "required": [ "jurisdiction_id", "agency_key", "description", "mode_ids", "timestamp" ], "properties": { "jurisdiction_id": { "$ref": "#/$defs/data-types_uuid", "description": "Unique ID of Jurisdiction. This field is immutable." }, "agency_key": { "$ref": "#/$defs/data-types_string", "description": "A unique string key for the Jurisdiction. This field must also be immutable. Allows for easier management of Jurisdiction-based access control in JWTs." }, "agency_name": { "$ref": "#/$defs/data-types_string", "description": "Human-readable agency name for display purposes." }, "description": { "$ref": "#/$defs/data-types_string", "description": "Description of Jurisdiction." }, "geography_id": { "$ref": "#/$defs/data-types_uuid", "description": "The unique ID of the geography covered by this Jurisdiction." }, "mode_ids": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "$ref": "#/$defs/data-types_mode" } }, "timestamp": { "$ref": "#/$defs/data-types_timestamp", "description": "Creation or update time of a Jurisdiction." } }, "$defs": { "data-types_mode": { "title": "data-types/modes", "description": "The modes supported in MDS.", "type": "string", "x-stoplight": { "id": "rjul1mcjyy8y2" }, "enum": [ "car-share", "delivery-robots", "micromobility", "passenger-services" ] }, "data-types_string": { "title": "data-types/string", "description": "A length-limited string type.", "maxLength": 255, "pattern": "^(.*)$", "type": "string", "x-stoplight": { "id": "2vqv7166161kh" } }, "data-types_timestamp": { "title": "data-types/timestamp", "description": "Integer milliseconds since Unix epoch.", "minimum": 1514764800000, "multipleOf": 1, "type": "number", "x-stoplight": { "id": "vliol1hqlxw6y" } }, "data-types_uuid": { "title": "data-types/uuid", "description": "A UUID used to uniquely identity an object.", "type": "string", "x-stoplight": { "id": "np9kodwmy2kqa" }, "format": "uuid", "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } }