Amadeus · Schema

ConnectionRestriction

Restriction towards number of connections.

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
maxNumberOfConnections number The maximal number of connections for each itinerary. Value can be 0, 1 or 2.
nonStopPreferred boolean 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 boolean Allow to change airport during connection
technicalStopsAllowed boolean This option allows the single segment to have one or more intermediate stops (technical stops).
View JSON Schema on GitHub

JSON Schema

flight-offers-search-connection-restriction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/flight-offers-search-connection-restriction-schema.json",
  "title": "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": "number",
      "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
    }
  }
}