{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/dynatrace/main/json-schema/dynatrace-forecast-schema.json",
  "title": "Forecast",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dynatrace-dynatrace-platform-subscription-api-openapi.yml#/components/schemas/Forecast",
  "type": "object",
  "properties": {
    "forecastMedian": {
      "type": "number",
      "description": "The median forecasted usage."
    },
    "forecastLower": {
      "type": "number",
      "description": "The lower bound of forecasted usage."
    },
    "forecastUpper": {
      "type": "number",
      "description": "The upper bound of forecasted usage."
    },
    "budget": {
      "type": "number",
      "description": "The budget quota used in the forecast."
    },
    "forecastBudgetPct": {
      "type": "number",
      "description": "The forecasted usage of the budget, in percent."
    },
    "forecastBudgetDate": {
      "format": "date-time",
      "type": "string",
      "description": "The date when the forecasted usage consumes all the budget quota."
    },
    "forecastCreatedAt": {
      "format": "date-time",
      "type": "string",
      "description": "The date when the forecast was created."
    }
  },
  "required": [
    "forecastMedian",
    "forecastLower",
    "forecastUpper",
    "budget",
    "forecastBudgetPct",
    "forecastBudgetDate",
    "forecastCreatedAt"
  ]
}