diff --git a/spec/components/schema/bookings.yaml b/spec/components/schema/bookings.yaml index c01e161..2f162c8 100644 --- a/spec/components/schema/bookings.yaml +++ b/spec/components/schema/bookings.yaml @@ -377,6 +377,17 @@ components: description: The questions at booking level that need to be answered for this booking. type: object properties: + booking_customer_accommodation: + type: object + description: Deprecated. Use `booking_pick_up_location` instead. + required: + - value + deprecated: true + properties: + value: + type: string + description: Booking accommodation / hotel value. + example: Hilton Miami Downtown hotel booking_pick_up_location: type: object required: diff --git a/spec/components/schema/option.yaml b/spec/components/schema/option.yaml index 4784e2a..52ccd0e 100644 --- a/spec/components/schema/option.yaml +++ b/spec/components/schema/option.yaml @@ -92,10 +92,13 @@ components: properties: question: type: string - description: Name of the question. + description: | + Name of the question. `booking_customer_accommodation` is deprecated: it is always returned + together with `booking_pick_up_location`, which should be answered instead. enum: [ booking_child_safety_seat, booking_cruise_details, + booking_customer_accommodation, booking_pick_up_location, booking_drop_off_address, booking_flight_details,