From c8a37b005d3567ea772e162bed999187064b1224 Mon Sep 17 00:00:00 2001 From: Kinga Mrugala Date: Thu, 5 Nov 2026 15:23:46 +0100 Subject: [PATCH 1/2] NO-TICKET: Fix itinerary transportation_type documented values Co-Authored-By: Claude Opus 5.5 --- spec/components/schema/itinerary.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/components/schema/itinerary.yaml b/spec/components/schema/itinerary.yaml index 2e6a326..ec63504 100644 --- a/spec/components/schema/itinerary.yaml +++ b/spec/components/schema/itinerary.yaml @@ -90,8 +90,8 @@ components: transportation_type: type: string nullable: true - description: Mode of transport (only present for transfer/transfer_stop items). - example: bus + description: "Mode of transport (only present for transfer/transfer_stop items). Uses the same values as `TransportationType.mode` (e.g. bus_coach, car, van, speed_boat, on_foot); new values may be added, so treat unknown values as a generic transfer." + example: bus_coach ItineraryItemLocation: description: Location of an itinerary stop. type: object From 00c7fbcdb7b1fc6ac8e332c6968108aec5a9f3a9 Mon Sep 17 00:00:00 2001 From: Kinga Mrugala Date: Thu, 5 Nov 2026 15:45:41 +0100 Subject: [PATCH 2/2] Clarify transportation_type values are not validated Co-Authored-By: Claude Opus 5.5 --- spec/components/schema/itinerary.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/components/schema/itinerary.yaml b/spec/components/schema/itinerary.yaml index ec63504..54e3cc5 100644 --- a/spec/components/schema/itinerary.yaml +++ b/spec/components/schema/itinerary.yaml @@ -90,7 +90,7 @@ components: transportation_type: type: string nullable: true - description: "Mode of transport (only present for transfer/transfer_stop items). Uses the same values as `TransportationType.mode` (e.g. bus_coach, car, van, speed_boat, on_foot); new values may be added, so treat unknown values as a generic transfer." + description: "Mode of transport (only present for transfer/transfer_stop items). Same type as `TransportationType.mode` and in practice drawn from its list of values (e.g. bus_coach, car, van, speed_boat, on_foot). Values are not validated against that list and new ones may appear, so treat unknown values as a generic transfer." example: bus_coach ItineraryItemLocation: description: Location of an itinerary stop.