{
  "$id": "https://schema.nfh.global/Stop/v2.0",
  "x-iri": "https://schema.nfh.global/Stop/v2.0",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Stop",
  "type": "object",
  "description": "A designated location where vehicles stop to allow passengers to board or alight from a transport service.",
  "properties": {
    "stopId": {
      "description": "Unique identifier for the stop",
      "type": "string"
    },
    "stopCode": {
      "description": "Short public-facing code for the stop",
      "type": "string"
    },
    "stopName": {
      "description": "Human-readable name of the stop",
      "type": "string"
    },
    "locationType": {
      "description": "Classification of location (0=stop, 1=station, 2=entrance, 3=generic_node, 4=boarding_area)",
      "type": "string"
    },
    "parentStation": {
      "description": "Reference to the parent station if this is a platform",
      "$ref": "https://schema.nfh.global/Station/v2.0/schema.json"
    },
    "wheelchairBoarding": {
      "description": "Wheelchair accessibility (0=no info, 1=accessible, 2=not accessible)",
      "type": "string"
    },
    "id": {
      "description": "Unique identifier for the fulfillment stop",
      "type": "string"
    },
    "location": {
      "description": "Geographic location of the stop",
      "$ref": "https://schema.nfh.global/Location/v2.0/schema.json"
    },
    "type": {
      "description": "Type of stop (start, end, intermediate)",
      "type": "string"
    },
    "instructions": {
      "description": "Instructions for passengers at this stop",
      "$ref": "https://schema.nfh.global/Descriptor/v2.1/schema.json"
    },
    "time": {
      "description": "Expected time window at this stop",
      "$ref": "https://schema.nfh.global/TimePeriod/v2.1/schema.json"
    }
  },
  "additionalProperties": false,
  "x-tags": [
    "mobility",
    "geosparql",
    "schema-org",
    "transmodel-netex",
    "ride-hailing"
  ]
}
