American Airlines · Schema

Booking

Booking schema

AirlinesAviationFlightsTravelBookingDeveloper ExperienceFortune 100

Properties

Name Type Description
id string
flightId string
passengers array
status string
View JSON Schema on GitHub

JSON Schema

runway-developer-api-booking-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/american-airlines/refs/heads/main/json-schema/runway-developer-api-booking-schema.json",
  "title": "Booking",
  "description": "Booking schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "flightId": {
      "type": "string"
    },
    "passengers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "seatNumber": {
            "type": "string"
          }
        }
      }
    },
    "status": {
      "type": "string"
    }
  }
}