{
  "$id": "https://schema.nfh.global/Authority/v2.0",
  "x-iri": "https://schema.nfh.global/Authority/v2.0",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Authority",
  "type": "object",
  "description": "A governmental or administrative body responsible for planning, regulating, and overseeing transport services within a jurisdiction.",
  "properties": {
    "authorityId": {
      "description": "Unique identifier for the authority",
      "type": "string"
    },
    "jurisdiction": {
      "description": "Geographic or administrative jurisdiction of this authority",
      "type": "string"
    },
    "regulatoryScope": {
      "description": "Scope of regulatory powers (e.g. national, regional, local)",
      "type": "string"
    },
    "id": {
      "description": "Unique identifier for the provider",
      "type": "string"
    },
    "descriptor": {
      "description": "Human-readable description of the provider",
      "$ref": "https://schema.nfh.global/Descriptor/v2.1/schema.json"
    },
    "categories": {
      "description": "Service categories offered by the provider",
      "$ref": "https://schema.nfh.global/CategoryCode/v2.1/schema.json"
    },
    "locations": {
      "description": "Locations where the provider offers services",
      "$ref": "https://schema.nfh.global/Location/v2.0/schema.json"
    },
    "items": {
      "description": "Items available for discovery from this provider",
      "$ref": "https://schema.nfh.global/Item/v2.1/schema.json"
    },
    "ratingsTotal": {
      "description": "Total number of ratings received",
      "type": "number"
    },
    "rating": {
      "description": "Aggregate rating of the provider",
      "$ref": "https://schema.nfh.global/Rating/v2.0/schema.json"
    }
  },
  "additionalProperties": false,
  "x-tags": [
    "mobility",
    "schema-org",
    "ride-hailing"
  ]
}
