Amadeus · Schema

itinerary-price-metric

price metric

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
type string ressource type - always price-metrics
origin object Description of a particular point or place in physical space
destination object Description of a particular point or place in physical space
departureDate string The date on which the traveler will depart from the origin to go to the destination. Dates are specified in the[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) YYYY-MM-DD format.
transportType string transportation type
currencyCode string currency of the prices. Currency is specified in the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format, e.g. EUR for Euro
oneWay boolean true for a one way trip, false for a round trip
priceMetrics array
View JSON Schema on GitHub

JSON Schema

flight-price-analysis-itinerary-price-metric-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-price-analysis-itinerary-price-metric-schema.json",
  "title": "itinerary-price-metric",
  "description": "price metric",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "ressource type - always price-metrics",
      "example": "string-value"
    },
    "origin": {
      "type": "object",
      "description": "Description of a particular point or place in physical space",
      "title": "Location",
      "properties": {
        "iataCode": {
          "type": "string",
          "description": "IATA location code",
          "example": "PAR"
        }
      }
    },
    "destination": {
      "type": "object",
      "description": "Description of a particular point or place in physical space",
      "title": "Location",
      "properties": {
        "iataCode": {
          "type": "string",
          "description": "IATA location code",
          "example": "PAR"
        }
      }
    },
    "departureDate": {
      "type": "string",
      "description": "The date on which the traveler will depart from the origin to go to the destination. \n\nDates are specified in the[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) YYYY-MM-DD format.",
      "example": "2026-08-15"
    },
    "transportType": {
      "type": "string",
      "enum": [
        "FLIGHT"
      ],
      "description": "transportation type",
      "example": "FLIGHT"
    },
    "currencyCode": {
      "type": "string",
      "description": "currency of the prices.\n\nCurrency is specified in the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format, e.g. EUR for Euro",
      "example": "EUR"
    },
    "oneWay": {
      "type": "boolean",
      "description": "true for a one way trip,\nfalse for a round trip",
      "example": true
    },
    "priceMetrics": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "Defines the monetary value with decimal position. It can be in cash or miles.",
            "example": "199.50"
          },
          "quartileRanking": {
            "type": "string",
            "enum": [
              "MINIMUM",
              "FIRST",
              "MEDIUM",
              "THIRD",
              "MAXIMUM"
            ],
            "example": "MINIMUM"
          }
        }
      }
    }
  }
}