ConnectionRestriction is a JSON Structure definition published by Amadeus Solutions, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amadeus-solutions/refs/heads/main/json-structure/flight-offers-search-connection-restriction-structure.json",
"name": "ConnectionRestriction",
"description": "Restriction towards number of connections.",
"type": "object",
"properties": {
"maxNumberOfConnections": {
"description": "The maximal number of connections for each itinerary. Value can be 0, 1 or 2.",
"type": "double",
"example": 2
},
"nonStopPreferred": {
"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%.",
"type": "boolean",
"example": false
},
"airportChangeAllowed": {
"description": "Allow to change airport during connection",
"type": "boolean",
"example": false
},
"technicalStopsAllowed": {
"description": "This option allows the single segment to have one or more intermediate stops (technical stops).",
"type": "boolean",
"example": true
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.