Skip to content

Role.vacated

Emitted each time a Role is vacated.

Role.vacate emits Role.vacated when it completes on a Role.

PropertyValue
Emitted byRole.vacate
NounRole
MovesRole filled to vacant
WakesOffboard from a Role

Payload

Each delivery is an Event record. data holds what Role.vacate returns, and previous holds the state it left.

FieldTypeRequiredDescription
namestringrequiredRole.vacated.
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.roleRolerequiredThe vacant Role.
data.role.namestringrequiredThe title of the seat.
data.role.responsibilitiestextThe work the seat owns.
data.role.statusstringrequiredOne of vacant or filled.
data.role.autonomyjsonHow much its agent does without asking: a rung, assist, supervised or full, with another rung per decision class where it differs.
data.previous.statusstringrequiredThe status before this Event: filled.

Example

JSON
{
  "$id": "https://api.sb/kilnbakery.com/events/event_1",
  "$type": "Event",
  "name": "Role.vacated",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "role": {
      "$id": "https://api.sb/kilnbakery.com/roles/role_1",
      "$type": "Role",
      "name": "Kiln Bakery",
      "responsibilities": "Example responsibilities",
      "status": "vacant",
      "autonomy": {
        "default": "supervised",
        "byClass": {
          "high": "assist"
        }
      }
    },
    "previous": {
      "status": "filled"
    }
  },
  "seq": 1
}