{
  "$id": "https://schema.nfh.global/Timetable/v2.0",
  "x-iri": "https://schema.nfh.global/Timetable/v2.0",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Timetable",
  "type": "object",
  "description": "A structured schedule listing planned arrival and departure times for vehicles at each stop along a route.",
  "properties": {
    "routeRef": {
      "description": "Reference to the route this timetable covers",
      "$ref": "https://schema.nfh.global/Route/v2.0/schema.json"
    },
    "trips": {
      "description": "Vehicle journeys (trips) in this timetable",
      "$ref": "https://schema.nfh.global/VehicleJourney/v2.0/schema.json"
    },
    "validFrom": {
      "description": "Date from which this timetable is valid",
      "type": "string",
      "format": "date-time"
    },
    "validUntil": {
      "description": "Date until which this timetable is valid",
      "type": "string",
      "format": "date-time"
    },
    "id": {
      "description": "Unique identifier for the catalog",
      "type": "string"
    },
    "descriptor": {
      "description": "Human-readable description of the catalog",
      "$ref": "https://schema.nfh.global/Descriptor/v2.1/schema.json"
    },
    "tags": {
      "description": "Tags associated with the catalog",
      "type": "string"
    }
  },
  "additionalProperties": false,
  "x-tags": [
    "mobility",
    "schema-org",
    "ride-hailing"
  ]
}
