{
  "$id": "https://schema.nfh.global/TripResult/v2.0",
  "x-iri": "https://schema.nfh.global/TripResult/v2.0",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "TripResult",
  "type": "object",
  "description": "The result of a trip planning request, containing one or more journey options with leg details and timing.",
  "properties": {
    "itineraries": {
      "description": "List of itinerary options in the result",
      "$ref": "https://schema.nfh.global/Itinerary/v2.0/schema.json"
    },
    "requestRef": {
      "description": "Reference to the originating trip request",
      "$ref": "https://schema.nfh.global/TripRequest/v2.0/schema.json"
    },
    "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",
    "ride-hailing"
  ]
}
