Amadeus · Schema

Discount

traveler discount

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
subType string type of discount applied
cityName string city of residence
travelerType string type of discount applied
cardNumber string resident card number
certificateNumber string resident certificate number
View JSON Schema on GitHub

JSON Schema

flight-offers-price-discount-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-offers-price-discount-schema.json",
  "title": "Discount",
  "description": "traveler discount",
  "type": "object",
  "properties": {
    "subType": {
      "description": "type of discount applied",
      "type": "string",
      "enum": [
        "SPANISH_RESIDENT",
        "AIR_FRANCE_DOMESTIC",
        "AIR_FRANCE_COMBINED",
        "AIR_FRANCE_METROPOLITAN"
      ],
      "example": "SPANISH_RESIDENT"
    },
    "cityName": {
      "type": "string",
      "description": "city of residence",
      "example": "MADRID"
    },
    "travelerType": {
      "description": "type of discount applied",
      "type": "string",
      "enum": [
        "SPANISH_CITIZEN",
        "EUROPEAN_CITIZEN",
        "GOVERNMENT_WORKER",
        "MILITARY",
        "MINOR_WITHOUT_ID"
      ],
      "example": "SPANISH_CITIZEN"
    },
    "cardNumber": {
      "type": "string",
      "description": "resident card number",
      "example": "12568215Z",
      "pattern": "[0-9A-Z][0-9]{0,12}[A-Z]"
    },
    "certificateNumber": {
      "type": "string",
      "description": "resident certificate number",
      "example": "12568215Z",
      "pattern": "[0-9A-Z][0-9]{0,12}[A-Z]"
    }
  }
}