{ "$schema": "https://json-structure.org/draft/v0/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-structure/flight-availabilities-search-flight-availability-structure.json", "title": "FlightAvailability", "description": "FlightAvailability structure from Flight Availibilities Search", "type": "object", "properties": { "type": { "type": "string", "description": "the resource name" }, "id": { "type": "string", "description": "Id of the flight availability" }, "originDestinationId": { "type": "string", "description": "Id of the originDestination in query" }, "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." }, "paymentCardRequired": { "type": "boolean", "description": "If true, a payment card is mandatory to book this flight offer" }, "duration": { "type": "string", "description": "duration in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) PnYnMnDTnHnMnS format, e.g. PT2H10M for a duration of 2h10m" }, "segments": { "type": "array" } }, "required": [ "type", "id", "source", "segments" ] }