From 992e423a4bf6928a94b79e5fc6bc326b1616fd86 Mon Sep 17 00:00:00 2001 From: Eduard Badet <34474056+Xedros@users.noreply.github.com> Date: Thu, 20 Jun 2024 04:00:28 +0300 Subject: [PATCH] Added nationality key to Passenger in FlightBooking --- src/schema/flight-booking.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/schema/flight-booking.json b/src/schema/flight-booking.json index 67bb052..d0214e1 100644 --- a/src/schema/flight-booking.json +++ b/src/schema/flight-booking.json @@ -480,6 +480,10 @@ "format": "date", "example": "1976-01-27" }, + "nationality": { + "$ref": "#/domains/Generic/types/CountryCode", + "description": "Nationality according to passport." + }, "addAdditionalLuggage": { "type": "integer", "minimum": 0, @@ -951,6 +955,11 @@ "category": "client", "description": "Passenger document (passport or other travel document) is required by the website" }, + { + "code": "NationalityRequired", + "category": "client", + "description": "Nationality country is required by the website" + }, { "code": "DuplicateBooking", "category": "client",