Skip to content

Video.drafted

Emitted each time a Video is drafted.

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

PropertyValue
Emitted byVideo.draft
NounVideo
WakesNone.

Payload

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

FieldTypeRequiredDescription
namestringrequiredVideo.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.videoVideorequiredThe drafted Video, in status Draft.
data.video.statusstringrequiredOne of Draft, Rendered, Final, or Superseded.
data.video.timelinejsonrequiredThe ordered scenes on a fixed grid, the only timing truth for picture, voice and captions.
data.video.brandBrandrequiredThe Brand whose voice, palette and type the Video uses.
data.video.offerOfferThe Offer the Video presents, when it presents one.

Example

JSON
{
  "$id": "https://api.sb/routewise.dev/events/event_1",
  "$type": "Event",
  "name": "Video.drafted",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "video": {
      "$id": "https://api.sb/routewise.dev/videos/video_1",
      "$type": "Video",
      "status": "Draft",
      "timeline": {},
      "brand": "brand_1",
      "offer": "offer_1"
    }
  },
  "seq": 1
}