Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/protocol-cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ The grid ceiling the plan defends is not sent.
| Field | Type | Meaning |
|---|---|---|
| `eventId` | text | Unique per event |
| `ts` | int, optional | The box's wall time of the event, in ms. Present only while NTP has synced the box clock. It can be earlier than `wallMs` when the event waited for the uplink. The phone dates the alert by the earlier of this and the send time |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reconcile ts with the field-omission rule

When the box clock is unsynchronized, this row requires ts to be absent, but the normative envelope rules at lines 88–90 still state that only wallMs, sources, and fieldSources may ever be omitted. Implementers following that rule could encode ts as null or reject the event that Core emits with cbor:"ts,omitempty"; add ts to the earlier omission list or otherwise clarify the exception.

Useful? React with 👍 / 👎.

| `kind` | text | A kind from `contract/push-catalogue.yaml` |
| `severity` | text | As on the box |
| `args` | map text→(text or int) | The catalogue's placeholders, except names |
Expand Down
Loading