Amadeus · Schema

AvailabilityClass

AvailabilityClass schema from Flight Availibilities Search

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
numberOfBookableSeats number Number of seats bookable in a single request. Can not be higher than 9.
class string The code of the booking class, a.k.a. class of service or Reservations/Booking Designator (RBD)
closedStatus string Status of the booking class when it is closed.
tourAllotment object
View JSON Schema on GitHub

JSON Schema

flight-availabilities-search-availability-class-schema.json Raw ↑
{
  "$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-availability-class-schema.json",
  "title": "AvailabilityClass",
  "description": "AvailabilityClass schema from Flight Availibilities Search",
  "type": "object",
  "properties": {
    "numberOfBookableSeats": {
      "description": "Number of seats bookable in a single request. Can not be higher than 9.",
      "type": "number",
      "example": 9,
      "minimum": 1,
      "maximum": 9
    },
    "class": {
      "description": "The code of the booking class, a.k.a. class of service or Reservations/Booking Designator (RBD)",
      "type": "string",
      "example": "A",
      "pattern": "[A-Z]{1}"
    },
    "closedStatus": {
      "description": "Status of the booking class when it is closed.",
      "type": "string",
      "enum": [
        "WAITLIST_OPEN",
        "WAITLIST_CLOSED",
        "ON_REQUEST"
      ],
      "example": "WAITLIST_OPEN"
    },
    "tourAllotment": {
      "title": "TourAllotment",
      "allOf": [
        {
          "title": "AllotmentDetails",
          "type": "object",
          "properties": {
            "tourName": {
              "description": "The tour name agreed for this specific allotment.",
              "type": "string",
              "example": "Sample Name"
            },
            "tourReference": {
              "description": "The tour reference agreed for this specific allotment.",
              "type": "string",
              "example": "string-value"
            }
          }
        },
        {
          "type": "object",
          "properties": {
            "mode": {
              "description": "How the allotment can be booked by the Travel Agency.",
              "type": "string",
              "enum": [
                "FREE",
                "FORCED"
              ],
              "example": "FREE"
            },
            "remainingSeats": {
              "description": "Number of remaining seats in the allotment.",
              "type": "number",
              "example": 9
            }
          }
        }
      ]
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/flight-availabilities-search-availability-class"
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.