{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/discovergy/json-schema/discovergy-measurement-schema.json",
  "title": "Measurement",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/discovergy-openapi.json#/components/schemas/Measurement",
  "type": "object",
  "properties": {
    "time": {
      "type": "integer",
      "description": "Time of the measurement, as a UNIX millisecond timestamp",
      "format": "int64"
    },
    "values": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "description": "Measurement values; key is the field name, value the numeric quantity. Fields present depend on the measurement type."
      },
      "description": "Measurement values; key is the field name, value the numeric quantity. Fields present depend on the measurement type."
    }
  }
}