UtilityAPI · Schema
Interval
A meter usage interval measurement
EnergyUtilitiesGreen ButtonBilling DataMeter DataClean Energy
Properties
| Name | Type | Description |
|---|---|---|
| uid | string | Unique identifier for the interval |
| meter_uid | string | UID of the meter this interval belongs to |
| start | string | Start of the interval period |
| end | string | End of the interval period |
| kwh | number | Energy consumption in kWh during this interval |
| created | string | When the interval was recorded |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://utilityapi.com/schemas/interval",
"title": "Interval",
"description": "A meter usage interval measurement",
"type": "object",
"properties": {
"uid": {
"type": "string",
"description": "Unique identifier for the interval"
},
"meter_uid": {
"type": "string",
"description": "UID of the meter this interval belongs to"
},
"start": {
"type": "string",
"format": "date-time",
"description": "Start of the interval period"
},
"end": {
"type": "string",
"format": "date-time",
"description": "End of the interval period"
},
"kwh": {
"type": "number",
"minimum": 0,
"description": "Energy consumption in kWh during this interval"
},
"created": {
"type": "string",
"format": "date-time",
"description": "When the interval was recorded"
}
},
"required": ["uid", "meter_uid", "start", "end", "kwh"]
}