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.
{
"$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"
]
}
}
}
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.