Battery Load Test Initiated Payload
Payload emitted when the observer lambda intercepts PUT /api/commands/power_monitoring/battery/load_test. The correlationId on this event must match the corresponding load_test.completed event.
| $id | https://schemas.texecom-prod.com/v2/events/payload/cloud/internal/power_monitoring/battery/load_test/initiated/v1.0.0.json |
| $schema | http://json-schema.org/draft-07/schema |
Properties
serial
| Description |
Panel serial number extracted from the MQTT topic path (device/{serial}/...). |
| Type | String |
| Required |
Yes |
hardwareId
| Description |
Panel primary key in the device service DB, resolved via serial lookup (device.hardware.hardware_id). |
| Type | String |
| Required |
Yes |
| Format |
uuid |
durationSeconds
| Description |
Configured test duration in seconds. Maps to duration_s in the firmware command payload. |
| Type | Integer |
| Required |
Yes |
triggeredBy
| Description |
How the load test was initiated. |
| Type | String |
| Required |
Yes |
| Enum |
|
Schema
{
"$id": "https://schemas.texecom-prod.com/v2/events/payload/cloud/internal/power_monitoring/battery/load_test/initiated/v1.0.0.json",
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Battery Load Test Initiated Payload",
"description": "Payload emitted when the observer lambda intercepts PUT /api/commands/power_monitoring/battery/load_test. The correlationId on this event must match the corresponding load_test.completed event.",
"type": "object",
"properties": {
"serial": {
"description": "Panel serial number extracted from the MQTT topic path (device/{serial}/...).",
"type": "string"
},
"hardwareId": {
"description": "Panel primary key in the device service DB, resolved via serial lookup (device.hardware.hardware_id).",
"type": "string",
"format": "uuid"
},
"durationSeconds": {
"description": "Configured test duration in seconds. Maps to duration_s in the firmware command payload.",
"type": "integer"
},
"triggeredBy": {
"description": "How the load test was initiated.",
"type": "string",
"enum": [
"manual",
"scheduled"
]
}
},
"required": [
"serial",
"hardwareId",
"durationSeconds",
"triggeredBy"
],
"additionalProperties": false
}