Amadeus · Schema

TermAndCondition

TermAndCondition schema from Flight Choice Prediction

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
category string This defines what type of modification is concerned in this rule.
circumstances string
notApplicable boolean
maxPenaltyAmount string
descriptions array
View JSON Schema on GitHub

JSON Schema

flight-choice-prediction-term-and-condition-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-choice-prediction-term-and-condition-schema.json",
  "title": "TermAndCondition",
  "description": "TermAndCondition schema from Flight Choice Prediction",
  "properties": {
    "category": {
      "type": "string",
      "description": "This defines what type of modification is concerned in this rule.",
      "enum": [
        "REFUND",
        "EXCHANGE",
        "REVALIDATION",
        "REISSUE",
        "REBOOK",
        "CANCELLATION"
      ],
      "example": "EXCHANGE"
    },
    "circumstances": {
      "type": "string",
      "example": "string-value"
    },
    "notApplicable": {
      "type": "boolean",
      "example": true
    },
    "maxPenaltyAmount": {
      "type": "string",
      "example": "199.50"
    },
    "descriptions": {
      "type": "array",
      "items": {
        "title": "Description",
        "properties": {
          "descriptionType": {
            "type": "string",
            "example": "Sample description text."
          },
          "text": {
            "type": "string",
            "example": "string-value"
          }
        }
      }
    }
  },
  "type": "object"
}