Amadeus · Schema

Leg

Leg schema from On-Demand Flight Status

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
boardPointIataCode string 3-letter IATA code of the departure airport. e.g. LHR
offPointIataCode string 3-letter IATA code of the arrival airport. e.g. BKK
aircraftEquipment object
scheduledLegDuration string duration of the leg following standard [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations)
View JSON Schema on GitHub

JSON Schema

on-demand-flight-status-leg-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/on-demand-flight-status-leg-schema.json",
  "title": "Leg",
  "description": "Leg schema from On-Demand Flight Status",
  "properties": {
    "boardPointIataCode": {
      "description": "3-letter IATA code of the departure airport. e.g. LHR",
      "pattern": "[a-zA-Z]{3}",
      "type": "string",
      "example": "LHR"
    },
    "offPointIataCode": {
      "description": "3-letter IATA code of the arrival airport. e.g. BKK",
      "pattern": "[a-zA-Z]{3}",
      "type": "string",
      "example": "BKK"
    },
    "aircraftEquipment": {
      "properties": {
        "aircraftType": {
          "description": "the type of aircraft that will operate the leg",
          "type": "string",
          "example": 733
        }
      }
    },
    "scheduledLegDuration": {
      "type": "string",
      "description": "duration of the leg following standard [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations)",
      "example": "PT14H50M"
    }
  },
  "type": "object"
}