Amadeus · Schema
FlightAvailability
FlightAvailability schema from Flight Availibilities Search
TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights
Properties
| Name | Type | Description |
|---|---|---|
| type | string | the resource name |
| id | string | Id of the flight availability |
| originDestinationId | string | Id of the originDestination in query |
| source | string | source of the flight offer |
| instantTicketingRequired | boolean | If true, inform that a ticketing will be required at booking step. |
| paymentCardRequired | boolean | If true, a payment card is mandatory to book this flight offer |
| duration | string | duration in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) PnYnMnDTnHnMnS format, e.g. PT2H10M for a duration of 2h10m |
| segments | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/flight-availabilities-search-flight-availability-schema.json",
"title": "FlightAvailability",
"description": "FlightAvailability schema from Flight Availibilities Search",
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "the resource name",
"example": "flight-availability"
},
"id": {
"description": "Id of the flight availability",
"type": "string",
"example": "1"
},
"originDestinationId": {
"description": "Id of the originDestination in query",
"type": "string",
"example": "1"
},
"source": {
"description": "source of the flight offer",
"type": "string",
"enum": [
"GDS"
],
"example": "GDS"
},
"instantTicketingRequired": {
"description": "If true, inform that a ticketing will be required at booking step.",
"type": "boolean",
"example": false
},
"paymentCardRequired": {
"description": "If true, a payment card is mandatory to book this flight offer",
"type": "boolean",
"example": false
},
"duration": {
"description": "duration in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) PnYnMnDTnHnMnS format, e.g. PT2H10M for a duration of 2h10m",
"type": "string",
"example": "PT2H10M"
},
"segments": {
"title": "Segments",
"type": "array",
"minItems": 1,
"maxItems": 9,
"items": {
"allOf": [
{
"type": "object",
"properties": {
"closedStatus": {
"description": "Status of the segment when it is closed.",
"type": "string",
"enum": [
"CANCELLED",
"DEPARTED",
"NOT_AVAILABLE"
],
"example": "CANCELLED"
},
"availabilityClasses": {
"title": "AvailabilityClasses",
"description": "List of booking classes for the segment",
"type": "array",
"minItems": 1,
"maxItems": 50,
"items": {
"$ref": "#/definitions/AvailabilityClass"
}
}
}
},
{
"allOf": [
{
"type": "object",
"properties": {
"id": {
"description": "Id of the segment",
"type": "string",
"example": 1
},
"numberOfStops": {
"description": "Number of stops",
"type": "integer",
"example": 0
},
"blacklistedInEU": {
"description": "When the flight has a marketing or/and operating airline that is identified as blacklisted by the European Commission. \n\nTo improve travel safety, the European Commission regularly updates the list of the banned carriers from operating in Europe. It allows any Travel Agency located in the European Union to easily identify and hide any travel recommendation based on some unsafe airlines. \nThe [list of the banned airlines](https://ec.europa.eu/transport/sites/transport/files/air-safety-list_en.pdf) 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 \n",
"type": "boolean",
"example": false
},
"co2Emissions": {
"description": "Co2 informations",
"type": "array",
"minItems": 1,
"items": {
"title": "Co2Emission",
"$ref": "#/definitions/Co2Emission"
}
}
}
},
{
"$ref": "#/definitions/FlightSegment"
}
]
}
]
}
}
},
"required": [
"type",
"id",
"source",
"segments"
]
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/flight-availabilities-search-flight-availability"
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 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.
A second provider on the same verified email joins the account you already have.