Amadeus · Schema

Distance

Distance schema from Airport Nearest Relevant

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
value integer great-circle distance between two locations. This distance thus do not take into account traffic conditions; international boundaries; mountains; water; or other elements that might make the a nearby
unit string unit of the distance
View JSON Schema on GitHub

JSON Schema

airport-nearest-relevant-distance-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/airport-nearest-relevant-distance-schema.json",
  "title": "Distance",
  "description": "Distance schema from Airport Nearest Relevant",
  "properties": {
    "value": {
      "description": "great-circle distance between two locations. This distance thus do not take into account traffic conditions; international boundaries; mountains; water; or other elements that might make the a nearby location hard to reach.",
      "type": "integer",
      "example": 152
    },
    "unit": {
      "description": "unit of the distance",
      "type": "string",
      "example": "KM",
      "enum": [
        "KM",
        "MI"
      ]
    }
  },
  "type": "object"
}