{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/easee/json-schema/easee-current-device-state-api-multi-observation-response-schema.json",
  "title": "Current_Device_State_API_MultiObservationResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/easee-observations-api-openapi.yml#/components/schemas/Current_Device_State_API_MultiObservationResponse",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "observations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Current_Device_State_API_Observation"
      }
    }
  },
  "$defs": {
    "Current_Device_State_API_IotDataType": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "Boolean",
        "Double",
        "Integer",
        "Position",
        "String"
      ],
      "enum": [
        2,
        3,
        4,
        5,
        6
      ]
    },
    "Current_Device_State_API_Observation": {
      "type": "object",
      "x-abstract": true,
      "additionalProperties": false,
      "required": [
        "id",
        "timestamp",
        "dataType"
      ],
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32",
          "maximum": 65535,
          "minimum": 1
        },
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "minLength": 1
        },
        "dataType": {
          "$ref": "#/$defs/Current_Device_State_API_IotDataType"
        }
      }
    }
  }
}