{
  "$id": "https://schema.nfh.global/PlanningResult/v2.0",
  "x-iri": "https://schema.nfh.global/PlanningResult/v2.0",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "PlanningResult",
  "type": "object",
  "description": "The output of a MaaS platform planning request, listing available transport options for a requested trip.",
  "properties": {
    "origin": {
      "description": "Origin location for the planning query",
      "$ref": "https://schema.nfh.global/Location/v2.0/schema.json"
    },
    "destination": {
      "description": "Destination location for the planning query",
      "$ref": "https://schema.nfh.global/Location/v2.0/schema.json"
    },
    "options": {
      "description": "Available transport options returned",
      "$ref": "https://schema.nfh.global/RideOption/v2.0/schema.json"
    },
    "itineraries": {
      "description": "Multi-modal itinerary options if applicable",
      "$ref": "https://schema.nfh.global/Itinerary/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"
  ]
}
