Event envelope
Every IoT event has the same envelope; only data changes with the type of the event.
On this page
The type has the form com.rdcopilot.iot.<event>.v1. The last part is the version of data.
Fields
| Field | Meaning |
|---|---|
specversion | Version of the envelope format. |
id | Identifier of this event. A repeated delivery of the same event has the same id. |
type | What happened, in the form above. |
source | The product that sent the event. |
time | When the event happened, as a date and time with a time zone. |
customerOrgId | Your organisation. |
legalCompanyId | The legal company that the event belongs to, test or live. |
aggregateType | The kind of record that changed. |
aggregateId | The record that changed. |
aggregateRevision | The revision of the record after the change. |
correlationId | Ties together everything that came from one request or one flow. |
causationId | The document or operation that caused this event. |
actor | Who or what made the change. |
data | The content of the event. Its shape depends on type. |
Event payload
{
"specversion": "1.0",
"id": "a1000000-0000-4000-8000-000000000002",
"type": "com.rdcopilot.iot.alert.opened.v1",
"source": "/iot/v1",
"time": "2026-11-20T09:03:10Z",
"customerOrgId": "org-brumar",
"legalCompanyId": "brumar",
"aggregateType": "alert",
"aggregateId": "alert-1",
"aggregateRevision": 1,
"correlationId": "a1000000-0000-4000-8000-000000000001",
"causationId": "reading-149",
"actor": {
"type": "device",
"id": "device-12"
},
"data": {
"id": "alert-1",
"ruleId": "rule-1",
"severity": "critical",
"assetId": "cold-room-2",
"opened": "2026-11-20T09:03:10Z",
"state": "open",
"assignee": null,
"workOrderId": null,
"revision": 1
}
} Deliveries can repeat. Use id to skip an event you already handled. Delivery and retries says when an event is sent again.
The full rule: Developer guide