The suggestion of using null as a JSON value in #398 makes conceptual sense, but not really since we're working with CDDL to define the events and their fields, as it doesn't easily allow to make a type "nullable" for something like this.
As such, I changed the recommendation to explicitly setting the default value if needed; I hope that's acceptable.
For the rest, I mostly just used your text with minor editorial changes.
Closes #398.
PTAL @hlandau.
The suggestion of using
null
as a JSON value in #398 makes conceptual sense, but not really since we're working with CDDL to define the events and their fields, as it doesn't easily allow to make a type "nullable" for something like this.As such, I changed the recommendation to explicitly setting the default value if needed; I hope that's acceptable.
For the rest, I mostly just used your text with minor editorial changes.