{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TaskVariableProfileResponse",
  "title": "TaskVariableProfileResponse",
  "type": "object",
  "description": "Aggregated variable profile data for a task over a date range",
  "properties": {
    "taskName": {
      "type": "string",
      "description": "Name of the task"
    },
    "from": {
      "type": "string",
      "format": "date",
      "description": "Start of the reporting date range"
    },
    "to": {
      "type": "string",
      "format": "date",
      "description": "End of the reporting date range"
    },
    "profiles": {
      "type": "array",
      "description": "Aggregated values for each KPI variable",
      "items": {
        "$ref": "#/components/schemas/VariableProfile"
      }
    }
  }
}