Amadeus · Schema

Purpose_Prediction

Purpose_Prediction schema from Trip Purpose Prediction

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
type string the resource name (`prediction`)
subType string
id string item identifier
result string forecast description
probability string probability of the forecast (between 0 and 1)
View JSON Schema on GitHub

JSON Schema

trip-purpose-prediction-purpose-prediction-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/trip-purpose-prediction-purpose-prediction-schema.json",
  "title": "Purpose_Prediction",
  "description": "Purpose_Prediction schema from Trip Purpose Prediction",
  "properties": {
    "type": {
      "description": "the resource name (`prediction`)",
      "type": "string",
      "example": "string-value"
    },
    "subType": {
      "type": "string",
      "example": "trip-purpose"
    },
    "id": {
      "description": "item identifier",
      "type": "string",
      "readOnly": true,
      "example": "12345"
    },
    "result": {
      "description": "forecast description",
      "type": "string",
      "enum": [
        "BUSINESS",
        "LEISURE"
      ],
      "example": "BUSINESS"
    },
    "probability": {
      "description": "probability of the forecast (between 0 and 1)",
      "type": "string",
      "example": "string-value"
    }
  },
  "type": "object"
}