Amadeus Solutions · JSON Structure

Flight Offers Search Flight Filters Structure

FlightFilters schema

Type: object Properties: 9
AirlinesBookingFlightsGDSHotelsTravelTravel Technology

FlightFilters is a JSON Structure definition published by Amadeus Solutions, describing 9 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

crossBorderAllowed moreOvernightsAllowed returnToDepartureAirport railSegmentAllowed busSegmentAllowed maxFlightTime carrierRestrictions cabinRestrictions connectionRestriction

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$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-flight-filters-structure.json",
  "name": "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": "double",
      "example": 200
    },
    "carrierRestrictions": {
      "name": "CarrierRestrictions",
      "description": "Restriction towards carriers.",
      "$ref": "#/definitions/CarrierRestrictions"
    },
    "cabinRestrictions": {
      "name": "CabinRestrictions",
      "description": "Restriction towards cabins.",
      "type": "array",
      "minItems": 1,
      "maxItems": 6,
      "items": {
        "$ref": "#/definitions/Extended_CabinRestriction"
      }
    },
    "connectionRestriction": {
      "name": "ConnectionRestriction",
      "description": "Restriction towards number of connections.",
      "$ref": "#/definitions/ConnectionRestriction"
    }
  }
}