{ "$schema": "https://json-structure.org/draft/v0/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-structure/flight-choice-prediction-flight-offer-structure.json", "title": "FlightOffer", "description": "FlightOffer structure from Flight Choice Prediction", "type": "object", "properties": { "type": { "type": "string", "description": "the resource name" }, "id": { "type": "string", "description": "Id of the flight offer" }, "choiceProbability": { "type": "string", "description": "the choice probability of this Flight Offer. The value is between 1 (100% chance the FlightOffer will be selected) and 0 (no change the FlightOffer will be selected)" }, "source": { "type": "string", "description": "source of the flight offer" }, "instantTicketingRequired": { "type": "boolean", "description": "If true, inform that a ticketing will be required at booking step." }, "disablePricing": { "type": "boolean", "description": "BOOK step ONLY - If true, allows to book a PNR without pricing. Only for the source \"GDS\"" }, "nonHomogeneous": { "type": "boolean", "description": "If true, upon completion of the booking, this pricing solution is expected to yield multiple records (a record contains booking information confirmed and stored, typically a Passenger Name Record (PNR), in the provider GDS or system)" }, "oneWay": { "type": "boolean", "description": "If true, the flight offer fulfills only one originDestination and has to be combined with other oneWays to complete the whole journey." }, "paymentCardRequired": { "type": "boolean", "description": "If true, a payment card is mandatory to book this flight offer" }, "lastTicketingDate": { "type": "string", "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). Unspecified when it does not make sense for this flight offer (e.g. no control over ticketing once booked). YYYY-MM-DD format, e.g. 2019-06-07" }, "numberOfBookableSeats": { "type": "number", "description": "Number of seats bookable in a single request. Can not be higher than 9." }, "itineraries": { "type": "array" }, "price": { "type": "object", "description": "price information" }, "pricingOptions": { "type": "object" }, "validatingAirlineCodes": { "type": "array", "description": "This option ensures that the system will only consider these airlines." }, "travelerPricings": { "type": "array", "description": "Fare information for each traveler/segment" }, "fareRules": { "type": "object" } }, "required": [ "type", "id", "source" ] }