{ "$schema": "https://json-structure.org/draft/v0/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-structure/flight-offers-search-connection-restriction-structure.json", "title": "ConnectionRestriction", "description": "Restriction towards number of connections.", "type": "object", "properties": { "maxNumberOfConnections": { "type": "number", "description": "The maximal number of connections for each itinerary. Value can be 0, 1 or 2." }, "nonStopPreferred": { "type": "boolean", "description": "When this option is requested, recommendations made of Non-Stop flights only are favoured by the search, on the whole itinerary, with a weight of 75%." }, "airportChangeAllowed": { "type": "boolean", "description": "Allow to change airport during connection" }, "technicalStopsAllowed": { "type": "boolean", "description": "This option allows the single segment to have one or more intermediate stops (technical stops)." } } }