{
  "$schema": "https://json-structure.org/draft/v0/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-structure/trip-purpose-prediction-purpose-prediction-structure.json",
  "title": "Purpose_Prediction",
  "description": "Purpose_Prediction structure from Trip Purpose Prediction",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "the resource name (`prediction`)"
    },
    "subType": {
      "type": "string"
    },
    "id": {
      "type": "string",
      "description": "item identifier"
    },
    "result": {
      "type": "string",
      "description": "forecast description"
    },
    "probability": {
      "type": "string",
      "description": "probability of the forecast (between 0 and 1)"
    }
  }
}