Skip to content

Commit

Permalink
Added nationality key to Passenger in FlightBooking
Browse files Browse the repository at this point in the history
  • Loading branch information
Xedros committed Jun 20, 2024
1 parent 075f3c9 commit 992e423
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/schema/flight-booking.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 992e423

Please sign in to comment.