Json 2
Json 2
"{\n \"swagger\": \"2.0\",\n \"info\": {\n \"version\": \"1.3.0\",\n \"title\": \"Flight Offers Price\",\n
\"x-tags\": [\n \"#quick-connect\",\n \"#online-retail\",\n \"#mobile-services\",\n \"#ama-for-
dev\"\n ],\n \"x-status\": \"validated\",\n \"x-release-note\": {\n \"1.3.0\": [\n \"Add
lastTicketingDateTime\"\n ],\n \"1.2.0\": [\n \"Add DetailedFareRules\"\n ],\n \"1.1.0\":
\"Add traveler in pricing input\"\n ],\n \"1.0.0\": [\n \"Initial version\"\n ]\n },\n
\"description\": \"Before using this API, we recommend you read our **[Authorization
Guide](https://developers.amadeus.com/self-service/apis-docs/guides/authorization-262)** for more information on how
generate an access token. \n\nPlease also be aware that our test environment is based on a subset of the production,
you are not returning any results try with big cities/airports like LON (London) or NYC (New-York).\"\n },\n \"hos
\"test.api.amadeus.com\",\n \"basePath\": \"/v1\",\n \"schemes\": [\n \"https\"\n ],\n \"consumes\": [\n
\"application/vnd.amadeus+json\"\n ],\n \"produces\": [\n \"application/vnd.amadeus+json\"\n ],\n \"paths\":
\"/shopping/flight-offers/pricing\": {\n \"post\": {\n \"tags\": [\n \"Shopping\"\n ],\n
\"operationId\": \"quoteAirOffers\",\n \"summary\": \"Confirm pricing of given flightOffers.\",\n
\"parameters\": [\n {\n \"$ref\": \"#/parameters/getOverride\"\n },\n {\n
\"name\": \"priceFlightOffersBody\",\n \"description\": \"list of criteria to confirm the price of a
dedicated flight-offers\",\n \"in\": \"body\",\n \"required\": true,\n \"schema\":
\"title\": \"Get_Price_Query\",\n \"required\": [\n \"data\"\n ],\n
\"properties\": {\n \"data\": {\n \"$ref\": \"#/definitions/FlightOfferPricingIn\"\n
}\n },\n \"example\": {\n \"data\": {\n \"type\": \"flight
offers-pricing\",\n \"flightOffers\": [\n {\n \"type\":
\"flight-offer\",\n \"id\": \"1\",\n \"source\": \"GDS\",\n
\"instantTicketingRequired\": false,\n \"nonHomogeneous\": false,\n
\"oneWay\": false,\n \"lastTicketingDate\": \"2020-08-04\",\n
\"numberOfBookableSeats\": 9,\n \"itineraries\": [\n {\n
\"duration\": \"PT32H15M\",\n \"segments\": [\n {\n
\"departure\": {\n \"iataCode\": \"SYD\",\n \"terminal
\"1\",\n \"at\": \"2021-02-01T19:15:00\"\n },\n
\"arrival\": {\n \"iataCode\": \"SIN\",\n \"terminal\"
\"1\",\n \"at\": \"2021-02-02T00:30:00\"\n },\n
\"carrierCode\": \"TR\",\n \"number\": \"13\",\n \"aircraf
{\n \"code\": \"789\"\n },\n
\"operating\": {\n \"carrierCode\": \"TR\"\n },\n
\"duration\": \"PT8H15M\",\n \"id\": \"1\",\n
\"numberOfStops\": 0,\n \"blacklistedInEU\": false\n },\n
{\n \"departure\": {\n \"iataCode\": \"SIN\",\n
\"terminal\": \"1\",\n \"at\": \"2021-02-02T22:05:00\"\n
},\n \"arrival\": {\n \"iataCode\": \"DMK\",\n
\"terminal\": \"1\",\n \"at\": \"2021-02-02T23:30:00\"\n
},\n \"carrierCode\": \"TR\",\n \"number\": \"868\",\n
\"aircraft\": {\n \"code\": \"788\"\n },\n
\"operating\": {\n \"carrierCode\": \"TR\"\n },\n
\"duration\": \"PT2H25M\",\n \"id\": \"2\",\n
\"numberOfStops\": 0,\n \"blacklistedInEU\": false\n }\n
]\n },\n {\n \"duration\": \"PT15H\",\n
\"segments\": [\n {\n \"departure\": {\n
\"iataCode\": \"DMK\",\n \"terminal\": \"1\",\n \"at\"
\"2021-02-05T23:15:00\"\n },\n \"arrival\": {\n
\"iataCode\": \"SIN\",\n \"terminal\": \"1\",\n \"at\"
\"2021-02-06T02:50:00\"\n },\n \"carrierCode\": \"TR\",\n
\"number\": \"867\",\n \"aircraft\": {\n \"code\": \"788
},\n \"operating\": {\n \"carrierCode\": \"TR\"\n
},\n \"duration\": \"PT2H35M\",\n \"id\": \"5\",\n
\"numberOfStops\": 0,\n \"blacklistedInEU\": false\n },\n
{\n \"departure\": {\n \"iataCode\": \"SIN\",\n
\"terminal\": \"1\",\n \"at\": \"2021-02-06T06:55:00\"\n
},\n \"arrival\": {\n \"iataCode\": \"SYD\",\n
\"terminal\": \"1\",\n \"at\": \"2021-02-06T18:15:00\"\n
},\n \"carrierCode\": \"TR\",\n \"number\": \"12\",\n
\"aircraft\": {\n \"code\": \"789\"\n },\n
\"operating\": {\n \"carrierCode\": \"TR\"\n },\n
\"duration\": \"PT8H20M\",\n \"id\": \"6\",\n
\"numberOfStops\": 0,\n \"blacklistedInEU\": false\n }\n
]\n }\n ],\n \"price\": {\n
\"currency\": \"EUR\",\n \"total\": \"546.70\",\n \"base\": \"334.00\"
\"fees\": [\n {\n \"amount\": \"0.00\",\n
\"type\": \"SUPPLIER\"\n },\n {\n
\"amount\": \"0.00\",\n \"type\": \"TICKETING\"\n }\n
],\n \"grandTotal\": \"546.70\"\n },\n
\"pricingOptions\": {\n \"fareType\": [\n \"PUBLISHED\"\n
],\n \"includedCheckedBagsOnly\": true\n },\n
\"validatingAirlineCodes\": [\n \"HR\"\n ],\n
\"travelerPricings\": [\n {\n \"travelerId\": \"1\",\n
\"fareOption\": \"STANDARD\",\n \"travelerType\": \"ADULT\",\n
\"price\": {\n \"currency\": \"EUR\",\n \"total\": \"546.70\",
\"base\": \"334.00\"\n },\n \"fareDetailsBySegment\": [\n
{\n \"segmentId\": \"1\",\n \"cabin\": \"ECONOMY\",\n
\"fareBasis\": \"O2TR24\",\n \"class\": \"O\",\n
\"includedCheckedBags\": {\n \"weight\": 20,\n
\"weightUnit\": \"KG\"\n }\n },\n
\"segmentId\": \"2\",\n \"cabin\": \"ECONOMY\",\n
\"fareBasis\": \"O2TR24\",\n \"class\": \"O\",\n
\"includedCheckedBags\": {\n \"weight\": 20,\n
\"weightUnit\": \"KG\"\n }\n },\n
\"segmentId\": \"5\",\n \"cabin\": \"ECONOMY\",\n
\"fareBasis\": \"X2TR24\",\n \"class\": \"X\",\n
\"includedCheckedBags\": {\n \"weight\": 20,\n
\"weightUnit\": \"KG\"\n }\n },\n
\"segmentId\": \"6\",\n \"cabin\": \"ECONOMY\",\n
\"fareBasis\": \"H2TR24\",\n \"class\": \"H\",\n
\"includedCheckedBags\": {\n \"weight\": 20,\n
\"weightUnit\": \"KG\"\n }\n }\n ]\
}\n ]\n }\n ]\n }\n }\n
}\n },\n {\n \"name\": \"include\",\n \"description\": \"Sub-resources to be
included:\n * **credit-card-fees** to get the credit card fee applied on the booking\n * **bags** to get extra bag
options\n * **other-services** to get services options\n * **detailed-fare-rules** to get detailed fare rules
options\n\",\n \"in\": \"query\",\n \"type\": \"array\",\n \"items\": {\n
\"type\": \"string\",\n \"enum\": [\n \"credit-card-fees\",\n \"bags\",\n
\"other-services\",\n \"detailed-fare-rules\"\n ]\n },\n
\"collectionFormat\": \"csv\"\n },\n {\n \"name\": \"forceClass\",\n
\"description\": \"parameter to force the usage of booking class for pricing\n- **true**, to for pricing with the
specified booking class\n- **false**, to get the best available price\n\",\n \"in\": \"query\",\n
\"type\": \"boolean\",\n \"default\": false\n }\n ],\n \"responses\": {\n
\"200\": {\n \"$ref\": \"#/responses/returnQuotation\"\n },\n \"400\": {\n
\"$ref\": \"#/responses/400_Prices\"\n },\n \"default\": {\n \"$ref\":
\"#/responses/500\"\n }\n },\n \"description\": \"\"\n }\n }\n },\n \"definitions\"
{\n \"Error_400\": {\n \"properties\": {\n \"errors\": {\n \"type\": \"array\",\n
\"items\": {\n \"$ref\": \"#/definitions/Issue\"\n }\n }\n },\n \"required\": [
\"errors\"\n ],\n \"example\": {\n \"errors\": [\n {\n \"status\": 400,\n
\"code\": 477,\n \"title\": \"INVALID FORMAT\",\n \"detail\": \"invalid query parameter
format\",\n \"source\": {\n \"parameter\": \"airport\",\n \"example\": \"CDG\"\
}\n }\n ]\n }\n },\n \"Error_500\": {\n \"properties\": {\n \"errors\": {\n
\"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/Issue\"\n }\n }\
},\n \"required\": [\n \"errors\"\n ],\n \"example\": {\n \"errors\": [\n {\n
\"status\": 500,\n \"code\": 141,\n \"title\": \"SYSTEM ERROR HAS OCCURRED\"\n }\n
]\n }\n },\n \"Issue\": {\n \"properties\": {\n \"status\": {\n \"description\": \"t
HTTP status code applicable to this error\",\n \"type\": \"integer\"\n },\n \"code\": {\n
\"description\": \"an application-specific error code\",\n \"type\": \"integer\",\n \"format\":
\"int64\"\n },\n \"title\": {\n \"description\": \"a short summary of the error\",\n
\"type\": \"string\"\n },\n \"detail\": {\n \"description\": \"explanation of the error\",\n
\"type\": \"string\"\n },\n \"source\": {\n \"type\": \"object\",\n \"title\":
\"Issue_Source\",\n \"description\": \"an object containing references to the source of the error\",\n
\"maxProperties\": 1,\n \"properties\": {\n \"pointer\": {\n \"description\": \"a J
Pointer [RFC6901] to the associated entity in the request document\",\n \"type\": \"string\"\n
},\n \"parameter\": {\n \"description\": \"a string indicating which URI query parameter cau
the issue\",\n \"type\": \"string\"\n },\n \"example\": {\n
\"description\": \"a string indicating an example of the right value\",\n \"type\": \"string\"\n
}\n }\n }\n }\n },\n \"LocationEntry\": {\n \"additionalProperties\": {\n
\"$ref\": \"#/definitions/LocationValue\"\n }\n },\n \"AircraftEntry\": {\n \"additionalProperties\"
{\n \"description\": \"the manufacturer/model of aircraft\",\n \"type\": \"string\"\n }\n },\n
\"CurrencyEntry\": {\n \"additionalProperties\": {\n \"type\": \"string\",\n \"example\": \"EUR\"
}\n },\n \"CarrierEntry\": {\n \"additionalProperties\": {\n \"description\": \"the carrier name\"
\"type\": \"string\"\n }\n },\n \"FlightSegment\": {\n \"type\": \"object\",\n \"description\":
\"defining a flight segment; including both operating and marketing details when applicable\",\n \"properties\"
{\n \"departure\": {\n \"$ref\": \"#/definitions/FlightEndPoint\"\n },\n \"arrival\":
\"$ref\": \"#/definitions/FlightEndPoint\"\n },\n \"carrierCode\": {\n \"type\": \"string\",\
\"description\": \"providing the airline / carrier code\",\n \"minLength\": 1,\n \"maxLength\": 2,
\"example\": \"DL\"\n },\n \"number\": {\n \"type\": \"string\",\n \"description\":
\"the flight number as assigned by the carrier\",\n \"minLength\": 1,\n \"maxLength\": 4,\n
\"example\": \"212\"\n },\n \"aircraft\": {\n \"$ref\": \"#/definitions/AircraftEquipment\"\n
},\n \"operating\": {\n \"$ref\": \"#/definitions/OperatingFlight\"\n },\n \"duration\
{\n \"type\": \"string\",\n \"description\": \"stop duration in
[ISO8601](https://en.wikipedia.org/wiki/ISO_8601) PnYnMnDTnHnMnS format, e.g. PT2H10M\",\n \"example\":
\"PT2H10M\"\n },\n \"stops\": {\n \"type\": \"array\",\n \"description\": \"informat
regarding the different stops composing the flight segment. E.g. technical stop, change of gauge...\",\n
\"items\": {\n \"$ref\": \"#/definitions/FlightStop\"\n }\n }\n }\n },\n
\"OriginalFlightEndPoint\": {\n \"type\": \"object\",\n \"description\": \"departure or arrival
information\",\n \"properties\": {\n \"iataCode\": {\n \"description\": \"[IATA airline
codes](http://www.iata.org/publications/Pages/code-search.aspx)\",\n \"type\": \"string\",\n
\"example\": \"JFK\"\n },\n \"terminal\": {\n \"description\": \"terminal name / number\",\n
\"type\": \"string\",\n \"example\": \"T2\"\n }\n }\n },\n \"FlightEndPoint\": {\n
\"title\": \"FlightEndPoint\",\n \"description\": \"departure or arrival information\",\n \"allOf\": [\n
{\n \"$ref\": \"#/definitions/OriginalFlightEndPoint\"\n },\n {\n \"type\":
\"object\",\n \"properties\": {\n \"at\": {\n \"description\": \"local date and tim
[ISO8601](https://en.wikipedia.org/wiki/ISO_8601) YYYY-MM-ddThh:mm:ss format, e.g. 2017-02-10T20:40:00\",\n
\"type\": \"string\",\n \"format\": \"date-time\",\n \"example\": \"2017-10-23T20:00:00\"\
}\n }\n }\n ]\n },\n \"OriginalFlightStop\": {\n \"description\": \"details of stops
direct or change of gauge flights\",\n \"type\": \"object\",\n \"properties\": {\n \"iataCode\": {\
\"description\": \"[IATA airline codes](http://www.iata.org/publications/Pages/code-search.aspx)\",\n \"typ
\"string\",\n \"example\": \"JFK\"\n },\n \"duration\": {\n \"type\": \"string\",\n
\"description\": \"stop duration in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) PnYnMnDTnHnMnS format, e.g.
PT2H10M\",\n \"example\": \"PT2H10M\"\n }\n }\n },\n \"FlightStop\": {\n \"title\":
\"FlightStop\",\n \"description\": \"details of stops for direct or change of gauge flights\",\n \"allOf\"
[\n {\n \"$ref\": \"#/definitions/OriginalFlightStop\"\n },\n {\n \"type\":
\"object\",\n \"properties\": {\n \"arrivalAt\": {\n \"description\": \"arrival at
stop in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) YYYY-MM-ddThh:mm:ss format, e.g. 2017-02-10T20:40:00\",\n
\"type\": \"string\",\n \"format\": \"date-time\",\n \"example\": \"2017-10-23T20:00:00\"\
},\n \"departureAt\": {\n \"description\": \"departure from the stop in
[ISO8601](https://en.wikipedia.org/wiki/ISO_8601) YYYY-MM-ddThh:mm:ss format, e.g. 2017-02-10T20:40:00\",\n
\"type\": \"string\",\n \"format\": \"date-time\",\n \"example\": \"2017-10-23T20:00:00\"\
}\n }\n }\n ]\n },\n \"AircraftEquipment\": {\n \"description\": \"information relat
to the aircraft\",\n \"properties\": {\n \"code\": {\n \"type\": \"string\",\n
\"description\": \"IATA aircraft code (http://www.flugzeuginfo.net/table_accodes_iata_en.php)\n\",\n
\"pattern\": \"[a-zA-Z0-9]{3}\",\n \"example\": \"318\"\n }\n }\n },\n \"OperatingFlight\
{\n \"type\": \"object\",\n \"description\": \"information about the operating flight\",\n
\"properties\": {\n \"carrierCode\": {\n \"type\": \"string\",\n \"description\": \"providi
the airline / carrier code\",\n \"minLength\": 1,\n \"maxLength\": 2,\n \"example\": \"DL
}\n }\n },\n \"Price\": {\n \"properties\": {\n \"currency\": {\n \"type\":
\"string\",\n \"example\": \"USD\"\n },\n \"total\": {\n \"description\": \"Total am
paid by the user\",\n \"type\": \"string\",\n \"example\": \"932.70\"\n },\n \"base\
{\n \"description\": \"Amount without taxes\",\n \"type\": \"string\",\n \"example\":
\"632.70\"\n },\n \"fees\": {\n \"description\": \"List of applicable fees\",\n
\"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/Fee\"\n }\n },\n
\"taxes\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/Tax\"\n
}\n },\n \"refundableTaxes\": {\n \"description\": \"The amount of taxes which are
refundable\",\n \"type\": \"string\",\n \"example\": \"200.00\"\n }\n }\n },\n
\"Extended_Price\": {\n \"type\": \"object\",\n \"title\": \"Price\",\n \"description\": \"price
information\",\n \"allOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n
\"margin\": {\n \"description\": \"BOOK step ONLY - The price margin percentage (plus or minus) that th
booking can tolerate. When set to 0, then no price magin is tolerated.\",\n \"type\": \"string\",\n
\"example\": \"1.00\"\n },\n \"grandTotal\": {\n \"description\": \"Total amount
by the user (including fees and selected additional services).\",\n \"type\": \"string\",\n
\"example\": \"987.00\"\n },\n \"billingCurrency\": {\n \"description\": \"Curren
of the payment. It may be different than the requested currency\",\n \"type\": \"string\",\n
\"example\": \"EUR\"\n },\n \"additionalServices\": {\n \"type\": \"array\",\n
\"title\": \"AdditionalServices\",\n \"items\": {\n \"title\": \"AdditionalService\",\n
\"type\": \"object\",\n \"properties\": {\n \"amount\": {\n \"typ
\"string\",\n \"example\": \"332.70\"\n },\n \"type\": {\n
\"$ref\": \"#/definitions/AdditionalServiceType\"\n }\n }\n }\n
}\n }\n },\n {\n \"$ref\": \"#/definitions/Price\"\n }\n ]\n },\n
\"Fee\": {\n \"description\": \"a fee\",\n \"properties\": {\n \"amount\": {\n \"type\":
\"string\",\n \"example\": \"332.70\"\n },\n \"type\": {\n \"$ref\":
\"#/definitions/FeeType\"\n }\n }\n },\n \"FeeType\": {\n \"type\": \"string\",\n
\"description\": \"type of fee\",\n \"enum\": [\n \"TICKETING\",\n \"FORM_OF_PAYMENT\",\n
\"SUPPLIER\"\n ],\n \"example\": \"TICKETING\"\n },\n \"Tax\": {\n \"description\": \"a tax\",\
\"type\": \"object\",\n \"properties\": {\n \"amount\": {\n \"type\": \"string\",\n
\"example\": \"332.70\"\n },\n \"code\": {\n \"type\": \"string\",\n \"example\":
\"MX\"\n }\n }\n },\n \"TravelClass\": {\n \"description\": \"quality of service offered in t
cabin where the seat is located in this flight. Economy, premium economy, business or first class\",\n \"type\"
\"string\",\n \"enum\": [\n \"ECONOMY\",\n \"PREMIUM_ECONOMY\",\n \"BUSINESS\",\n
\"FIRST\"\n ],\n \"example\": \"PREMIUM_ECONOMY\"\n },\n \"Co2Emission\": {\n \"type\":
\"object\",\n \"properties\": {\n \"weight\": {\n \"description\": \"Weight of Co2 emitted for
concerned segment\",\n \"type\": \"integer\",\n \"example\": 90\n },\n \"weightUnit\
{\n \"description\": \"Code to qualify unit as pounds or kilos\",\n \"type\": \"string\",\n
\"example\": \"KG\"\n },\n \"cabin\": {\n \"$ref\": \"#/definitions/TravelClass\"\n }\
}\n },\n \"FlightOffer\": {\n \"title\": \"Flight-offer\",\n \"type\": \"object\",\n \"required
[\n \"type\",\n \"id\"\n ],\n \"properties\": {\n \"type\": {\n \"type\":
\"string\",\n \"description\": \"the resource name\",\n \"example\": \"flight-offer\"\n },\
\"id\": {\n \"description\": \"Id of the flight offer\",\n \"type\": \"string\",\n
\"example\": \"1\"\n },\n \"source\": {\n \"$ref\": \"#/definitions/FlightOfferSource\"\n
},\n \"instantTicketingRequired\": {\n \"description\": \"If true, inform that a ticketing will be
required at booking step.\",\n \"type\": \"boolean\",\n \"example\": false\n },\n
\"disablePricing\": {\n \"description\": \"BOOK step ONLY - If true, allows to book a PNR without pricing.
for the source \"GDS\"\",\n \"type\": \"boolean\",\n \"example\": false\n },\n
\"nonHomogeneous\": {\n \"description\": \"If true, upon completion of the booking, this pricing solution i
expected to yield multiple records (a record contains booking information confirmed and stored, typically a Passenge
Name Record (PNR), in the provider GDS or system)\",\n \"type\": \"boolean\",\n \"example\": false
},\n \"oneWay\": {\n \"description\": \"If true, the flight offer can be combined with other oneWays
flight-offers to complete the whole journey (one-Way combinable feature).\",\n \"type\": \"boolean\",\n
\"example\": false\n },\n \"paymentCardRequired\": {\n \"description\": \"If true, a payment
is mandatory to book this flight offer\",\n \"type\": \"boolean\",\n \"example\": false\n }
\"lastTicketingDate\": {\n \"description\": \"If booked on the same day as the search (with respect to
timezone), this flight offer is guaranteed to be thereafter valid for ticketing until this date (included). Unspecif
when it does not make sense for this flight offer (e.g. no control over ticketing once booked). YYYY-MM-DD format, e
2019-06-07\",\n \"type\": \"string\",\n \"example\": \"2018-06-19\"\n },\n
\"lastTicketingDateTime\": {\n \"description\": \"If booked on the same day as the search (with respect to
timezone), this flight offer is guaranteed to be thereafter valid for ticketing until this date/time (included).
Unspecified when it does not make sense for this flight offer (e.g. no control over ticketing once booked). Informat
only this attribute is not used in input of pricing request. Local date and time in YYYY-MM-ddThh:mm:ss format, e.g.
2017-02-10T20:40:00\",\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"example\"
\"2018-06-19T15:00:00\"\n },\n \"numberOfBookableSeats\": {\n \"description\": \"Number of se
bookable in a single request. Can not be higher than 9.\",\n \"type\": \"number\",\n \"example\":
\"minimum\": 1,\n \"maximum\": 9\n },\n \"itineraries\": {\n \"type\": \"array\",\n
\"minItems\": 1,\n \"maxItems\": 250,\n \"items\": {\n \"title\": \"Itineraries\",\n
\"type\": \"object\",\n \"properties\": {\n \"duration\": {\n \"description\"
\"duration in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) PnYnMnDTnHnMnS format, e.g. PT2H10M for a duration o
2h10m\",\n \"type\": \"string\",\n \"example\": \"PT2H10M\"\n },\n
\"segments\": {\n \"title\": \"Segments\",\n \"type\": \"array\",\n
\"minItems\": 1,\n \"maxItems\": 9,\n \"items\": {\n \"$ref\":
\"#/definitions/Segment\"\n }\n }\n },\n \"required\": [\n
\"segments\"\n ]\n }\n },\n \"price\": {\n \"$ref\":
\"#/definitions/Extended_Price\"\n },\n \"pricingOptions\": {\n \"title\": \"PricingOptions\"
\"type\": \"object\",\n \"properties\": {\n \"fareType\": {\n \"description\": \"ty
of fare of the flight-offer\",\n \"$ref\": \"#/definitions/PricingOptionsFareType\"\n },\n
\"includedCheckedBagsOnly\": {\n \"type\": \"boolean\",\n \"description\": \"If true, retu
the flight-offers with included checked bags only\",\n \"example\": true\n },\n
\"refundableFare\": {\n \"type\": \"boolean\",\n \"description\": \"If true, returns the
flight-offers with refundable fares only\",\n \"example\": true\n },\n
\"noRestrictionFare\": {\n \"type\": \"boolean\",\n \"description\": \"If true, returns th
flight-offers with no restriction fares only\",\n \"example\": true\n },\n
\"noPenaltyFare\": {\n \"type\": \"boolean\",\n \"description\": \"If true, returns the
flight-offers with no penalty fares only\",\n \"example\": true\n }\n }\n },
\"validatingAirlineCodes\": {\n \"description\": \"This option ensures that the system will only consider
offers with these airlines as validating carrier.\",\n \"type\": \"array\",\n \"minItems\": 1,\n
\"maxItems\": 9,\n \"items\": {\n \"type\": \"string\"\n },\n \"example\": [\n
\"AF\"\n ]\n },\n \"travelerPricings\": {\n \"title\": \"TravelerPricings\",\n
\"description\": \"Fare information for each traveler/segment\",\n \"type\": \"array\",\n
\"minItems\": 1,\n \"maxItems\": 18,\n \"items\": {\n \"title\": \"TravelerPricing\",\n
\"required\": [\n \"travelerId\",\n \"fareOption\",\n \"travelerType\",\n
\"fareDetailsBySegment\"\n ],\n \"properties\": {\n \"travelerId\": {\n
\"type\": \"string\",\n \"example\": \"1\",\n \"description\": \"Id of the traveler\"\
},\n \"fareOption\": {\n \"$ref\": \"#/definitions/TravelerPricingFareOption\"\n
},\n \"travelerType\": {\n \"$ref\": \"#/definitions/TravelerType\"\n },\n
\"associatedAdultId\": {\n \"type\": \"string\",\n \"description\": \"if
type=\"HELD_INFANT\", corresponds to the adult traveler's id who will share the seat\"\n },\n
\"price\": {\n \"description\": \"price detail of the traveler\",\n \"$ref\":
\"#/definitions/Price\"\n },\n \"fareDetailsBySegment\": {\n \"type\":
\"array\",\n \"minItems\": 1,\n \"maxItems\": 18,\n \"items\": {\n
\"title\": \"FareDetailsBySegment\",\n \"description\": \"Fare details of the segment\",\n
\"required\": [\n \"segmentId\"\n ],\n \"properties\": {\n
\"segmentId\": {\n \"type\": \"string\",\n \"example\": \"1\",\n
\"description\": \"Id of the segment\"\n },\n \"cabin\": {\n
\"$ref\": \"#/definitions/TravelClass\"\n },\n \"fareBasis\": {\n
\"description\": \"Fare basis specifying the rules of a fare. Usually, though not always, is composed of the booking
class code followed by a set of letters and digits representing other characteristics of the ticket, such as
refundability, minimum stay requirements, discounts or special promotional elements.\",\n \"typ
\"string\",\n \"example\": \"ANNNNF4K\",\n \"pattern\": \"[[A-Z0-9]{1,18}\
},\n \"brandedFare\": {\n \"description\": \"The name of the Fare Family
corresponding to the fares. Only for the GDS provider and if the airline has fare families filled\",\n
\"type\": \"string\",\n \"example\": \"LIGHTONE\"\n },\n
\"class\": {\n \"description\": \"The code of the booking class, a.k.a. class of service or
Reservations/Booking Designator (RBD)\",\n \"type\": \"string\",\n
\"example\": \"A\",\n \"pattern\": \"[A-Z]{1}\"\n },\n
\"isAllotment\": {\n \"description\": \"True if the corresponding booking class is in an
allotment\",\n \"type\": \"boolean\",\n \"example\": true\n
},\n \"allotmentDetails\": {\n \"$ref\": \"#/definitions/AllotmentDetails\"\
},\n \"sliceDiceIndicator\": {\n \"$ref\":
\"#/definitions/SliceDiceIndicator\"\n },\n \"includedCheckedBags\": {\n
\"title\": \"includedCheckedBags\",\n \"$ref\": \"#/definitions/BaggageAllowance\",\n
\"description\": \"Details of the included checked bags\"\n },\n
\"additionalServices\": {\n \"type\": \"object\",\n \"title\":
\"AdditionalServicesRequest\",\n \"properties\": {\n
\"chargeableCheckedBags\": {\n \"title\": \"chargeableCheckedBags\",\n
\"description\": \"Details of chargeable checked bags\",\n \"$ref\":
\"#/definitions/ChargeableCheckdBags\"\n },\n \"chargeableSeat\": {\n
\"title\": \"chargeableSeat\",\n \"description\": \"Details of chargeable seat\",\n
\"$ref\": \"#/definitions/ChargeableSeat\"\n },\n
\"chargeableSeatNumber\": {\n \"type\": \"string\",\n \"descriptio
\"DEPRECATED - use the chargeableSeat attribute - seat number\",\n \"example\": \"33D\",\n
\"pattern\": \"[1-9][0-9]{0,2}[A-Z]?\"\n },\n \"otherServices\": {\n
\"type\": \"array\",\n \"description\": \"Other services to add\",\n
\"items\": {\n \"$ref\": \"#/definitions/ServiceName\"\n },\n
\"example\": [\n \"PRIORITY_BOARDING\"\n ]\n
}\n }\n }\n }\n }\n }\n
}\n }\n }\n }\n }, \n \"Segment\": {\n \"allOf\": [\n {\n \"type\":
\"object\",\n \"properties\": {\n \"id\": {\n \"description\": \"Id of the segment\
\"type\": \"string\",\n \"example\": 1\n },\n \"numberOfStops\": {\n
\"description\": \"Number of stops\",\n \"type\": \"integer\",\n \"example\": 0\n
},\n \"blacklistedInEU\": {\n \"description\": \"When the flight has a marketing or/and
operating airline that is identified as blacklisted by the European Commission. \n\nTo improve travel safety, the
European Commission regularly updates the list of the banned carriers from operating in Europe. It allows any Travel
Agency located in the European Union to easily identify and hide any travel recommendation based on some unsafe
airlines. \nThe [list of the banned airlines](https://ec.europa.eu/transport/sites/transport/files/air-safety-
list_en.pdf) is published in the Official Journal of the European Union, where they are included as annexes A and B
the Commission Regulation. The blacklist of an airline can concern all its flights or some specific aircraft types
pertaining to the airline \n\",\n \"type\": \"boolean\",\n \"example\": false\n
},\n \"co2Emissions\": {\n \"description\": \"Co2 informations\",\n \"type\":
\"array\",\n \"minItems\": 1,\n \"items\": {\n \"title\": \"Co2Emission\",\
\"$ref\": \"#/definitions/Co2Emission\"\n }\n }\n }\n },\n {\n
\"$ref\": \"#/definitions/FlightSegment\"\n }\n ]\n },\n \"TravelerType\": {\n \"type\":
\"string\",\n \"description\": \"traveler type\nage restrictions : CHILD < 12y, HELD_INFANT < 2y, SEATED_INFANT
2y, SENIOR >=60y\n\",\n \"enum\": [\n \"ADULT\",\n \"CHILD\",\n \"SENIOR\",\n
\"YOUNG\",\n \"HELD_INFANT\",\n \"SEATED_INFANT\",\n \"STUDENT\"\n ],\n \"example\":
\"ADULT\"\n },\n \"AdditionalServiceType\": {\n \"type\": \"string\",\n \"description\": \"additiona
service type\",\n \"enum\": [\n \"CHECKED_BAGS\",\n \"MEALS\",\n \"SEATS\",\n
\"OTHER_SERVICES\"\n ],\n \"example\": \"CHECKED_BAGS\"\n },\n \"FlightOfferSource\": {\n
\"description\": \"source of the flight offer\",\n \"type\": \"string\",\n \"enum\": [\n \"GDS\"\n
],\n \"example\": \"GDS\"\n },\n \"PricingOptionsFareType\": {\n \"type\": \"array\",\n
\"description\": \"type of fare of the flight-offer\",\n \"items\": {\n \"type\": \"string\",\n
\"enum\": [\n \"PUBLISHED\"\n ]\n },\n \"example\": [\n \"PUBLISHED\"\n ]\n
},\n \"TravelerPricingFareOption\": {\n \"description\": \"option specifying a group of fares, which may be
valid under certain conditons\nCan be used to specify special fare discount for a passenger\n\",\n \"type\":
\"string\",\n \"enum\": [\n \"STANDARD\",\n \"INCLUSIVE_TOUR\",\n
\"SPANISH_MELILLA_RESIDENT\",\n \"SPANISH_CEUTA_RESIDENT\",\n \"SPANISH_CANARY_RESIDENT\",\n
\"SPANISH_BALEARIC_RESIDENT\",\n \"AIR_FRANCE_METROPOLITAN_DISCOUNT_PASS\",\n
\"AIR_FRANCE_DOM_DISCOUNT_PASS\",\n \"AIR_FRANCE_COMBINED_DISCOUNT_PASS\",\n \"AIR_FRANCE_FAMILY\",\n
\"ADULT_WITH_COMPANION\",\n \"COMPANION\"\n ],\n \"example\": \"STANDARD\"\n },\n
\"SliceDiceIndicator\": {\n \"description\": \"slice and Dice indicator, such as Local Availability, Sub OnD(Or
and Destination) 1 Availability and Sub OnD 2 Availability\",\n \"type\": \"string\",\n \"enum\": [\n
\"LOCAL_AVAILABILITY\",\n \"SUB_OD_AVAILABILITY_1\",\n \"SUB_OD_AVAILABILITY_2\"\n ]\n },\n
\"Dictionaries\": {\n \"type\": \"object\",\n \"properties\": {\n \"locations\": {\n \"$re
\"#/definitions/LocationEntry\"\n },\n \"aircraft\": {\n \"$ref\":
\"#/definitions/AircraftEntry\"\n },\n \"currencies\": {\n \"$ref\":
\"#/definitions/CurrencyEntry\"\n },\n \"carriers\": {\n \"$ref\":
\"#/definitions/CarrierEntry\"\n }\n }\n },\n \"LocationValue\": {\n \"properties\": {\n
\"cityCode\": {\n \"type\": \"string\",\n \"description\": \"City code associated to the airport\"
\"example\": \"PAR\"\n },\n \"countryCode\": {\n \"type\": \"string\",\n
\"description\": \"Country code of the airport\",\n \"example\": \"FR\"\n }\n }\n },\n
\"FareRules\": {\n \"type\": \"object\",\n \"title\": \"FareRules\",\n \"properties\": {\n
\"currency\": {\n \"type\": \"string\",\n \"description\": \"The currency of the penalties\"\n
},\n \"rules\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"items\": {\n
\"$ref\": \"#/definitions/TermAndCondition\"\n }\n }\n }\n },\n \"TermAndCondition\": {\n
\"properties\": {\n \"category\": {\n \"type\": \"string\",\n \"description\": \"This defin
what type of modification is concerned in this rule.\",\n \"enum\": [\n \"REFUND\",\n
\"EXCHANGE\",\n \"REVALIDATION\",\n \"REISSUE\",\n \"REBOOK\",\n
\"CANCELLATION\"\n ],\n \"example\": \"EXCHANGE\"\n },\n \"circumstances\": {\n
\"type\": \"string\"\n },\n \"notApplicable\": {\n \"type\": \"boolean\"\n },\n
\"maxPenaltyAmount\": {\n \"type\": \"string\"\n },\n \"descriptions\": {\n \"type\"
\"array\",\n \"items\": {\n \"title\": \"Description\",\n \"properties\": {\n
\"descriptionType\": {\n \"type\": \"string\"\n },\n \"text\": {\n
\"type\": \"string\"\n }\n }\n }\n }\n }\n },\n
\"FlightOfferPricingIn\": {\n \"title\": \"FlightOfferPricing-Input\",\n \"type\": \"object\",\n
\"description\": \"input parameter to price flight offers element\",\n \"required\": [\n \"type\",\n
\"flightOffers\"\n ],\n \"properties\": {\n \"type\": {\n \"description\": \"the resource
name\",\n \"type\": \"string\",\n \"example\": \"flight-offer-pricing\"\n },\n
\"flightOffers\": {\n \"description\": \"list of flight offer to price\",\n \"type\": \"array\",\n
\"minItems\": 1,\n \"maxItems\": 6,\n \"items\": {\n \"$ref\":
\"#/definitions/FlightOffer\"\n }\n },\n \"payments\": {\n \"description\": \"paymen
information for retrieve eventual credit card fees\",\n \"type\": \"array\",\n \"maxItems\": 6,\n
\"items\": {\n \"title\": \"Payment\",\n \"type\": \"object\",\n \"properties\": {\
\"brand\": {\n \"$ref\": \"#/definitions/PaymentBrand\"\n },\n \"binNumber\
{\n \"description\": \"The first 6 digits of the credit card\",\n \"type\": \"integer\
\"example\": 123456,\n \"pattern\": \"[0-9]{6}\"\n },\n \"flightOfferIds\":
\"description\": \"Id of the flightOffers to pay\",\n \"type\": \"array\",\n \"minItem
1,\n \"maxItems\": 6,\n \"items\": {\n \"type\": \"string\"\n
},\n \"example\": \"1\"\n }\n }\n }\n },\n \"travelers
{\n \"description\": \"list of travelers\",\n \"type\": \"array\",\n \"maxItems\": 18,\n
\"items\": {\n \"$ref\": \"#/definitions/Traveler\"\n }\n }\n }\n },\n
\"FlightOfferPricingOut\": {\n \"title\": \"FlightOfferPricing-Output\",\n \"type\": \"object\",\n
\"description\": \"priced flight Offers and conditions\",\n \"required\": [\n \"type\",\n
\"flightOffers\"\n ],\n \"properties\": {\n \"type\": {\n \"description\": \"the resource
name\",\n \"type\": \"string\",\n \"example\": \"flight-offer-pricing\"\n },\n
\"flightOffers\": {\n \"description\": \"list of flight offer to price\",\n \"type\": \"array\",\n
\"minItems\": 1,\n \"maxItems\": 6,\n \"items\": {\n \"$ref\":
\"#/definitions/FlightOffer\"\n }\n },\n \"bookingRequirements\": {\n \"type\":
\"object\",\n \"title\": \"BookingRequirements\",\n \"description\": \"pricing condition at bookin
level\",\n \"properties\": {\n \"invoiceAddressRequired\": {\n \"type\": \"boolean\
\"description\": \"If true, an invoice address is required for the creation of the flight-order\",\n
\"example\": true\n },\n \"mailingAddressRequired\": {\n \"type\": \"boolean\",\n
\"description\": \"If true, a postal address is required for the creation of the flight-order\",\n
\"example\": true\n },\n \"emailAddressRequired\": {\n \"type\": \"boolean\",\n
\"description\": \"If true, an email address is required for the creation of the flight-order\",\n
\"example\": true\n },\n \"phoneCountryCodeRequired\": {\n \"type\": \"boolean\",
\"description\": \"If true, the phone country code (e.g. '33') associated for each phone number is required for the
creation of the flight-order\",\n \"example\": true\n },\n
\"mobilePhoneNumberRequired\": {\n \"type\": \"boolean\",\n \"description\": \"If true, a
mobile phone number is required for the creation of the flight-order\",\n \"example\": true\n
},\n \"phoneNumberRequired\": {\n \"type\": \"boolean\",\n \"description\": \"I
true, a phone number is required for the creation of the flight-order\",\n \"example\": true\n
},\n \"postalCodeRequired\": {\n \"type\": \"boolean\",\n \"description\": \"If
true, a postal code is required for the creation of the flight-order\",\n \"example\": true\n
},\n \"travelerRequirements\": {\n \"type\": \"array\",\n \"description\":
\"traveler pricing condition\",\n \"items\": {\n \"title\": \"PassengerConditions\",\n
\"properties\": {\n \"travelerId\": {\n \"type\": \"string\",\n
\"description\": \"Id of the traveler\",\n \"example\": 1\n },\n
\"genderRequired\": {\n \"type\": \"boolean\",\n \"description\": \"If true, t
gender is required for the concerned traveler for the creation of the flight-order\",\n \"example
true\n },\n \"documentRequired\": {\n \"type\": \"boolean\",\n
\"description\": \"If true, a document is required for the concerned traveler for the creation of the flight-order\"
\"example\": true\n },\n \"documentIssuanceCityRequired\": {\n
\"type\": \"boolean\",\n \"description\": \"If true, the isuance city of the document is required
the concerned traveler for the creation of the flight-order\",\n \"example\": true\n
},\n \"dateOfBirthRequired\": {\n \"type\": \"boolean\",\n
\"description\": \"If true, the date of bitrth is required for the concerned traveler for the creation of the flight
order\",\n \"example\": true\n },\n \"redressRequiredIfAny\": {
\"type\": \"boolean\",\n \"description\": \"If true, the redress is required if any for the conce
traveler for the creation of the flight-order\",\n \"example\": true\n },\n
\"airFranceDiscountRequired\": {\n \"type\": \"boolean\",\n \"description\": \
true, the Air France discount is required for the concerned traveler for the creation of the flight-order\",\n
\"example\": false\n },\n \"spanishResidentDiscountRequired\": {\n
\"type\": \"boolean\",\n \"description\": \"If true, the Spanish resident discount is required fo
the concerned traveler for the creation of the flight-order\",\n \"example\": false\n
},\n \"residenceRequired\": {\n \"type\": \"boolean\",\n
\"description\": \"If true, the address is required for the concerned traveler for the creation of the flight-order\
\"example\": true\n }\n }\n }\n }\n }\n }\n
}\n },\n \"CreditCardFee\": {\n \"title\": \"creditCardFee\",\n \"type\": \"object\",\n
\"properties\": {\n \"brand\": {\n \"$ref\": \"#/definitions/PaymentBrand\"\n },\n
\"amount\": {\n \"type\": \"string\",\n \"example\": \"1\"\n },\n \"currency\": {\n
\"type\": \"string\",\n \"example\": \"USD\"\n },\n \"flightOfferId\": {\n
\"description\": \"Id of the flightOffer concerned by the credit card fee\",\n \"type\": \"string\",\n
\"example\": \"1\"\n }\n }\n },\n \"PaymentBrand\": {\n \"description\": \"credit card brand\
\"type\": \"string\",\n \"enum\": [\n \"VISA\",\n \"AMERICAN_EXPRESS\",\n \"MASTERCARD\",\
\"VISA_ELECTRON\",\n \"VISA_DEBIT\",\n \"MASTERCARD_DEBIT\",\n \"MAESTRO\",\n \"DINERS\"
\"MASTERCARD_IXARIS\",\n \"VISA_IXARIS\",\n \"MASTERCARD_AIRPLUS\",\n \"UATP_AIRPLUS\"\n ]
\"example\": \"VISA_IXARIS\"\n },\n \"DetailedFareRules\": {\n \"title\": \"detailedFareRules\",\n
\"type\": \"object\",\n \"properties\": {\n \"fareBasis\": {\n \"type\": \"string\",\n
\"example\": \"VRDFR9\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n
\"fareNotes\": {\n \"$ref\": \"#/definitions/TermAndCondition\"\n },\n \"segmentId\": {\n
\"description\": \"Id of the segment concerned by the fare rule\",\n \"type\": \"string\",\n
\"example\": \"1\"\n }\n }\n },\n \"Bags\": {\n \"description\": \"checked bag\",\n
\"allOf\": [\n {\n \"$ref\": \"#/definitions/BaggageAllowance\"\n },\n {\n
\"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"description\": \"Type o
service\",\n \"type\": \"string\",\n \"example\": \"CHECKED_BAG\"\n },\n
\"price\": {\n \"$ref\": \"#/definitions/ElementaryPrice\"\n },\n
\"bookableByItinerary\": {\n \"description\": \"Specify if the service is bookable by itinerary or for
itineraries\",\n \"type\": \"boolean\",\n \"example\": false\n },\n
\"segmentIds\": {\n \"description\": \"Id of the segment concerned by the service\",\n
\"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n
\"example\": \"1\"\n },\n \"travelerIds\": {\n \"description\": \"Id of the trave
concerned by the service\",\n \"type\": \"array\",\n \"items\": {\n \"type\
\"string\"\n },\n \"example\": \"1\"\n }\n }\n }\n ]\n
\"ElementaryPrice\": {\n \"description\": \"elementaryPrice\",\n \"type\": \"object\",\n \"properties
{\n \"amount\": {\n \"type\": \"string\",\n \"description\": \"Amount of the fare. could be
alpha numeric. Ex- 500.20 or 514.13A, 'A'signifies additional collection.\"\n },\n \"currencyCode\": {
\"type\": \"string\",\n \"description\": \"Currency type of the fare.\"\n }\n }\n },\n
\"BaggageAllowance\": {\n \"description\": \"baggageAllowance\",\n \"type\": \"object\",\n
\"properties\": {\n \"quantity\": {\n \"type\": \"integer\",\n \"description\": \"Total num
of units\",\n \"example\": 1\n },\n \"weight\": {\n \"type\": \"integer\",\n
\"description\": \"Weight of the baggage allowance\",\n \"example\": 20\n },\n \"weightUnit\"
{\n \"type\": \"string\",\n \"description\": \"Code to qualify unit as pounds or kilos\",\n
\"example\": \"KG\"\n }\n }\n },\n \"OtherServices\": {\n \"title\": \"Service\",\n
\"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"$ref\": \"#/definitions/ServiceName
},\n \"price\": {\n \"$ref\": \"#/definitions/ElementaryPrice\"\n },\n
\"bookableByTraveler\": {\n \"description\": \"Specify if the service is bookable by traveler or for all
travelers\",\n \"type\": \"boolean\",\n \"example\": true\n },\n
\"bookableByItinerary\": {\n \"description\": \"Specify if the service is bookable by itinerary or for all
itineraries\",\n \"type\": \"boolean\",\n \"example\": false\n },\n \"segmentIds\":
\"description\": \"Id of the segment concerned by the service\",\n \"type\": \"array\",\n \"items\
{\n \"type\": \"string\"\n },\n \"example\": \"1\"\n },\n \"travelerIds\"
{\n \"description\": \"Id of the traveler concerned by the service\",\n \"type\": \"array\",\n
\"items\": {\n \"type\": \"string\"\n },\n \"example\": \"1\"\n }\n }\n
\"ServiceName\": {\n \"description\": \"type of service\",\n \"type\": \"string\",\n \"enum\": [\n
\"PRIORITY_BOARDING\",\n \"AIRPORT_CHECKIN\"\n ],\n \"example\": \"PRIORITY_BOARDING\"\n },\n
\"Stakeholder\": {\n \"type\": \"object\",\n \"description\": \"stakeholder definition\",\n
\"properties\": {\n \"id\": {\n \"description\": \"item identifier\",\n \"type\": \"string\
},\n \"dateOfBirth\": {\n \"type\": \"string\",\n \"format\": \"date\",\n
\"description\": \"The date of birth in ISO 8601 format (yyyy-mm-dd)\"\n },\n \"gender\": {\n
\"$ref\": \"#/definitions/StakeholderGender\"\n },\n \"name\": {\n \"$ref\":
\"#/definitions/Name\"\n },\n \"documents\": {\n \"type\": \"array\",\n \"descriptio
\"Advanced Passenger Information - regulatory identity documents - SSR DOCS & DOCO elements\",\n \"items\":
\"$ref\": \"#/definitions/IdentityDocument\"\n }\n }\n }\n },\n \"StakeholderGender\": {\
\"type\": \"string\",\n \"description\": \"The gender\",\n \"enum\": [\n \"MALE\",\n
\"FEMALE\"\n ],\n \"example\": \"FEMALE\"\n },\n \"IdentityDocument\": {\n \"title\": \"travele
documents\",\n \"description\": \"documents of the traveler\",\n \"allOf\": [\n {\n \"$ref
\"#/definitions/Document\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n
\"documentType\": {\n \"$ref\": \"#/definitions/DocumentType\"\n },\n
\"validityCountry\": {\n \"type\": \"string\",\n \"description\": \"[ISO 3166-1
alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country where the document is valid\",\n
\"example\": \"IN\",\n \"pattern\": \"[a-zA-Z]{2}\"\n },\n \"birthCountry\": {\n
\"type\": \"string\",\n \"description\": \"[ISO 3166-1
alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country of birth\",\n \"example\":
\"FR\",\n \"pattern\": \"[a-zA-Z]{2}\"\n },\n \"holder\": {\n \"type
\"boolean\",\n \"description\": \"boolean to specify if the traveler is the holder of the document\",\n
\"example\": true\n }\n }\n }\n ]\n },\n \"Document\": {\n \"type\":
\"object\",\n \"description\": \"the information that are found on an ID document\",\n \"properties\": {\n
\"number\": {\n \"type\": \"string\",\n \"description\": \"The document number (shown on the docum
. E.g. QFU514563221J\"\n },\n \"issuanceDate\": {\n \"type\": \"string\",\n
\"description\": \"Date at which the document has been issued.\",\n \"format\": \"date\"\n },\n
\"expiryDate\": {\n \"type\": \"string\",\n \"description\": \"Date after which the document is no
valid anymore.\",\n \"format\": \"date\"\n },\n \"issuanceCountry\": {\n \"type\":
\"string\",\n \"description\": \"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of
country that issued the document\",\n \"pattern\": \"[a-zA-Z]{2}\"\n },\n \"issuanceLocation\
{\n \"type\": \"string\",\n \"description\": \"A more precise information concerning the place whe
the document has been issued, when available. It may be a country, a state, a city or any other type of location. e.
New-York\"\n },\n \"nationality\": {\n \"type\": \"string\",\n \"description\": \"[I
3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the nationality appearing on the document\",\n
\"pattern\": \"[a-zA-Z]{2}\"\n },\n \"birthPlace\": {\n \"type\": \"string\",\n
\"description\": \"Birth place as indicated on the document\"\n }\n }\n },\n \"DocumentType\": {\n
\"type\": \"string\",\n \"description\": \"the nature/type of the document\",\n \"enum\": [\n
\"VISA\",\n \"PASSPORT\",\n \"IDENTITY_CARD\",\n \"KNOWN_TRAVELER\",\n \"REDRESS\"\n
],\n \"example\": \"VISA\"\n },\n \"EmergencyContact\": {\n \"type\": \"object\",\n
\"description\": \"emergency contact number\",\n \"properties\": {\n \"addresseeName\": {\n
\"type\": \"string\",\n \"description\": \"Adressee name (e.g. in case of emergency purpose it corresponds
name of the person to be contacted).\",\n \"pattern\": \"[a-zA-Z -]\"\n },\n \"countryCode\":
\"type\": \"string\",\n \"description\": \"Country code of the country (ISO3166-1). E.g. \"US\" for the Uni
States\",\n \"pattern\": \"[A-Z]{2}\"\n },\n \"number\": {\n \"type\": \"string\",\n
\"description\": \"Phone number. Composed of digits only. The number of digits depends on the country.\",\n
\"pattern\": \"[0-9]{1,15}\"\n },\n \"text\": {\n \"type\": \"string\",\n
\"description\": \"additional details\"\n }\n }\n },\n \"LoyaltyProgram\": {\n \"title\":
\"LoyaltyProgram\",\n \"description\": \"loyalty program information\",\n \"type\": \"object\",\n
\"properties\": {\n \"programOwner\": {\n \"type\": \"string\",\n \"description\": \"loyalt
program airline code\",\n \"example\": \"AF\"\n },\n \"id\": {\n \"type\": \"string\
\"description\": \"loyalty program number\",\n \"example\": \"12357466574\"\n }\n }\n },\n
\"Discount\": {\n \"title\": \"Discount\",\n \"description\": \"traveler discount\",\n \"type\":
\"object\",\n \"properties\": {\n \"subType\": {\n \"$ref\": \"#/definitions/DiscountType\"\n
},\n \"cityName\": {\n \"type\": \"string\",\n \"description\": \"city of residence\",\n
\"example\": \"MADRID\"\n },\n \"travelerType\": {\n \"$ref\":
\"#/definitions/DiscountTravelerType\"\n },\n \"cardNumber\": {\n \"type\": \"string\",\n
\"description\": \"resident card number\",\n \"example\": \"12568215Z\",\n \"pattern\":
\"[0-9A-Z][0-9]{0,12}[A-Z]\"\n },\n \"certificateNumber\": {\n \"type\": \"string\",\n
\"description\": \"resident certificate number\",\n \"example\": \"12568215Z\",\n \"pattern\":
\"[0-9A-Z][0-9]{0,12}[A-Z]\"\n }\n }\n },\n \"DiscountType\": {\n \"description\": \"type of
discount applied\",\n \"type\": \"string\",\n \"enum\": [\n \"SPANISH_RESIDENT\",\n
\"AIR_FRANCE_DOMESTIC\",\n \"AIR_FRANCE_COMBINED\",\n \"AIR_FRANCE_METROPOLITAN\"\n ],\n
\"example\": \"SPANISH_RESIDENT\"\n },\n \"DiscountTravelerType\": {\n \"description\": \"type of discoun
applied\",\n \"type\": \"string\",\n \"enum\": [\n \"SPANISH_CITIZEN\",\n
\"EUROPEAN_CITIZEN\",\n \"GOVERNMENT_WORKER\",\n \"MILITARY\",\n \"MINOR_WITHOUT_ID\"\n ],
\"example\": \"SPANISH_CITIZEN\"\n },\n \"Traveler\": {\n \"title\": \"traveler element\",\n
\"description\": \"the traveler of the trip\",\n \"allOf\": [\n {\n \"$ref\":
\"#/definitions/Stakeholder\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n
\"emergencyContact\": {\n \"description\": \"emergency contact\",\n \"$ref\":
\"#/definitions/EmergencyContact\"\n },\n \"loyaltyPrograms\": {\n \"description\
\"list of loyalty program followed by the traveler\",\n \"type\": \"array\",\n \"minItems\
0,\n \"maxItems\": 10,\n \"items\": {\n \"$ref\":
\"#/definitions/LoyaltyProgram\"\n }\n },\n \"discountEligibility\": {\n
\"description\": \"list of element that allow a discount.\",\n \"type\": \"array\",\n
\"minItems\": 0,\n \"maxItems\": 10,\n \"items\": {\n \"$ref\":
\"#/definitions/Discount\"\n }\n },\n \"contact\": {\n \"$ref\":
\"#/definitions/Contact\"\n }\n }\n }\n ]\n },\n \"Contact\": {\n
\"description\": \"contact information\",\n \"allOf\": [\n {\n \"$ref\":
\"#/definitions/ContactDictionary\"\n },\n {\n \"type\": \"object\",\n \"properties\
{\n \"phones\": {\n \"description\": \"Phone numbers\",\n \"type\": \"array\",\
\"maxItems\": 3,\n \"items\": {\n \"$ref\": \"#/definitions/Phone\"\n }\n
},\n \"companyName\": {\n \"description\": \"Name of the company\",\n \"type\":
\"string\",\n \"example\": \"AMADEUS\"\n },\n \"emailAddress\": {\n
\"type\": \"string\",\n \"description\": \"Email address (e.g. john@smith.com)\",\n
\"example\": \"support@mail.com\"\n }\n }\n }\n ]\n },\n \"ContactPurpose\": {
\"description\": \"the purpose for which this contact is to be used\",\n \"type\": \"string\",\n \"enum\":
\"STANDARD\",\n \"INVOICE\",\n \"STANDARD_WITHOUT_TRANSMISSION\"\n ]\n },\n
\"ContactDictionary\": {\n \"description\": \"represents a contact\",\n \"type\": \"object\",\n
\"properties\": {\n \"addresseeName\": {\n \"description\": \"the name of the person addressed by th
contact details\",\n \"$ref\": \"#/definitions/Name\"\n },\n \"address\": {\n \"$ref
\"#/definitions/Address\"\n },\n \"language\": {\n \"description\": \"the preferred language
communication with this Contact\",\n \"type\": \"string\"\n },\n \"purpose\": {\n
\"$ref\": \"#/definitions/ContactPurpose\"\n }\n }\n },\n \"Name\": {\n \"title\": \"name\",\
\"description\": \"name\",\n \"allOf\": [\n {\n \"$ref\": \"#/definitions/BaseName\"\n }
{\n \"type\": \"object\",\n \"properties\": {\n \"secondLastName\": {\n
\"description\": \"second last name\",\n \"type\": \"string\"\n }\n }\n }\n
]\n },\n \"BaseName\": {\n \"type\": \"object\",\n \"description\": \"description of the name of a
physical person\",\n \"properties\": {\n \"firstName\": {\n \"description\": \"First name.\",\n
\"type\": \"string\"\n },\n \"lastName\": {\n \"description\": \"Last name.\",\n
\"type\": \"string\"\n },\n \"middleName\": {\n \"description\": \"Middle name(s), for exampl
\"Lee\" in \"John Lee Smith\".\",\n \"type\": \"string\"\n }\n }\n },\n \"Phone\": {\n
\"type\": \"object\",\n \"description\": \"phone information\",\n \"properties\": {\n \"deviceType\
{\n \"$ref\": \"#/definitions/PhoneDeviceType\"\n },\n \"countryCallingCode\": {\n
\"type\": \"string\",\n \"description\": \"Country calling code of the phone number, as defined by the
International Communication Union. Examples - \"1\" for US, \"371\" for Latvia.\",\n \"pattern\":
\"[0-9+]{2,5}\"\n },\n \"number\": {\n \"type\": \"string\",\n \"description\": \"Ph
number. Composed of digits only. The number of digits depends on the country.\",\n \"pattern\":
\"[0-9]{1,15}\"\n }\n }\n },\n \"PhoneDeviceType\": {\n \"type\": \"string\",\n
\"description\": \"Type of the device (Landline, Mobile or Fax)\",\n \"enum\": [\n \"MOBILE\",\n
\"LANDLINE\",\n \"FAX\"\n ]\n },\n \"Address\": {\n \"type\": \"object\",\n \"descriptio
\"address information\",\n \"properties\": {\n \"lines\": {\n \"type\": \"array\",\n
\"description\": \"Line 1 = Street address, Line 2 = Apartment, suite, unit, building, floor, etc\",\n
\"items\": {\n \"type\": \"string\"\n }\n },\n \"postalCode\": {\n \"type
\"string\",\n \"description\": \"Example: 74130\"\n },\n \"countryCode\": {\n \"type
\"string\",\n \"description\": \"country code [ISO 3166-1 country
code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)\",\n \"pattern\": \"[a-zA-Z]{2}\"\n },\n
\"cityName\": {\n \"type\": \"string\",\n \"description\": \"Full city name. Example: Dublin\",\n
\"pattern\": \"[a-zA-Z -]{1,35}\"\n },\n \"stateName\": {\n \"type\": \"string\",\n
\"description\": \"Full state name\"\n },\n \"postalBox\": {\n \"type\": \"string\",\n
\"description\": \"E.g. BP 220\"\n }\n }\n },\n \"AllotmentDetails\": {\n \"title\":
\"AllotmentDetails\",\n \"type\": \"object\",\n \"properties\": {\n \"tourName\": {\n
\"description\": \"The tour name agreed for this specific allotment.\",\n \"type\": \"string\"\n },\
\"tourReference\": {\n \"description\": \"The tour reference agreed for this specific allotment.\",\n
\"type\": \"string\"\n }\n }\n },\n \"ChargeableCheckdBags\": {\n \"description\": \"Details
chargeable checked bags\",\n \"allOf\": [\n {\n \"$ref\": \"#/definitions/BaggageAllowance\"\n
},\n {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n
\"description\": \"Id of the chargeable bag\",\n \"type\": \"string\",\n \"example\": \"1\
}\n }\n }\n ]\n },\n \"ChargeableSeat\": {\n \"description\": \"Details of chargeabl
seat\",\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"description\": \"Id of
chargeable seat\",\n \"type\": \"string\",\n \"example\": \"1\"\n },\n \"number\": {
\"type\": \"string\",\n \"description\": \"seat number\",\n \"example\": \"33D\",\n
\"pattern\": \"[1-9][0-9]{0,2}[A-Z]?\"\n }\n }\n }\n },\n \"responses\": {\n \"500\": {\n
\"description\": \"Unexpected error\",\n \"schema\": {\n \"$ref\": \"#/definitions/Error_500\"\n }\
},\n \"returnQuotation\": {\n \"description\": \"Successful Operation\",\n \"schema\": {\n
\"title\": \"Success_Pricing\",\n \"type\": \"object\",\n \"required\": [\n \"data\"\n
],\n \"properties\": {\n \"warnings\": {\n \"type\": \"array\",\n \"items\": {
\"$ref\": \"#/definitions/Issue\"\n }\n },\n \"data\": {\n \"$ref\":
\"#/definitions/FlightOfferPricingOut\"\n },\n \"included\": {\n \"title\": \"included
resources map\",\n \"properties\": {\n \"credit-card-fees\": {\n \"descriptio
\"Map of fee applied by credit card brand\",\n \"additionalProperties\": {\n \"$ref\
\"#/definitions/CreditCardFee\"\n }\n },\n \"bags\": {\n
\"description\": \"Map of fee applied by bag option\",\n \"additionalProperties\": {\n
\"$ref\": \"#/definitions/Bags\"\n }\n },\n \"other-services\": {\n
\"description\": \"Map of fee applied by service\",\n \"additionalProperties\": {\n
\"$ref\": \"#/definitions/OtherServices\"\n }\n },\n \"detailed-fare-rules\
{\n \"description\": \"Map of fare rules applied by farebasis\",\n
\"additionalProperties\": {\n \"$ref\": \"#/definitions/DetailedFareRules\"\n }\n
}\n }\n },\n \"dictionaries\": {\n \"$ref\": \"#/definitions/Dictionaries\"\
}\n },\n \"example\": {\n \"data\": {\n \"type\": \"flight-offers-pricing\",\n
\"flightOffers\": [\n {\n \"type\": \"flight-offer\",\n \"id\": \"1\",\n
\"source\": \"GDS\",\n \"instantTicketingRequired\": false,\n \"nonHomogeneous\": fals
\"lastTicketingDate\": \"2020-03-01\",\n \"itineraries\": [\n {\n
\"segments\": [\n {\n \"departure\": {\n
\"iataCode\": \"GIG\",\n \"at\": \"2020-03-01T23:30:00\"\n },\n
\"arrival\": {\n \"iataCode\": \"CMN\",\n \"terminal\": \"2\",\n
\"at\": \"2020-03-02T12:10:00\"\n },\n \"carrierCode\": \"AT\",\n
\"number\": \"212\",\n \"aircraft\": {\n \"code\": \"788\"\n
},\n \"operating\": {\n \"carrierCode\": \"AT\"\n
},\n \"id\": \"3\",\n \"numberOfStops\": 0,\n
\"duration\": \"PT8H40M\"\n },\n {\n \"departure\":
\"iataCode\": \"CMN\",\n \"terminal\": \"2\",\n \"at\":
\"2020-03-02T15:45:00\"\n },\n \"arrival\": {\n
\"iataCode\": \"MAD\",\n \"at\": \"2020-03-02T17:40:00\",\n
\"terminal\": \"4S\"\n },\n \"carrierCode\": \"AT\",\n
\"number\": \"970\",\n \"aircraft\": {\n \"code\": \"73G\"\n
},\n \"operating\": {\n \"carrierCode\": \"AT\"\n
},\n \"id\": \"4\",\n \"numberOfStops\": 0,\n
\"duration\": \"PT1H55M\"\n }\n ]\n },\n {
\"segments\": [\n {\n \"departure\": {\n
\"iataCode\": \"MAD\",\n \"terminal\": \"4S\",\n \"at\":
\"2020-03-05T18:40:00\"\n },\n \"arrival\": {\n
\"iataCode\": \"CMN\",\n \"at\": \"2020-03-05T20:30:00\",\n
\"terminal\": \"2\"\n },\n \"carrierCode\": \"AT\",\n
\"number\": \"971\",\n \"aircraft\": {\n \"code\": \"738\"\n
},\n \"operating\": {\n \"carrierCode\": \"AT\"\n
},\n \"id\": \"47\",\n \"numberOfStops\": 0,\n
\"duration\": \"PT1H50M\"\n },\n {\n \"departure\":
\"iataCode\": \"CMN\",\n \"at\": \"2020-03-06T16:40:00\",\n
\"terminal\": \"2\"\n },\n \"arrival\": {\n
\"iataCode\": \"GIG\",\n \"at\": \"2020-03-06T22:00:00\"\n },\n
\"carrierCode\": \"AT\",\n \"number\": \"213\",\n \"aircraft\": {\n
\"code\": \"788\"\n },\n \"operating\": {\n
\"carrierCode\": \"AT\"\n },\n \"id\": \"48\",\n
\"numberOfStops\": 0,\n \"duration\": \"PT9H20M\"\n }\n
]\n }\n ],\n \"price\": {\n \"currency\": \"USD\",\n
\"total\": \"2778.98\",\n \"base\": \"2568.00\",\n \"fees\": [\n
{\n \"amount\": \"0.00\",\n \"type\": \"SUPPLIER\"\n },
{\n \"amount\": \"0.00\",\n \"type\": \"TICKETING\"\n }
{\n \"amount\": \"0.00\",\n \"type\": \"FORM_OF_PAYMENT\"\n
}\n ],\n \"grandTotal\": \"2778.98\",\n \"billingCurrency\":
\"USD\"\n },\n \"pricingOptions\": {\n \"fareType\": [\n
\"PUBLISHED\"\n ],\n \"includedCheckedBagsOnly\": true\n },\n
\"validatingAirlineCodes\": [\n \"AT\"\n ],\n \"travelerPricings\": [
{\n \"travelerId\": \"1\",\n \"fareOption\": \"STANDARD\",\n
\"travelerType\": \"ADULT\",\n \"price\": {\n \"currency\": \"USD\",\n
\"total\": \"1625.49\",\n \"base\": \"1520.00\",\n \"taxes\": [\n
{\n \"amount\": \"31.99\",\n \"code\": \"BR\"\n
},\n {\n \"amount\": \"24.27\",\n \"code\":
\"JD\"\n },\n {\n \"amount\": \"44.59\",\n
\"code\": \"MA\"\n },\n {\n \"amount\":
\"0.69\",\n \"code\": \"OG\"\n },\n {\n
\"amount\": \"3.95\",\n \"code\": \"QV\"\n }\n
},\n \"fareDetailsBySegment\": [\n {\n \"segmentId\":
\"3\",\n \"cabin\": \"BUSINESS\",\n \"fareBasis\": \"DA0R0BRA\",\n
\"class\": \"D\",\n \"includedCheckedBags\": {\n \"quantity\": 3\n
}\n },\n {\n \"segmentId\": \"4\",\n
\"cabin\": \"BUSINESS\",\n \"fareBasis\": \"DA0R0BRA\",\n \"class\":
\"D\",\n \"includedCheckedBags\": {\n \"quantity\": 3\n
}\n },\n {\n \"segmentId\": \"47\",\n
\"cabin\": \"ECONOMY\",\n \"fareBasis\": \"XL0R0BRA\",\n \"class\":
\"X\",\n \"includedCheckedBags\": {\n \"quantity\": 2\n
}\n },\n {\n \"segmentId\": \"48\",\n
\"cabin\": \"ECONOMY\",\n \"fareBasis\": \"XL0R0BRA\",\n \"class\":
\"X\",\n \"includedCheckedBags\": {\n \"quantity\": 2\n
}\n }\n ]\n },\n {\n
\"travelerId\": \"2\",\n \"fareOption\": \"STANDARD\",\n \"travelerType\":
\"CHILD\",\n \"price\": {\n \"currency\": \"USD\",\n
\"total\": \"1153.49\",\n \"base\": \"1048.00\",\n \"taxes\": [\n
{\n \"amount\": \"31.99\",\n \"code\": \"BR\"\n
},\n {\n \"amount\": \"24.27\",\n \"code\":
\"JD\"\n },\n {\n \"amount\": \"44.59\",\n
\"code\": \"MA\"\n },\n {\n \"amount\":
\"0.69\",\n \"code\": \"OG\"\n },\n {\n
\"amount\": \"3.95\",\n \"code\": \"QV\"\n }\n
},\n \"fareDetailsBySegment\": [\n {\n \"segmentId\":
\"3\",\n \"cabin\": \"BUSINESS\",\n \"fareBasis\": \"DA0R0BRACH\",\n
\"class\": \"D\",\n \"includedCheckedBags\": {\n \"quantity\": 3\n
}\n },\n {\n \"segmentId\": \"4\",\n
\"cabin\": \"BUSINESS\",\n \"fareBasis\": \"DA0R0BRACH\",\n \"class\":
\"D\",\n \"includedCheckedBags\": {\n \"quantity\": 3\n
}\n },\n {\n \"segmentId\": \"47\",\n
\"cabin\": \"ECONOMY\",\n \"fareBasis\": \"XL0R0BRACH\",\n \"class\":
\"X\",\n \"includedCheckedBags\": {\n \"quantity\": 2\n
}\n },\n {\n \"segmentId\": \"48\",\n
\"cabin\": \"ECONOMY\",\n \"fareBasis\": \"XL0R0BRACH\",\n \"class\":
\"X\",\n \"includedCheckedBags\": {\n \"quantity\": 2\n
}\n }\n ]\n }\n ],\n
\"paymentCardRequired\": false\n }\n ]\n },\n \"dictionaries\": {\n
\"locations\": {\n \"MAD\": {\n \"cityCode\": \"MAD\",\n \"countryCode\":
\"ES\"\n },\n \"GIG\": {\n \"cityCode\": \"RIO\",\n
\"countryCode\": \"BR\"\n },\n \"CMN\": {\n \"cityCode\": \"CAS\",\n
\"countryCode\": \"MA\"\n }\n }\n }\n }\n }\n },\n \"400_Prices\"
{\n \"description\": \"code | title \n------- |
------------------------------------- \n477 | INVALID FORMAT\n2668 | PARAMETER COMBINATION
INVALID/RESTRICTED\n2781 | INVALID LENGTH\n4926 | INVALID DATA RECEIVED\n32171 | MANDATORY DATA MISSING\n\",
\"schema\": {\n \"$ref\": \"#/definitions/Error_400\"\n }\n }\n },\n \"parameters\": {\n
\"getOverride\": {\n \"name\": \"X-HTTP-Method-Override\",\n \"description\": \"the HTTP method to apply\"
\"required\": true,\n \"in\": \"header\",\n \"type\": \"string\",\n \"default\": \"GET\"\n }\n },
\"x-generatedAt\": \"2020-08-03T15:27:52.141Z\"\n}"