{
  "$id": "https://schema.nfh.global/StopPlace/v2.0",
  "x-iri": "https://schema.nfh.global/StopPlace/v2.0",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "StopPlace",
  "type": "object",
  "description": "A physical location serving as a transit stop facility, comprising one or more quays, entrances, and associated infrastructure.",
  "properties": {
    "stopPlaceId": {
      "description": "Unique identifier for the stop place",
      "type": "string"
    },
    "stopPlaceType": {
      "description": "Type of stop place (e.g. AIRPORT, BUS_STATION, FERRY_STOP, METRO_STATION)",
      "type": "string"
    },
    "quays": {
      "description": "Quays or boarding areas within this stop place",
      "$ref": "https://schema.nfh.global/Quay/v2.0/schema.json"
    },
    "entrances": {
      "description": "Entrances and pathways into this stop place",
      "$ref": "https://schema.nfh.global/Pathway/v2.0/schema.json"
    },
    "id": {
      "description": "Unique identifier for the location",
      "type": "string"
    },
    "descriptor": {
      "description": "Human-readable description of the location",
      "$ref": "https://schema.nfh.global/Descriptor/v2.1/schema.json"
    },
    "gps": {
      "description": "GPS coordinates as a latitude,longitude string",
      "type": "string"
    },
    "address": {
      "description": "Physical address of the location",
      "$ref": "https://schema.nfh.global/Address/v2.0/schema.json"
    },
    "city": {
      "description": "City name",
      "type": "string"
    },
    "country": {
      "description": "ISO 3166-1 alpha-2 country code",
      "type": "string"
    },
    "geojson": {
      "description": "GeoJSON geometry object representing this location",
      "$ref": "https://schema.nfh.global/GeoJSONGeometry/v2.0/schema.json"
    }
  },
  "additionalProperties": false,
  "x-tags": [
    "mobility",
    "geosparql",
    "ride-hailing"
  ]
}
