CarrierRestrictions is a JSON Structure definition published by Amadeus Solutions, describing 3 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-carrier-restrictions-structure.json",
"name": "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
},
"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"
}
}
}
}
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.