{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/smart-me-com/json-schema/smart-me-com-device-in-past-schema.json",
  "title": "DeviceInPast",
  "description": "Container Class for the Web API. Conatinas the MeterValues in the Past",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/smart-me-com-openapi.json#/components/schemas/DeviceInPast",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the device",
      "format": "uuid"
    },
    "serial": {
      "type": "integer",
      "description": "The Serial number",
      "format": "int64"
    },
    "date": {
      "type": "string",
      "description": "The Date of the Values",
      "format": "date-time"
    },
    "counterReading": {
      "type": [
        "number",
        "null"
      ],
      "description": "The Meter Counter Reading (Total Energy used)",
      "format": "double"
    },
    "counterReadingUnit": {
      "type": [
        "string",
        "null"
      ],
      "description": "The Unit of the Counter Reading"
    },
    "counterReadingT1": {
      "type": [
        "number",
        "null"
      ],
      "description": "The Meter Counter Reading Tariff 1",
      "format": "double"
    },
    "counterReadingT2": {
      "type": [
        "number",
        "null"
      ],
      "description": "The Meter Counter Reading Tariff 2",
      "format": "double"
    },
    "counterReadingT3": {
      "type": [
        "number",
        "null"
      ],
      "description": "The Meter Counter Reading Tariff 3",
      "format": "double"
    },
    "counterReadingT4": {
      "type": [
        "number",
        "null"
      ],
      "description": "The Meter Counter Reading Tariff 4",
      "format": "double"
    },
    "counterReadingImport": {
      "type": [
        "number",
        "null"
      ],
      "description": "The Meter Counter Reading Import",
      "format": "double"
    },
    "counterReadingImportT1": {
      "type": [
        "number",
        "null"
      ],
      "description": "The Meter Counter Reading Import Tariff 1",
      "format": "double"
    },
    "counterReadingImportT2": {
      "type": [
        "number",
        "null"
      ],
      "description": "The Meter Counter Reading Import Tariff 2",
      "format": "double"
    },
    "counterReadingImportT3": {
      "type": [
        "number",
        "null"
      ],
      "description": "The Meter Counter Reading Import Tariff 3",
      "format": "double"
    },
    "counterReadingImportT4": {
      "type": [
        "number",
        "null"
      ],
      "description": "The Meter Counter Reading Import Tariff 4",
      "format": "double"
    },
    "counterReadingExport": {
      "type": [
        "number",
        "null"
      ],
      "description": "The Meter Counter Reading Export",
      "format": "double"
    },
    "counterReadingExportT1": {
      "type": [
        "number",
        "null"
      ],
      "description": "The Meter Counter Reading Export Tariff 1",
      "format": "double"
    },
    "counterReadingExportT2": {
      "type": [
        "number",
        "null"
      ],
      "description": "The Meter Counter Reading Export Tariff 2",
      "format": "double"
    },
    "counterReadingExportT3": {
      "type": [
        "number",
        "null"
      ],
      "description": "The Meter Counter Reading Export Tariff 3",
      "format": "double"
    },
    "counterReadingExportT4": {
      "type": [
        "number",
        "null"
      ],
      "description": "The Meter Counter Reading Export Tariff 4",
      "format": "double"
    }
  },
  "additionalProperties": false
}