Amadeus Reservations · JSON Structure

Transfer Booking Distance Structure

Distance schema

Type: object Properties: 2
BookingFlightsHotelsReservationsTravel

Distance is a JSON Structure definition published by Amadeus Reservations, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

value unit

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus-reservations/refs/heads/main/json-structure/transfer-booking-distance-structure.json",
  "name": "Distance",
  "description": "Distance schema",
  "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": "int32",
      "example": 152
    },
    "unit": {
      "description": "unit of the distance",
      "type": "string",
      "example": "KM",
      "enum": [
        "KM",
        "MI"
      ]
    }
  },
  "type": "object"
}