Content.drafted
Emitted each time a Content is drafted.
Content.draft emits Content.drafted when it completes on a Content.
| Property | Value |
|---|---|
| Emitted by | Content.draft |
| Noun | Content |
| Wakes | None. |
Payload
Each delivery is an Event record. data holds what Content.draft returns.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | required | Content.drafted. |
at | datetime | required | When it happened. |
seq | integer | Its position in the namespace, one more than the Event before; any seq is a cursor into the history. | |
data | json | required | The Thing as the Action left it. |
data.content | Content | required | The draft. |
data.content.title | string | required | The headline. |
data.content.publishedAt | datetime | When it went live. | |
data.content.kind | string | What the Content is, so each System reads its own kind. |
Example
{
"$id": "https: //api.sb/ ledgerlark.com/ events/ event_1",
"$type": "Event",
"name": "Content.drafted",
"at": "2026-10-22T12: 00: 00Z",
"data": {
"content": {
"$id": "https: //api.sb/ ledgerlark.com/ content/ content_1",
"$type": "Content",
"title": "Monthly close",
"publishedAt": "2026-10-22T12: 00: 00Z",
"kind": "article"
}
},
"seq": 1
}