Skip to content

Content.drafted

Emitted each time a Content is drafted.

Content.draft emits Content.drafted when it completes on a Content.

PropertyValue
Emitted byContent.draft
NounContent
WakesNone.

Payload

Each delivery is an Event record. data holds what Content.draft returns.

FieldTypeRequiredDescription
namestringrequiredContent.drafted.
atdatetimerequiredWhen it happened.
seqintegerIts position in the namespace, one more than the Event before; any seq is a cursor into the history.
datajsonrequiredThe Thing as the Action left it.
data.contentContentrequiredThe draft.
data.content.titlestringrequiredThe headline.
data.content.publishedAtdatetimeWhen it went live.
data.content.kindstringWhat the Content is, so each System reads its own kind.

Example

JSON
{
  "$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
}