{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hanchu-ess/json-schema/hanchu-ess-post-v1-device-battery-charge-discharge-records-response-schema.json",
  "title": "PostV1DeviceBatteryChargeDischargeRecordsResponse",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/hanchu-ess-openapi-generated.yml#/components/schemas/PostV1DeviceBatteryChargeDischargeRecordsResponse",
  "type": "object",
  "properties": {
    "errno": {
      "type": "number",
      "description": "Succeeded when 200, Failed when Non 200"
    },
    "msg": {
      "type": "string",
      "description": "Error prompt message"
    },
    "data": {
      "type": "object",
      "description": "Result."
    },
    "data.records": {
      "type": "array",
      "description": "Inverter groups"
    },
    "data.records[].sn": {
      "type": "string",
      "description": "Inverter serial number"
    },
    "data.records[].eChg": {
      "type": "number",
      "description": "Total charge energy in 0.1 watts"
    },
    "data.records[].eDschg": {
      "type": "number",
      "description": "Total discharge energy in 0.1 watts"
    },
    "data.records[].timestamp": {
      "type": "string",
      "description": "Record time with ISO8601 UTC format"
    },
    "data.current": {
      "type": "number",
      "description": "Current page number"
    },
    "data.size": {
      "type": "number",
      "description": "The amount of data presented per page"
    },
    "data.total": {
      "type": "number",
      "description": "Data volume total"
    },
    "data.pages": {
      "type": "number",
      "description": "Page total"
    }
  }
}