Amadeus Solutions · Schema

FlightFilters

FlightFilters schema

AirlinesBookingFlightsGDSHotelsTravelTravel Technology

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-solutions/refs/heads/main/json-schema/flight-offers-search-flight-filters-schema.json",
  "title": "FlightFilters",
  "description": "FlightFilters schema",
  "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": {
      "title": "CarrierRestrictions",
      "description": "Restriction towards carriers.",
      "$ref": "#/definitions/CarrierRestrictions"
    },
    "cabinRestrictions": {
      "title": "CabinRestrictions",
      "description": "Restriction towards cabins.",
      "type": "array",
      "minItems": 1,
      "maxItems": 6,
      "items": {
        "$ref": "#/definitions/Extended_CabinRestriction"
      }
    },
    "connectionRestriction": {
      "title": "ConnectionRestriction",
      "description": "Restriction towards number of connections.",
      "$ref": "#/definitions/ConnectionRestriction"
    }
  }
}

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 email required.

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