{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rwth-aachen-university/json-schema/rwth-aachen-university-data-hamster-kpi-dto-response-schema.json",
  "title": "DataHamsterKpiDtoResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rwth-aachen-university-datahamsterreport-api-openapi.yml#/components/schemas/DataHamsterKpiDtoResponse",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/DataHamsterKpiDto"
    },
    "isSuccess": {
      "type": "boolean",
      "readOnly": true
    },
    "statusCode": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "traceId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "DataHamsterKpiDto": {
      "type": "object",
      "properties": {
        "measurementId": {
          "type": "integer",
          "format": "int32"
        },
        "value": {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        "start": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "end": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "additionalInfo": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "query": {
          "type": "string",
          "readOnly": true
        }
      },
      "additionalProperties": false
    }
  }
}