Amadeus · Schema

FlightFilters

FlightFilters schema from Flight Offers Search

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
crossBorderAllowed boolean Allows to search a location outside the borders when a radius around a location is specified. Default is false.
moreOvernightsAllowed boolean This flag enables/disables the possibility to have more overnight flights in Low Fare Search
returnToDepartureAirport boolean This option force to retrieve flight-offer with a departure and a return in the same airport
railSegmentAllowed boolean This flag enable/disable filtering of rail segment (TGV AIR, RAIL ...)
busSegmentAllowed boolean This flag enable/disable filtering of bus segment
maxFlightTime number Maximum flight time as a percentage relative to the shortest flight time available for the itinerary
carrierRestrictions object Restriction towards carriers.
cabinRestrictions array Restriction towards cabins.
connectionRestriction object Restriction towards number of connections.
View JSON Schema on GitHub

JSON Schema

flight-offers-search-flight-filters-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-flight-filters-schema.json",
  "title": "FlightFilters",
  "description": "FlightFilters schema from Flight Offers Search",
  "type": "object",
  "properties": {
    "crossBorderAllowed": {
      "description": "Allows to search a location outside the borders when a radius around a location is specified. Default is false.",
      "type": "boolean",
      "example": false
    },
    "moreOvernightsAllowed": {
      "description": "This flag enables/disables the possibility to have more overnight flights in Low Fare Search",
      "type": "boolean",
      "example": false
    },
    "returnToDepartureAirport": {
      "description": "This option force to retrieve flight-offer with a departure and a return in the same airport",
      "type": "boolean",
      "example": false
    },
    "railSegmentAllowed": {
      "description": "This flag enable/disable filtering of rail segment (TGV AIR, RAIL ...)",
      "type": "boolean",
      "example": true
    },
    "busSegmentAllowed": {
      "description": "This flag enable/disable filtering of bus segment",
      "type": "boolean",
      "example": true
    },
    "maxFlightTime": {
      "description": "Maximum flight time as a percentage relative to the shortest flight time available for the itinerary",
      "type": "number",
      "example": 200
    },
    "carrierRestrictions": {
      "description": "Restriction towards carriers.",
      "type": "object",
      "properties": {
        "blacklistedInEUAllowed": {
          "description": "This flag enable/disable filtering of blacklisted airline by EU. The list of the banned airlines is published in the Official Journal of the European Union, where they are included as annexes A and B to the Commission Regulation. The blacklist of an airline can concern all its flights or some specific aircraft types pertaining to the airline",
          "type": "boolean",
          "default": false,
          "example": true
        },
        "excludedCarrierCodes": {
          "description": "This option ensures that the system will only consider these airlines.",
          "type": "array",
          "minItems": 1,
          "maxItems": 99,
          "items": {
            "type": "string"
          }
        },
        "includedCarrierCodes": {
          "description": "This option ensures that the system will only consider these airlines.",
          "type": "array",
          "minItems": 1,
          "maxItems": 99,
          "items": {
            "type": "string"
          }
        }
      }
    },
    "cabinRestrictions": {
      "title": "CabinRestrictions",
      "description": "Restriction towards cabins.",
      "type": "array",
      "minItems": 1,
      "maxItems": 6,
      "items": {
        "allOf": [
          {
            "title": "CabinRestriction",
            "type": "object",
            "properties": {
              "cabin": {
                "$ref": "#/definitions/TravelClass"
              },
              "originDestinationIds": {
                "title": "originDestinationIds",
                "description": "The list of originDestination identifiers for which the cabinRestriction applies",
                "type": "array",
                "items": {
                  "type": "string"
                },
                "example": [
                  1,
                  2
                ]
              }
            }
          },
          {
            "type": "object",
            "properties": {
              "coverage": {
                "$ref": "#/definitions/Coverage"
              }
            }
          }
        ]
      }
    },
    "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
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/flight-offers-search-flight-filters"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

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.

A second provider on the same verified email joins the account you already have.