Amadeus Solutions · JSON Structure

Flight Offers Search Origin Destination Light Structure

OriginDestinationLight schema

Type: object Properties: 5
AirlinesBookingFlightsGDSHotelsTravelTravel Technology

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

Properties

id originLocationCode destinationLocationCode includedConnectionPoints excludedConnectionPoints

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-origin-destination-light-structure.json",
  "name": "OriginDestinationLight",
  "description": "OriginDestinationLight schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "example": 1
    },
    "originLocationCode": {
      "description": "Origin location, such as a city or an airport. Currently, only the locations defined in [IATA](http://www.iata.org/publications/Pages/code-search.aspx) are supported.",
      "type": "string",
      "example": "PAR"
    },
    "destinationLocationCode": {
      "description": "Destination location, such as a city or an airport. Currently, only the locations defined in [IATA](http://www.iata.org/publications/Pages/code-search.aspx) are supported.",
      "type": "string",
      "example": "NYC"
    },
    "includedConnectionPoints": {
      "type": "array",
      "description": "List of included connections points. When an includedViaPoints option is specified, all FlightOffer returned must at least go via this Connecting Point. Currently, only the locations defined in IATA are supported. Used only by the AMADEUS provider",
      "minItems": 1,
      "maxItems": 2,
      "items": {
        "name": "code",
        "type": "string"
      },
      "example": [
        "MRS"
      ]
    },
    "excludedConnectionPoints": {
      "type": "array",
      "description": "List of excluded connections points. Any FlightOffer with these connections points will be present in response. Currently, only the locations defined in IATA are supported. Used only by the AMADEUS provider",
      "minItems": 1,
      "maxItems": 3,
      "items": {
        "name": "code",
        "type": "string"
      },
      "example": [
        "MRS"
      ]
    }
  }
}