{
  "$id": "https://schema.nfh.global/Station/v2.0",
  "x-iri": "https://schema.nfh.global/Station/v2.0",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Station",
  "type": "object",
  "description": "A major transit facility serving as a hub for one or more transport modes, typically offering waiting areas, ticketing, and interchange facilities.",
  "properties": {
    "stationId": {
      "description": "Unique identifier for the station",
      "type": "string"
    },
    "stationName": {
      "description": "Human-readable name of the station",
      "type": "string"
    },
    "stationType": {
      "description": "Primary transport mode served (e.g. RAIL, BUS, METRO, FERRY)",
      "type": "string"
    },
    "platforms": {
      "description": "Platforms or quays within this station",
      "$ref": "https://schema.nfh.global/Quay/v2.0/schema.json"
    },
    "levels": {
      "description": "Levels or floors within the station",
      "$ref": "https://schema.nfh.global/Level/v2.0/schema.json"
    },
    "pathways": {
      "description": "Internal navigation pathways within the station",
      "$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",
    "schema-org",
    "ride-hailing"
  ]
}
