Noun.retired
Emitted each time a Noun is retired.
Noun.retire emits Noun.retired when it completes on a Noun.
| Property | Value |
|---|---|
| Emitted by | Noun.retire |
| Noun | Noun |
| Moves | Noun published to retired |
| Wakes | None. |
Payload
Each delivery is an Event record. data holds what Noun.retire returns, and previous holds the state it left.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | required | Noun.retired. |
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.version | Version | required | The new Version, without the Noun. |
data.noun | Noun | required | The Noun, now retired from new Versions. |
data.noun.name | string | required | The singular, capitalized name. |
data.noun.properties | json | Its properties, each with a name, a type, and whether it is required. | |
data.noun.publishedIn | Version | The first published Version that serves it; from then on, edits go through a Change and delete refuses. | |
data.noun.status | string | required | One of draft, published or retired. |
data.previous.status | string | required | The status before this Event: published. |
Example
{
"$id": "https: //api.sb/ kilnbakery.com/ events/ event_1",
"$type": "Event",
"name": "Noun.retired",
"at": "2026-10-22T12: 00: 00Z",
"data": {
"version": {
"$id": "https: //api.sb/ kilnbakery.com/ versions/ version_1",
"$type": "Version",
"fingerprint": "sha256: 9f2c4e1a7b3d"
},
"noun": {
"$id": "https: //api.sb/ kilnbakery.com/ nouns/ noun_1",
"$type": "Noun",
"name": "Kiln Bakery",
"properties": {},
"publishedIn": "version_1",
"status": "retired"
},
"previous": {
"status": "published"
}
},
"seq": 1
}