{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-advisor/json-schema/microsoft-azure-advisor-prediction-request-schema.json",
  "title": "PredictionRequest",
  "description": "Parameters for predict recommendation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-advisor-subscriptions-api-openapi.yml#/components/schemas/PredictionRequest",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/PredictionRequestProperties",
      "description": "Request properties for prediction recommendation.",
      "x-ms-client-flatten": true
    }
  },
  "$defs": {
    "PredictionRequestProperties": {
      "type": "object",
      "description": "Properties given for the predictor.",
      "properties": {
        "predictionType": {
          "$ref": "#/$defs/PredictionType",
          "description": "Type of the prediction."
        },
        "extendedProperties": {
          "description": "Extended properties are arguments specific for each prediction type."
        }
      }
    },
    "PredictionType": {
      "type": "string",
      "description": "Type of the prediction.",
      "enum": [
        "PredictiveRightsizing"
      ],
      "x-ms-enum": {
        "name": "PredictionType",
        "modelAsString": true,
        "values": [
          {
            "name": "PredictiveRightsizing",
            "value": "PredictiveRightsizing"
          }
        ]
      }
    }
  }
}