{"asyncapi":"3.0.0","info":{"title":"runofsho real-time API","version":"1.8.0","description":"Live updates for rooms and rundowns. Every event carries `room_id` or `rundown_id`, `version`, `server_time` and the changed data.\nApply events in `version` order; each event increases the room version by exactly one. If you see a gap, call `GET /v1/rooms/{roomId}/state`.\nRundown events (grid editing) have their own version per rundown. All events of one change share a version and versions only go up; if one is skipped, call `GET /v1/rundowns/{rundownId}/state`. Rundown events are delivered over socket.io.\n\n**socket.io** — namespace `/v1`, websocket transport only. Authenticate with `auth: { token }` (session JWT, API key or output token). Two-way: `subscribe`, `unsubscribe` and `command` with acknowledgements.\n**SSE** — `GET /v1/rooms/{roomId}/stream` for read-only clients. The message `id` is the room version; resume with `Last-Event-ID`.\nWebhooks use the same event names and payloads."},"defaultContentType":"application/json","servers":{"production":{"host":"api.runofsho.com","protocol":"wss","pathname":"/socket.io","description":"socket.io (Engine.IO v4), namespace /v1"},"local":{"host":"localhost:4000","protocol":"ws","pathname":"/socket.io"}},"channels":{"room":{"address":"room:{roomId}","description":"Events of one room, delivered to subscribed sockets (event name = type) and SSE streams.","parameters":{"roomId":{"description":"Room id"}},"messages":{"stateSnapshot":{"name":"state.snapshot","title":"StateSnapshotEvent","summary":"Full room state. Sent on subscribe and whenever the server cannot replay missed events.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"state.snapshot"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["version","server_time","room","playback","current_timer","next_timer","active_message","focus","active_question","remaining_ms","phase","drift_ms","service","next_service","holding"],"properties":{"version":{"type":"integer","description":"Room version. Every event increments it by one."},"server_time":{"type":"integer","description":"Server clock (ms since Unix epoch)"},"room":{"type":"object","required":["id","name","timezone","show_date","logo_url","active_rundown_id","workspace_id","blackout","on_air","settings","position","created_at","updated_at"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"timezone":{"type":"string"},"show_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","examples":["2026-11-21"]},{"type":"null"}]},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"active_rundown_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"workspace_id":{"anyOf":[{"type":"string","description":"The client workspace this room belongs to; null for the team's own rooms."},{"type":"null"}]},"blackout":{"type":"boolean"},"on_air":{"type":"boolean"},"settings":{"type":"object","patternProperties":{"^.*$":{}}},"position":{"type":"integer","description":"Where the room sits in the team's list. GET /v1/rooms is in this order; change it with POST /v1/rooms/reorder."},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Room"},"playback":{"type":"object","required":["timer_id","running","start","finish","pause","undo_depth"],"properties":{"timer_id":{"anyOf":[{"type":"string","description":"The selected timer."},{"type":"null"}]},"running":{"type":"boolean"},"start":{"anyOf":[{"type":"integer","description":"When the current run started, shifted by any time spent paused (ms since Unix epoch)"},{"type":"null"}]},"finish":{"anyOf":[{"type":"integer","description":"When the timer reaches zero (ms since Unix epoch)"},{"type":"null"}]},"pause":{"anyOf":[{"type":"integer","description":"When the timer was paused; null while running (ms since Unix epoch)"},{"type":"null"}]},"undo_depth":{"type":"integer","description":"How many playback commands POST /playback/undo can take back right now (0 to 50)."}},"title":"Playback","description":"Playback is stored as timestamps. Running: remaining = finish - now. Paused: remaining = finish - pause. Total duration: finish - start."},"current_timer":{"anyOf":[{"type":"object","required":["id","rundown_id","position","item_number","external_id","kind","name","speaker","notes","labels","duration_ms","appearance","type","finish_time","wrap_up_yellow_s","wrap_up_red_s","trigger","start_time","group_id","anchor_start","muted","floating","locked","row_color","services","in_service","element","cells","rev","archived_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"position":{"type":"integer","description":"Zero-based position in the rundown."},"item_number":{"anyOf":[{"type":"string","description":"Manual cue number such as \"4A\". When null, clients show position + 1."},{"type":"null"}]},"external_id":{"anyOf":[{"type":"string","description":"Your own identifier; unique per rundown. Usable as a timer reference."},{"type":"null"}]},"kind":{"type":"string","enum":["item","header","note"]},"name":{"type":"string"},"speaker":{"type":"string"},"notes":{"type":"string"},"labels":{"type":"array","items":{"type":"object","required":["name","color"],"properties":{"name":{"type":"string","maxLength":60},"color":{"type":"string","maxLength":32}}}},"duration_ms":{"type":"integer","minimum":0},"appearance":{"type":"string","enum":["COUNTDOWN","COUNTUP","TOD","COUNTDOWN_TOD","COUNTUP_TOD","HIDDEN"]},"type":{"type":"string","enum":["DURATION","FINISH_TIME","PLANNED_END"],"description":"How the countdown is set when the timer starts. DURATION: runs its full length from the moment it starts. FINISH_TIME: counts down to finish_time, a time of day. PLANNED_END: counts down to the end the rundown plans for this row, so a late start is made up (but never below half its length); behaves like DURATION while the rundown has no start time."},"finish_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"wrap_up_yellow_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns yellow."},"wrap_up_red_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns red."},"trigger":{"type":"string","enum":["MANUAL","LINKED","SCHEDULED"]},"start_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"group_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"anchor_start":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Hard start: wall-clock time on the rundown's show day at which this row starts no matter how long the rows before it are.","examples":["12:30"]},{"type":"null"}]},"muted":{"type":"boolean","description":"A muted duration does not push the rows after it."},"floating":{"type":"boolean","description":"Floating rows stay in the rundown but are left out of timing, and Next / Previous skip them."},"locked":{"type":"boolean","description":"Locked rows reject edits and deletion until unlocked."},"row_color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"services":{"anyOf":[{"type":"array","items":{"type":"string"},"description":"Ids of the service times this row runs in. Null runs in every service."},{"type":"null"}]},"in_service":{"type":"boolean","description":"False when the rundown's active service time is not one of services: the row is then skipped like a floating row (left out of timing, passed over by Next, Previous and linked starts, never started by its schedule) until a service it belongs to comes round. Always true for rundowns without service times."},"element":{"anyOf":[{"type":"object","required":["id","version"],"properties":{"id":{"type":"string"},"version":{"type":"integer"}},"description":"The library element this row is linked to and the version it carries. Compare version with the element's current_version to see whether an update is available."},{"type":"null"}]},"cells":{"type":"object","patternProperties":{"^.*$":{"type":"object","required":["value","style","rev","updated_at"],"properties":{"value":{"anyOf":[{"type":"string","maxLength":50000},{"type":"integer"},{"type":"null"}]},"style":{"anyOf":[{"type":"object","properties":{"bold":{"type":"boolean"},"italic":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}},"title":"CellStyle"},{"type":"null"}]},"rev":{"type":"integer","description":"Increments on every edit of this cell; send it in expected_cell_revs."},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Cell"}},"description":"Cell values by column id; cells never written are absent. Filled in rundown responses and rundown events. Always empty in room state and room events (timers.changed, current_timer), so output screens never receive a department's notes."},"rev":{"type":"integer","description":"Increments on every edit of the item's own fields (not its cells); send as expected_rev to avoid overwriting someone else's change."},"archived_at":{"anyOf":[{"type":"integer","description":"When the row was deleted. Always null except in GET …/archived and in history. (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Item","description":"A rundown item. Every item is also a timer."},{"type":"null"}]},"next_timer":{"anyOf":[{"type":"object","required":["id","rundown_id","position","item_number","external_id","kind","name","speaker","notes","labels","duration_ms","appearance","type","finish_time","wrap_up_yellow_s","wrap_up_red_s","trigger","start_time","group_id","anchor_start","muted","floating","locked","row_color","services","in_service","element","cells","rev","archived_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"position":{"type":"integer","description":"Zero-based position in the rundown."},"item_number":{"anyOf":[{"type":"string","description":"Manual cue number such as \"4A\". When null, clients show position + 1."},{"type":"null"}]},"external_id":{"anyOf":[{"type":"string","description":"Your own identifier; unique per rundown. Usable as a timer reference."},{"type":"null"}]},"kind":{"type":"string","enum":["item","header","note"]},"name":{"type":"string"},"speaker":{"type":"string"},"notes":{"type":"string"},"labels":{"type":"array","items":{"type":"object","required":["name","color"],"properties":{"name":{"type":"string","maxLength":60},"color":{"type":"string","maxLength":32}}}},"duration_ms":{"type":"integer","minimum":0},"appearance":{"type":"string","enum":["COUNTDOWN","COUNTUP","TOD","COUNTDOWN_TOD","COUNTUP_TOD","HIDDEN"]},"type":{"type":"string","enum":["DURATION","FINISH_TIME","PLANNED_END"],"description":"How the countdown is set when the timer starts. DURATION: runs its full length from the moment it starts. FINISH_TIME: counts down to finish_time, a time of day. PLANNED_END: counts down to the end the rundown plans for this row, so a late start is made up (but never below half its length); behaves like DURATION while the rundown has no start time."},"finish_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"wrap_up_yellow_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns yellow."},"wrap_up_red_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns red."},"trigger":{"type":"string","enum":["MANUAL","LINKED","SCHEDULED"]},"start_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"group_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"anchor_start":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Hard start: wall-clock time on the rundown's show day at which this row starts no matter how long the rows before it are.","examples":["12:30"]},{"type":"null"}]},"muted":{"type":"boolean","description":"A muted duration does not push the rows after it."},"floating":{"type":"boolean","description":"Floating rows stay in the rundown but are left out of timing, and Next / Previous skip them."},"locked":{"type":"boolean","description":"Locked rows reject edits and deletion until unlocked."},"row_color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"services":{"anyOf":[{"type":"array","items":{"type":"string"},"description":"Ids of the service times this row runs in. Null runs in every service."},{"type":"null"}]},"in_service":{"type":"boolean","description":"False when the rundown's active service time is not one of services: the row is then skipped like a floating row (left out of timing, passed over by Next, Previous and linked starts, never started by its schedule) until a service it belongs to comes round. Always true for rundowns without service times."},"element":{"anyOf":[{"type":"object","required":["id","version"],"properties":{"id":{"type":"string"},"version":{"type":"integer"}},"description":"The library element this row is linked to and the version it carries. Compare version with the element's current_version to see whether an update is available."},{"type":"null"}]},"cells":{"type":"object","patternProperties":{"^.*$":{"type":"object","required":["value","style","rev","updated_at"],"properties":{"value":{"anyOf":[{"type":"string","maxLength":50000},{"type":"integer"},{"type":"null"}]},"style":{"anyOf":[{"type":"object","properties":{"bold":{"type":"boolean"},"italic":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}},"title":"CellStyle"},{"type":"null"}]},"rev":{"type":"integer","description":"Increments on every edit of this cell; send it in expected_cell_revs."},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Cell"}},"description":"Cell values by column id; cells never written are absent. Filled in rundown responses and rundown events. Always empty in room state and room events (timers.changed, current_timer), so output screens never receive a department's notes."},"rev":{"type":"integer","description":"Increments on every edit of the item's own fields (not its cells); send as expected_rev to avoid overwriting someone else's change."},"archived_at":{"anyOf":[{"type":"integer","description":"When the row was deleted. Always null except in GET …/archived and in history. (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Item","description":"A rundown item. Every item is also a timer."},{"type":"null"}]},"active_message":{"anyOf":[{"type":"object","required":["id","room_id","position","text","color","bold","uppercase","preset_id","created_at"],"properties":{"id":{"type":"string"},"room_id":{"type":"string"},"position":{"type":"integer"},"text":{"type":"string"},"color":{"type":"string","enum":["white","green","red"]},"bold":{"type":"boolean"},"uppercase":{"type":"boolean"},"preset_id":{"anyOf":[{"type":"string","description":"Set when the message was sent from a team preset."},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"}},"title":"Message"},{"type":"null"}]},"focus":{"type":"boolean","description":"True when the active message is shown fullscreen."},"active_question":{"anyOf":[{"type":"object","required":["question","to"],"properties":{"question":{"type":"object","required":["id","room_id","text","name","status","shown_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"room_id":{"type":"string"},"text":{"type":"string"},"name":{"anyOf":[{"type":"string","description":"Who asked, when they said."},{"type":"null"}]},"status":{"type":"string","enum":["pending","approved","rejected","answered"]},"shown_at":{"anyOf":[{"type":"integer","description":"When it was last put on screen (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Asked (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Last changed (ms since Unix epoch)"}},"title":"Question","description":"An audience question. Nothing reaches a screen until a moderator shows it."},"to":{"type":"string","enum":["all","presenter"],"description":"all: every output screen of the room. presenter: the speaker and confidence views only. This is a drawing hint; the question is in the room state either way."}},"title":"ActiveQuestion"},{"type":"null"}]},"remaining_ms":{"anyOf":[{"type":"integer","description":"Remaining time at server_time; negative in overrun."},{"type":"null"}]},"phase":{"type":"string","enum":["green","yellow","red","overrun","paused","idle"]},"drift_ms":{"type":"integer","description":"How far the room is behind (+) or ahead (-) of plan in the current run session."},"service":{"anyOf":[{"type":"object","required":["id","label","starts_at","offset_ms"],"properties":{"id":{"type":"string"},"label":{"type":"string","description":"What people call it, e.g. \"9:00 AM\" or \"Saturday evening\"."},"starts_at":{"type":"integer","description":"When this service starts (ms since Unix epoch)"},"offset_ms":{"type":"integer","description":"How long after the rundown's start_at this service starts. Every time in the rundown moves by it while this service is the active one."}},"title":"ServiceTime","description":"One time the rundown runs. A church with services at 9:00 and 11:00 has one rundown with two service times; the room, its links and its screens stay the same."},{"type":"null"}]},"next_service":{"anyOf":[{"type":"object","required":["id","label","starts_at","offset_ms"],"properties":{"id":{"type":"string"},"label":{"type":"string","description":"What people call it, e.g. \"9:00 AM\" or \"Saturday evening\"."},"starts_at":{"type":"integer","description":"When this service starts (ms since Unix epoch)"},"offset_ms":{"type":"integer","description":"How long after the rundown's start_at this service starts. Every time in the rundown moves by it while this service is the active one."}},"title":"ServiceTime","description":"One time the rundown runs. A church with services at 9:00 and 11:00 has one rundown with two service times; the room, its links and its screens stay the same."},{"type":"null"}]},"holding":{"type":"boolean","description":"Screens show the holding screen: the service, a countdown to when it starts and the room's holding message, in place of the timer. Ends by itself when a timer starts."}},"title":"RoomState","description":"Everything a display needs, in one call. service is the service time of the loaded rundown this room is running (null when it has none) and next_service the one after it."}},"title":"StateSnapshotEvent","description":"Full room state. Sent on subscribe and whenever the server cannot replay missed events."}},"playbackUpdated":{"name":"playback.updated","title":"PlaybackUpdatedEvent","summary":"Playback timestamps changed. Always the last event of a playback command.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"playback.updated"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["playback","current_timer","next_timer"],"properties":{"playback":{"type":"object","required":["timer_id","running","start","finish","pause","undo_depth"],"properties":{"timer_id":{"anyOf":[{"type":"string","description":"The selected timer."},{"type":"null"}]},"running":{"type":"boolean"},"start":{"anyOf":[{"type":"integer","description":"When the current run started, shifted by any time spent paused (ms since Unix epoch)"},{"type":"null"}]},"finish":{"anyOf":[{"type":"integer","description":"When the timer reaches zero (ms since Unix epoch)"},{"type":"null"}]},"pause":{"anyOf":[{"type":"integer","description":"When the timer was paused; null while running (ms since Unix epoch)"},{"type":"null"}]},"undo_depth":{"type":"integer","description":"How many playback commands POST /playback/undo can take back right now (0 to 50)."}},"title":"Playback","description":"Playback is stored as timestamps. Running: remaining = finish - now. Paused: remaining = finish - pause. Total duration: finish - start."},"current_timer":{"anyOf":[{"type":"object","required":["id","rundown_id","position","item_number","external_id","kind","name","speaker","notes","labels","duration_ms","appearance","type","finish_time","wrap_up_yellow_s","wrap_up_red_s","trigger","start_time","group_id","anchor_start","muted","floating","locked","row_color","services","in_service","element","cells","rev","archived_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"position":{"type":"integer","description":"Zero-based position in the rundown."},"item_number":{"anyOf":[{"type":"string","description":"Manual cue number such as \"4A\". When null, clients show position + 1."},{"type":"null"}]},"external_id":{"anyOf":[{"type":"string","description":"Your own identifier; unique per rundown. Usable as a timer reference."},{"type":"null"}]},"kind":{"type":"string","enum":["item","header","note"]},"name":{"type":"string"},"speaker":{"type":"string"},"notes":{"type":"string"},"labels":{"type":"array","items":{"type":"object","required":["name","color"],"properties":{"name":{"type":"string","maxLength":60},"color":{"type":"string","maxLength":32}}}},"duration_ms":{"type":"integer","minimum":0},"appearance":{"type":"string","enum":["COUNTDOWN","COUNTUP","TOD","COUNTDOWN_TOD","COUNTUP_TOD","HIDDEN"]},"type":{"type":"string","enum":["DURATION","FINISH_TIME","PLANNED_END"],"description":"How the countdown is set when the timer starts. DURATION: runs its full length from the moment it starts. FINISH_TIME: counts down to finish_time, a time of day. PLANNED_END: counts down to the end the rundown plans for this row, so a late start is made up (but never below half its length); behaves like DURATION while the rundown has no start time."},"finish_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"wrap_up_yellow_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns yellow."},"wrap_up_red_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns red."},"trigger":{"type":"string","enum":["MANUAL","LINKED","SCHEDULED"]},"start_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"group_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"anchor_start":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Hard start: wall-clock time on the rundown's show day at which this row starts no matter how long the rows before it are.","examples":["12:30"]},{"type":"null"}]},"muted":{"type":"boolean","description":"A muted duration does not push the rows after it."},"floating":{"type":"boolean","description":"Floating rows stay in the rundown but are left out of timing, and Next / Previous skip them."},"locked":{"type":"boolean","description":"Locked rows reject edits and deletion until unlocked."},"row_color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"services":{"anyOf":[{"type":"array","items":{"type":"string"},"description":"Ids of the service times this row runs in. Null runs in every service."},{"type":"null"}]},"in_service":{"type":"boolean","description":"False when the rundown's active service time is not one of services: the row is then skipped like a floating row (left out of timing, passed over by Next, Previous and linked starts, never started by its schedule) until a service it belongs to comes round. Always true for rundowns without service times."},"element":{"anyOf":[{"type":"object","required":["id","version"],"properties":{"id":{"type":"string"},"version":{"type":"integer"}},"description":"The library element this row is linked to and the version it carries. Compare version with the element's current_version to see whether an update is available."},{"type":"null"}]},"cells":{"type":"object","patternProperties":{"^.*$":{"type":"object","required":["value","style","rev","updated_at"],"properties":{"value":{"anyOf":[{"type":"string","maxLength":50000},{"type":"integer"},{"type":"null"}]},"style":{"anyOf":[{"type":"object","properties":{"bold":{"type":"boolean"},"italic":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}},"title":"CellStyle"},{"type":"null"}]},"rev":{"type":"integer","description":"Increments on every edit of this cell; send it in expected_cell_revs."},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Cell"}},"description":"Cell values by column id; cells never written are absent. Filled in rundown responses and rundown events. Always empty in room state and room events (timers.changed, current_timer), so output screens never receive a department's notes."},"rev":{"type":"integer","description":"Increments on every edit of the item's own fields (not its cells); send as expected_rev to avoid overwriting someone else's change."},"archived_at":{"anyOf":[{"type":"integer","description":"When the row was deleted. Always null except in GET …/archived and in history. (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Item","description":"A rundown item. Every item is also a timer."},{"type":"null"}]},"next_timer":{"anyOf":[{"type":"object","required":["id","rundown_id","position","item_number","external_id","kind","name","speaker","notes","labels","duration_ms","appearance","type","finish_time","wrap_up_yellow_s","wrap_up_red_s","trigger","start_time","group_id","anchor_start","muted","floating","locked","row_color","services","in_service","element","cells","rev","archived_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"position":{"type":"integer","description":"Zero-based position in the rundown."},"item_number":{"anyOf":[{"type":"string","description":"Manual cue number such as \"4A\". When null, clients show position + 1."},{"type":"null"}]},"external_id":{"anyOf":[{"type":"string","description":"Your own identifier; unique per rundown. Usable as a timer reference."},{"type":"null"}]},"kind":{"type":"string","enum":["item","header","note"]},"name":{"type":"string"},"speaker":{"type":"string"},"notes":{"type":"string"},"labels":{"type":"array","items":{"type":"object","required":["name","color"],"properties":{"name":{"type":"string","maxLength":60},"color":{"type":"string","maxLength":32}}}},"duration_ms":{"type":"integer","minimum":0},"appearance":{"type":"string","enum":["COUNTDOWN","COUNTUP","TOD","COUNTDOWN_TOD","COUNTUP_TOD","HIDDEN"]},"type":{"type":"string","enum":["DURATION","FINISH_TIME","PLANNED_END"],"description":"How the countdown is set when the timer starts. DURATION: runs its full length from the moment it starts. FINISH_TIME: counts down to finish_time, a time of day. PLANNED_END: counts down to the end the rundown plans for this row, so a late start is made up (but never below half its length); behaves like DURATION while the rundown has no start time."},"finish_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"wrap_up_yellow_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns yellow."},"wrap_up_red_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns red."},"trigger":{"type":"string","enum":["MANUAL","LINKED","SCHEDULED"]},"start_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"group_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"anchor_start":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Hard start: wall-clock time on the rundown's show day at which this row starts no matter how long the rows before it are.","examples":["12:30"]},{"type":"null"}]},"muted":{"type":"boolean","description":"A muted duration does not push the rows after it."},"floating":{"type":"boolean","description":"Floating rows stay in the rundown but are left out of timing, and Next / Previous skip them."},"locked":{"type":"boolean","description":"Locked rows reject edits and deletion until unlocked."},"row_color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"services":{"anyOf":[{"type":"array","items":{"type":"string"},"description":"Ids of the service times this row runs in. Null runs in every service."},{"type":"null"}]},"in_service":{"type":"boolean","description":"False when the rundown's active service time is not one of services: the row is then skipped like a floating row (left out of timing, passed over by Next, Previous and linked starts, never started by its schedule) until a service it belongs to comes round. Always true for rundowns without service times."},"element":{"anyOf":[{"type":"object","required":["id","version"],"properties":{"id":{"type":"string"},"version":{"type":"integer"}},"description":"The library element this row is linked to and the version it carries. Compare version with the element's current_version to see whether an update is available."},{"type":"null"}]},"cells":{"type":"object","patternProperties":{"^.*$":{"type":"object","required":["value","style","rev","updated_at"],"properties":{"value":{"anyOf":[{"type":"string","maxLength":50000},{"type":"integer"},{"type":"null"}]},"style":{"anyOf":[{"type":"object","properties":{"bold":{"type":"boolean"},"italic":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}},"title":"CellStyle"},{"type":"null"}]},"rev":{"type":"integer","description":"Increments on every edit of this cell; send it in expected_cell_revs."},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Cell"}},"description":"Cell values by column id; cells never written are absent. Filled in rundown responses and rundown events. Always empty in room state and room events (timers.changed, current_timer), so output screens never receive a department's notes."},"rev":{"type":"integer","description":"Increments on every edit of the item's own fields (not its cells); send as expected_rev to avoid overwriting someone else's change."},"archived_at":{"anyOf":[{"type":"integer","description":"When the row was deleted. Always null except in GET …/archived and in history. (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Item","description":"A rundown item. Every item is also a timer."},{"type":"null"}]}}}},"title":"PlaybackUpdatedEvent","description":"Playback timestamps changed. Always the last event of a playback command."}},"timerSelected":{"name":"timer.selected","title":"TimerSelectedEvent","summary":"A timer was cued.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"timer.selected"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["timer","playback"],"properties":{"timer":{"type":"object","required":["id","rundown_id","position","item_number","external_id","kind","name","speaker","notes","labels","duration_ms","appearance","type","finish_time","wrap_up_yellow_s","wrap_up_red_s","trigger","start_time","group_id","anchor_start","muted","floating","locked","row_color","services","in_service","element","cells","rev","archived_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"position":{"type":"integer","description":"Zero-based position in the rundown."},"item_number":{"anyOf":[{"type":"string","description":"Manual cue number such as \"4A\". When null, clients show position + 1."},{"type":"null"}]},"external_id":{"anyOf":[{"type":"string","description":"Your own identifier; unique per rundown. Usable as a timer reference."},{"type":"null"}]},"kind":{"type":"string","enum":["item","header","note"]},"name":{"type":"string"},"speaker":{"type":"string"},"notes":{"type":"string"},"labels":{"type":"array","items":{"type":"object","required":["name","color"],"properties":{"name":{"type":"string","maxLength":60},"color":{"type":"string","maxLength":32}}}},"duration_ms":{"type":"integer","minimum":0},"appearance":{"type":"string","enum":["COUNTDOWN","COUNTUP","TOD","COUNTDOWN_TOD","COUNTUP_TOD","HIDDEN"]},"type":{"type":"string","enum":["DURATION","FINISH_TIME","PLANNED_END"],"description":"How the countdown is set when the timer starts. DURATION: runs its full length from the moment it starts. FINISH_TIME: counts down to finish_time, a time of day. PLANNED_END: counts down to the end the rundown plans for this row, so a late start is made up (but never below half its length); behaves like DURATION while the rundown has no start time."},"finish_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"wrap_up_yellow_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns yellow."},"wrap_up_red_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns red."},"trigger":{"type":"string","enum":["MANUAL","LINKED","SCHEDULED"]},"start_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"group_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"anchor_start":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Hard start: wall-clock time on the rundown's show day at which this row starts no matter how long the rows before it are.","examples":["12:30"]},{"type":"null"}]},"muted":{"type":"boolean","description":"A muted duration does not push the rows after it."},"floating":{"type":"boolean","description":"Floating rows stay in the rundown but are left out of timing, and Next / Previous skip them."},"locked":{"type":"boolean","description":"Locked rows reject edits and deletion until unlocked."},"row_color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"services":{"anyOf":[{"type":"array","items":{"type":"string"},"description":"Ids of the service times this row runs in. Null runs in every service."},{"type":"null"}]},"in_service":{"type":"boolean","description":"False when the rundown's active service time is not one of services: the row is then skipped like a floating row (left out of timing, passed over by Next, Previous and linked starts, never started by its schedule) until a service it belongs to comes round. Always true for rundowns without service times."},"element":{"anyOf":[{"type":"object","required":["id","version"],"properties":{"id":{"type":"string"},"version":{"type":"integer"}},"description":"The library element this row is linked to and the version it carries. Compare version with the element's current_version to see whether an update is available."},{"type":"null"}]},"cells":{"type":"object","patternProperties":{"^.*$":{"type":"object","required":["value","style","rev","updated_at"],"properties":{"value":{"anyOf":[{"type":"string","maxLength":50000},{"type":"integer"},{"type":"null"}]},"style":{"anyOf":[{"type":"object","properties":{"bold":{"type":"boolean"},"italic":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}},"title":"CellStyle"},{"type":"null"}]},"rev":{"type":"integer","description":"Increments on every edit of this cell; send it in expected_cell_revs."},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Cell"}},"description":"Cell values by column id; cells never written are absent. Filled in rundown responses and rundown events. Always empty in room state and room events (timers.changed, current_timer), so output screens never receive a department's notes."},"rev":{"type":"integer","description":"Increments on every edit of the item's own fields (not its cells); send as expected_rev to avoid overwriting someone else's change."},"archived_at":{"anyOf":[{"type":"integer","description":"When the row was deleted. Always null except in GET …/archived and in history. (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Item","description":"A rundown item. Every item is also a timer."},"playback":{"type":"object","required":["timer_id","running","start","finish","pause","undo_depth"],"properties":{"timer_id":{"anyOf":[{"type":"string","description":"The selected timer."},{"type":"null"}]},"running":{"type":"boolean"},"start":{"anyOf":[{"type":"integer","description":"When the current run started, shifted by any time spent paused (ms since Unix epoch)"},{"type":"null"}]},"finish":{"anyOf":[{"type":"integer","description":"When the timer reaches zero (ms since Unix epoch)"},{"type":"null"}]},"pause":{"anyOf":[{"type":"integer","description":"When the timer was paused; null while running (ms since Unix epoch)"},{"type":"null"}]},"undo_depth":{"type":"integer","description":"How many playback commands POST /playback/undo can take back right now (0 to 50)."}},"title":"Playback","description":"Playback is stored as timestamps. Running: remaining = finish - now. Paused: remaining = finish - pause. Total duration: finish - start."}}}},"title":"TimerSelectedEvent","description":"A timer was cued."}},"timerStarted":{"name":"timer.started","title":"TimerStartedEvent","summary":"A timer started or resumed.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"timer.started"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["timer","playback"],"properties":{"timer":{"type":"object","required":["id","rundown_id","position","item_number","external_id","kind","name","speaker","notes","labels","duration_ms","appearance","type","finish_time","wrap_up_yellow_s","wrap_up_red_s","trigger","start_time","group_id","anchor_start","muted","floating","locked","row_color","services","in_service","element","cells","rev","archived_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"position":{"type":"integer","description":"Zero-based position in the rundown."},"item_number":{"anyOf":[{"type":"string","description":"Manual cue number such as \"4A\". When null, clients show position + 1."},{"type":"null"}]},"external_id":{"anyOf":[{"type":"string","description":"Your own identifier; unique per rundown. Usable as a timer reference."},{"type":"null"}]},"kind":{"type":"string","enum":["item","header","note"]},"name":{"type":"string"},"speaker":{"type":"string"},"notes":{"type":"string"},"labels":{"type":"array","items":{"type":"object","required":["name","color"],"properties":{"name":{"type":"string","maxLength":60},"color":{"type":"string","maxLength":32}}}},"duration_ms":{"type":"integer","minimum":0},"appearance":{"type":"string","enum":["COUNTDOWN","COUNTUP","TOD","COUNTDOWN_TOD","COUNTUP_TOD","HIDDEN"]},"type":{"type":"string","enum":["DURATION","FINISH_TIME","PLANNED_END"],"description":"How the countdown is set when the timer starts. DURATION: runs its full length from the moment it starts. FINISH_TIME: counts down to finish_time, a time of day. PLANNED_END: counts down to the end the rundown plans for this row, so a late start is made up (but never below half its length); behaves like DURATION while the rundown has no start time."},"finish_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"wrap_up_yellow_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns yellow."},"wrap_up_red_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns red."},"trigger":{"type":"string","enum":["MANUAL","LINKED","SCHEDULED"]},"start_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"group_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"anchor_start":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Hard start: wall-clock time on the rundown's show day at which this row starts no matter how long the rows before it are.","examples":["12:30"]},{"type":"null"}]},"muted":{"type":"boolean","description":"A muted duration does not push the rows after it."},"floating":{"type":"boolean","description":"Floating rows stay in the rundown but are left out of timing, and Next / Previous skip them."},"locked":{"type":"boolean","description":"Locked rows reject edits and deletion until unlocked."},"row_color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"services":{"anyOf":[{"type":"array","items":{"type":"string"},"description":"Ids of the service times this row runs in. Null runs in every service."},{"type":"null"}]},"in_service":{"type":"boolean","description":"False when the rundown's active service time is not one of services: the row is then skipped like a floating row (left out of timing, passed over by Next, Previous and linked starts, never started by its schedule) until a service it belongs to comes round. Always true for rundowns without service times."},"element":{"anyOf":[{"type":"object","required":["id","version"],"properties":{"id":{"type":"string"},"version":{"type":"integer"}},"description":"The library element this row is linked to and the version it carries. Compare version with the element's current_version to see whether an update is available."},{"type":"null"}]},"cells":{"type":"object","patternProperties":{"^.*$":{"type":"object","required":["value","style","rev","updated_at"],"properties":{"value":{"anyOf":[{"type":"string","maxLength":50000},{"type":"integer"},{"type":"null"}]},"style":{"anyOf":[{"type":"object","properties":{"bold":{"type":"boolean"},"italic":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}},"title":"CellStyle"},{"type":"null"}]},"rev":{"type":"integer","description":"Increments on every edit of this cell; send it in expected_cell_revs."},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Cell"}},"description":"Cell values by column id; cells never written are absent. Filled in rundown responses and rundown events. Always empty in room state and room events (timers.changed, current_timer), so output screens never receive a department's notes."},"rev":{"type":"integer","description":"Increments on every edit of the item's own fields (not its cells); send as expected_rev to avoid overwriting someone else's change."},"archived_at":{"anyOf":[{"type":"integer","description":"When the row was deleted. Always null except in GET …/archived and in history. (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Item","description":"A rundown item. Every item is also a timer."},"playback":{"type":"object","required":["timer_id","running","start","finish","pause","undo_depth"],"properties":{"timer_id":{"anyOf":[{"type":"string","description":"The selected timer."},{"type":"null"}]},"running":{"type":"boolean"},"start":{"anyOf":[{"type":"integer","description":"When the current run started, shifted by any time spent paused (ms since Unix epoch)"},{"type":"null"}]},"finish":{"anyOf":[{"type":"integer","description":"When the timer reaches zero (ms since Unix epoch)"},{"type":"null"}]},"pause":{"anyOf":[{"type":"integer","description":"When the timer was paused; null while running (ms since Unix epoch)"},{"type":"null"}]},"undo_depth":{"type":"integer","description":"How many playback commands POST /playback/undo can take back right now (0 to 50)."}},"title":"Playback","description":"Playback is stored as timestamps. Running: remaining = finish - now. Paused: remaining = finish - pause. Total duration: finish - start."}}}},"title":"TimerStartedEvent","description":"A timer started or resumed."}},"timerStopped":{"name":"timer.stopped","title":"TimerStoppedEvent","summary":"A timer was paused or left.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"timer.stopped"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["timer","playback"],"properties":{"timer":{"type":"object","required":["id","rundown_id","position","item_number","external_id","kind","name","speaker","notes","labels","duration_ms","appearance","type","finish_time","wrap_up_yellow_s","wrap_up_red_s","trigger","start_time","group_id","anchor_start","muted","floating","locked","row_color","services","in_service","element","cells","rev","archived_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"position":{"type":"integer","description":"Zero-based position in the rundown."},"item_number":{"anyOf":[{"type":"string","description":"Manual cue number such as \"4A\". When null, clients show position + 1."},{"type":"null"}]},"external_id":{"anyOf":[{"type":"string","description":"Your own identifier; unique per rundown. Usable as a timer reference."},{"type":"null"}]},"kind":{"type":"string","enum":["item","header","note"]},"name":{"type":"string"},"speaker":{"type":"string"},"notes":{"type":"string"},"labels":{"type":"array","items":{"type":"object","required":["name","color"],"properties":{"name":{"type":"string","maxLength":60},"color":{"type":"string","maxLength":32}}}},"duration_ms":{"type":"integer","minimum":0},"appearance":{"type":"string","enum":["COUNTDOWN","COUNTUP","TOD","COUNTDOWN_TOD","COUNTUP_TOD","HIDDEN"]},"type":{"type":"string","enum":["DURATION","FINISH_TIME","PLANNED_END"],"description":"How the countdown is set when the timer starts. DURATION: runs its full length from the moment it starts. FINISH_TIME: counts down to finish_time, a time of day. PLANNED_END: counts down to the end the rundown plans for this row, so a late start is made up (but never below half its length); behaves like DURATION while the rundown has no start time."},"finish_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"wrap_up_yellow_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns yellow."},"wrap_up_red_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns red."},"trigger":{"type":"string","enum":["MANUAL","LINKED","SCHEDULED"]},"start_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"group_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"anchor_start":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Hard start: wall-clock time on the rundown's show day at which this row starts no matter how long the rows before it are.","examples":["12:30"]},{"type":"null"}]},"muted":{"type":"boolean","description":"A muted duration does not push the rows after it."},"floating":{"type":"boolean","description":"Floating rows stay in the rundown but are left out of timing, and Next / Previous skip them."},"locked":{"type":"boolean","description":"Locked rows reject edits and deletion until unlocked."},"row_color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"services":{"anyOf":[{"type":"array","items":{"type":"string"},"description":"Ids of the service times this row runs in. Null runs in every service."},{"type":"null"}]},"in_service":{"type":"boolean","description":"False when the rundown's active service time is not one of services: the row is then skipped like a floating row (left out of timing, passed over by Next, Previous and linked starts, never started by its schedule) until a service it belongs to comes round. Always true for rundowns without service times."},"element":{"anyOf":[{"type":"object","required":["id","version"],"properties":{"id":{"type":"string"},"version":{"type":"integer"}},"description":"The library element this row is linked to and the version it carries. Compare version with the element's current_version to see whether an update is available."},{"type":"null"}]},"cells":{"type":"object","patternProperties":{"^.*$":{"type":"object","required":["value","style","rev","updated_at"],"properties":{"value":{"anyOf":[{"type":"string","maxLength":50000},{"type":"integer"},{"type":"null"}]},"style":{"anyOf":[{"type":"object","properties":{"bold":{"type":"boolean"},"italic":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}},"title":"CellStyle"},{"type":"null"}]},"rev":{"type":"integer","description":"Increments on every edit of this cell; send it in expected_cell_revs."},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Cell"}},"description":"Cell values by column id; cells never written are absent. Filled in rundown responses and rundown events. Always empty in room state and room events (timers.changed, current_timer), so output screens never receive a department's notes."},"rev":{"type":"integer","description":"Increments on every edit of the item's own fields (not its cells); send as expected_rev to avoid overwriting someone else's change."},"archived_at":{"anyOf":[{"type":"integer","description":"When the row was deleted. Always null except in GET …/archived and in history. (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Item","description":"A rundown item. Every item is also a timer."},"playback":{"type":"object","required":["timer_id","running","start","finish","pause","undo_depth"],"properties":{"timer_id":{"anyOf":[{"type":"string","description":"The selected timer."},{"type":"null"}]},"running":{"type":"boolean"},"start":{"anyOf":[{"type":"integer","description":"When the current run started, shifted by any time spent paused (ms since Unix epoch)"},{"type":"null"}]},"finish":{"anyOf":[{"type":"integer","description":"When the timer reaches zero (ms since Unix epoch)"},{"type":"null"}]},"pause":{"anyOf":[{"type":"integer","description":"When the timer was paused; null while running (ms since Unix epoch)"},{"type":"null"}]},"undo_depth":{"type":"integer","description":"How many playback commands POST /playback/undo can take back right now (0 to 50)."}},"title":"Playback","description":"Playback is stored as timestamps. Running: remaining = finish - now. Paused: remaining = finish - pause. Total duration: finish - start."}}}},"title":"TimerStoppedEvent","description":"A timer was paused or left."}},"timerYellow":{"name":"timer.yellow","title":"TimerYellowEvent","summary":"The running timer reached its yellow wrap-up point.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"timer.yellow"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["timer_id","due","fired","late"],"properties":{"timer_id":{"type":"string"},"due":{"type":"integer","description":"When the event was due (ms since Unix epoch)"},"fired":{"type":"integer","description":"When the scheduler fired it (ms since Unix epoch)"},"late":{"type":"boolean","description":"True when fired more than 250 ms after it was due (e.g. after a scheduler restart)."}}}},"title":"TimerYellowEvent","description":"The running timer reached its yellow wrap-up point."}},"timerRed":{"name":"timer.red","title":"TimerRedEvent","summary":"The running timer reached its red wrap-up point.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"timer.red"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["timer_id","due","fired","late"],"properties":{"timer_id":{"type":"string"},"due":{"type":"integer","description":"When the event was due (ms since Unix epoch)"},"fired":{"type":"integer","description":"When the scheduler fired it (ms since Unix epoch)"},"late":{"type":"boolean","description":"True when fired more than 250 ms after it was due (e.g. after a scheduler restart)."}}}},"title":"TimerRedEvent","description":"The running timer reached its red wrap-up point."}},"timerFinished":{"name":"timer.finished","title":"TimerFinishedEvent","summary":"The running timer reached zero.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"timer.finished"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["timer_id","due","fired","late"],"properties":{"timer_id":{"type":"string"},"due":{"type":"integer","description":"When the event was due (ms since Unix epoch)"},"fired":{"type":"integer","description":"When the scheduler fired it (ms since Unix epoch)"},"late":{"type":"boolean","description":"True when fired more than 250 ms after it was due (e.g. after a scheduler restart)."}}}},"title":"TimerFinishedEvent","description":"The running timer reached zero."}},"timerOverrun":{"name":"timer.overrun","title":"TimerOverrunEvent","summary":"The timer passed zero and keeps counting into overrun. Emitted once.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"timer.overrun"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["timer_id","due","fired","late"],"properties":{"timer_id":{"type":"string"},"due":{"type":"integer","description":"When the event was due (ms since Unix epoch)"},"fired":{"type":"integer","description":"When the scheduler fired it (ms since Unix epoch)"},"late":{"type":"boolean","description":"True when fired more than 250 ms after it was due (e.g. after a scheduler restart)."}}}},"title":"TimerOverrunEvent","description":"The timer passed zero and keeps counting into overrun. Emitted once."}},"timersChanged":{"name":"timers.changed","title":"TimersChangedEvent","summary":"Items of the room's active rundown changed. Carries the changed data, not just a refetch hint.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"timers.changed"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["created","updated","deleted","current_timer","next_timer"],"properties":{"created":{"type":"array","items":{"type":"object","required":["id","rundown_id","position","item_number","external_id","kind","name","speaker","notes","labels","duration_ms","appearance","type","finish_time","wrap_up_yellow_s","wrap_up_red_s","trigger","start_time","group_id","anchor_start","muted","floating","locked","row_color","services","in_service","element","cells","rev","archived_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"position":{"type":"integer","description":"Zero-based position in the rundown."},"item_number":{"anyOf":[{"type":"string","description":"Manual cue number such as \"4A\". When null, clients show position + 1."},{"type":"null"}]},"external_id":{"anyOf":[{"type":"string","description":"Your own identifier; unique per rundown. Usable as a timer reference."},{"type":"null"}]},"kind":{"type":"string","enum":["item","header","note"]},"name":{"type":"string"},"speaker":{"type":"string"},"notes":{"type":"string"},"labels":{"type":"array","items":{"type":"object","required":["name","color"],"properties":{"name":{"type":"string","maxLength":60},"color":{"type":"string","maxLength":32}}}},"duration_ms":{"type":"integer","minimum":0},"appearance":{"type":"string","enum":["COUNTDOWN","COUNTUP","TOD","COUNTDOWN_TOD","COUNTUP_TOD","HIDDEN"]},"type":{"type":"string","enum":["DURATION","FINISH_TIME","PLANNED_END"],"description":"How the countdown is set when the timer starts. DURATION: runs its full length from the moment it starts. FINISH_TIME: counts down to finish_time, a time of day. PLANNED_END: counts down to the end the rundown plans for this row, so a late start is made up (but never below half its length); behaves like DURATION while the rundown has no start time."},"finish_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"wrap_up_yellow_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns yellow."},"wrap_up_red_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns red."},"trigger":{"type":"string","enum":["MANUAL","LINKED","SCHEDULED"]},"start_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"group_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"anchor_start":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Hard start: wall-clock time on the rundown's show day at which this row starts no matter how long the rows before it are.","examples":["12:30"]},{"type":"null"}]},"muted":{"type":"boolean","description":"A muted duration does not push the rows after it."},"floating":{"type":"boolean","description":"Floating rows stay in the rundown but are left out of timing, and Next / Previous skip them."},"locked":{"type":"boolean","description":"Locked rows reject edits and deletion until unlocked."},"row_color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"services":{"anyOf":[{"type":"array","items":{"type":"string"},"description":"Ids of the service times this row runs in. Null runs in every service."},{"type":"null"}]},"in_service":{"type":"boolean","description":"False when the rundown's active service time is not one of services: the row is then skipped like a floating row (left out of timing, passed over by Next, Previous and linked starts, never started by its schedule) until a service it belongs to comes round. Always true for rundowns without service times."},"element":{"anyOf":[{"type":"object","required":["id","version"],"properties":{"id":{"type":"string"},"version":{"type":"integer"}},"description":"The library element this row is linked to and the version it carries. Compare version with the element's current_version to see whether an update is available."},{"type":"null"}]},"cells":{"type":"object","patternProperties":{"^.*$":{"type":"object","required":["value","style","rev","updated_at"],"properties":{"value":{"anyOf":[{"type":"string","maxLength":50000},{"type":"integer"},{"type":"null"}]},"style":{"anyOf":[{"type":"object","properties":{"bold":{"type":"boolean"},"italic":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}},"title":"CellStyle"},{"type":"null"}]},"rev":{"type":"integer","description":"Increments on every edit of this cell; send it in expected_cell_revs."},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Cell"}},"description":"Cell values by column id; cells never written are absent. Filled in rundown responses and rundown events. Always empty in room state and room events (timers.changed, current_timer), so output screens never receive a department's notes."},"rev":{"type":"integer","description":"Increments on every edit of the item's own fields (not its cells); send as expected_rev to avoid overwriting someone else's change."},"archived_at":{"anyOf":[{"type":"integer","description":"When the row was deleted. Always null except in GET …/archived and in history. (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Item","description":"A rundown item. Every item is also a timer."}},"updated":{"type":"array","items":{"type":"object","required":["id","rundown_id","position","item_number","external_id","kind","name","speaker","notes","labels","duration_ms","appearance","type","finish_time","wrap_up_yellow_s","wrap_up_red_s","trigger","start_time","group_id","anchor_start","muted","floating","locked","row_color","services","in_service","element","cells","rev","archived_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"position":{"type":"integer","description":"Zero-based position in the rundown."},"item_number":{"anyOf":[{"type":"string","description":"Manual cue number such as \"4A\". When null, clients show position + 1."},{"type":"null"}]},"external_id":{"anyOf":[{"type":"string","description":"Your own identifier; unique per rundown. Usable as a timer reference."},{"type":"null"}]},"kind":{"type":"string","enum":["item","header","note"]},"name":{"type":"string"},"speaker":{"type":"string"},"notes":{"type":"string"},"labels":{"type":"array","items":{"type":"object","required":["name","color"],"properties":{"name":{"type":"string","maxLength":60},"color":{"type":"string","maxLength":32}}}},"duration_ms":{"type":"integer","minimum":0},"appearance":{"type":"string","enum":["COUNTDOWN","COUNTUP","TOD","COUNTDOWN_TOD","COUNTUP_TOD","HIDDEN"]},"type":{"type":"string","enum":["DURATION","FINISH_TIME","PLANNED_END"],"description":"How the countdown is set when the timer starts. DURATION: runs its full length from the moment it starts. FINISH_TIME: counts down to finish_time, a time of day. PLANNED_END: counts down to the end the rundown plans for this row, so a late start is made up (but never below half its length); behaves like DURATION while the rundown has no start time."},"finish_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"wrap_up_yellow_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns yellow."},"wrap_up_red_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns red."},"trigger":{"type":"string","enum":["MANUAL","LINKED","SCHEDULED"]},"start_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"group_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"anchor_start":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Hard start: wall-clock time on the rundown's show day at which this row starts no matter how long the rows before it are.","examples":["12:30"]},{"type":"null"}]},"muted":{"type":"boolean","description":"A muted duration does not push the rows after it."},"floating":{"type":"boolean","description":"Floating rows stay in the rundown but are left out of timing, and Next / Previous skip them."},"locked":{"type":"boolean","description":"Locked rows reject edits and deletion until unlocked."},"row_color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"services":{"anyOf":[{"type":"array","items":{"type":"string"},"description":"Ids of the service times this row runs in. Null runs in every service."},{"type":"null"}]},"in_service":{"type":"boolean","description":"False when the rundown's active service time is not one of services: the row is then skipped like a floating row (left out of timing, passed over by Next, Previous and linked starts, never started by its schedule) until a service it belongs to comes round. Always true for rundowns without service times."},"element":{"anyOf":[{"type":"object","required":["id","version"],"properties":{"id":{"type":"string"},"version":{"type":"integer"}},"description":"The library element this row is linked to and the version it carries. Compare version with the element's current_version to see whether an update is available."},{"type":"null"}]},"cells":{"type":"object","patternProperties":{"^.*$":{"type":"object","required":["value","style","rev","updated_at"],"properties":{"value":{"anyOf":[{"type":"string","maxLength":50000},{"type":"integer"},{"type":"null"}]},"style":{"anyOf":[{"type":"object","properties":{"bold":{"type":"boolean"},"italic":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}},"title":"CellStyle"},{"type":"null"}]},"rev":{"type":"integer","description":"Increments on every edit of this cell; send it in expected_cell_revs."},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Cell"}},"description":"Cell values by column id; cells never written are absent. Filled in rundown responses and rundown events. Always empty in room state and room events (timers.changed, current_timer), so output screens never receive a department's notes."},"rev":{"type":"integer","description":"Increments on every edit of the item's own fields (not its cells); send as expected_rev to avoid overwriting someone else's change."},"archived_at":{"anyOf":[{"type":"integer","description":"When the row was deleted. Always null except in GET …/archived and in history. (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Item","description":"A rundown item. Every item is also a timer."}},"deleted":{"type":"array","items":{"type":"string"}},"order":{"type":"array","items":{"type":"string"},"description":"Item ids in their new order, when the order changed."},"current_timer":{"anyOf":[{"type":"object","required":["id","rundown_id","position","item_number","external_id","kind","name","speaker","notes","labels","duration_ms","appearance","type","finish_time","wrap_up_yellow_s","wrap_up_red_s","trigger","start_time","group_id","anchor_start","muted","floating","locked","row_color","services","in_service","element","cells","rev","archived_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"position":{"type":"integer","description":"Zero-based position in the rundown."},"item_number":{"anyOf":[{"type":"string","description":"Manual cue number such as \"4A\". When null, clients show position + 1."},{"type":"null"}]},"external_id":{"anyOf":[{"type":"string","description":"Your own identifier; unique per rundown. Usable as a timer reference."},{"type":"null"}]},"kind":{"type":"string","enum":["item","header","note"]},"name":{"type":"string"},"speaker":{"type":"string"},"notes":{"type":"string"},"labels":{"type":"array","items":{"type":"object","required":["name","color"],"properties":{"name":{"type":"string","maxLength":60},"color":{"type":"string","maxLength":32}}}},"duration_ms":{"type":"integer","minimum":0},"appearance":{"type":"string","enum":["COUNTDOWN","COUNTUP","TOD","COUNTDOWN_TOD","COUNTUP_TOD","HIDDEN"]},"type":{"type":"string","enum":["DURATION","FINISH_TIME","PLANNED_END"],"description":"How the countdown is set when the timer starts. DURATION: runs its full length from the moment it starts. FINISH_TIME: counts down to finish_time, a time of day. PLANNED_END: counts down to the end the rundown plans for this row, so a late start is made up (but never below half its length); behaves like DURATION while the rundown has no start time."},"finish_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"wrap_up_yellow_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns yellow."},"wrap_up_red_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns red."},"trigger":{"type":"string","enum":["MANUAL","LINKED","SCHEDULED"]},"start_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"group_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"anchor_start":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Hard start: wall-clock time on the rundown's show day at which this row starts no matter how long the rows before it are.","examples":["12:30"]},{"type":"null"}]},"muted":{"type":"boolean","description":"A muted duration does not push the rows after it."},"floating":{"type":"boolean","description":"Floating rows stay in the rundown but are left out of timing, and Next / Previous skip them."},"locked":{"type":"boolean","description":"Locked rows reject edits and deletion until unlocked."},"row_color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"services":{"anyOf":[{"type":"array","items":{"type":"string"},"description":"Ids of the service times this row runs in. Null runs in every service."},{"type":"null"}]},"in_service":{"type":"boolean","description":"False when the rundown's active service time is not one of services: the row is then skipped like a floating row (left out of timing, passed over by Next, Previous and linked starts, never started by its schedule) until a service it belongs to comes round. Always true for rundowns without service times."},"element":{"anyOf":[{"type":"object","required":["id","version"],"properties":{"id":{"type":"string"},"version":{"type":"integer"}},"description":"The library element this row is linked to and the version it carries. Compare version with the element's current_version to see whether an update is available."},{"type":"null"}]},"cells":{"type":"object","patternProperties":{"^.*$":{"type":"object","required":["value","style","rev","updated_at"],"properties":{"value":{"anyOf":[{"type":"string","maxLength":50000},{"type":"integer"},{"type":"null"}]},"style":{"anyOf":[{"type":"object","properties":{"bold":{"type":"boolean"},"italic":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}},"title":"CellStyle"},{"type":"null"}]},"rev":{"type":"integer","description":"Increments on every edit of this cell; send it in expected_cell_revs."},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Cell"}},"description":"Cell values by column id; cells never written are absent. Filled in rundown responses and rundown events. Always empty in room state and room events (timers.changed, current_timer), so output screens never receive a department's notes."},"rev":{"type":"integer","description":"Increments on every edit of the item's own fields (not its cells); send as expected_rev to avoid overwriting someone else's change."},"archived_at":{"anyOf":[{"type":"integer","description":"When the row was deleted. Always null except in GET …/archived and in history. (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Item","description":"A rundown item. Every item is also a timer."},{"type":"null"}]},"next_timer":{"anyOf":[{"type":"object","required":["id","rundown_id","position","item_number","external_id","kind","name","speaker","notes","labels","duration_ms","appearance","type","finish_time","wrap_up_yellow_s","wrap_up_red_s","trigger","start_time","group_id","anchor_start","muted","floating","locked","row_color","services","in_service","element","cells","rev","archived_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"position":{"type":"integer","description":"Zero-based position in the rundown."},"item_number":{"anyOf":[{"type":"string","description":"Manual cue number such as \"4A\". When null, clients show position + 1."},{"type":"null"}]},"external_id":{"anyOf":[{"type":"string","description":"Your own identifier; unique per rundown. Usable as a timer reference."},{"type":"null"}]},"kind":{"type":"string","enum":["item","header","note"]},"name":{"type":"string"},"speaker":{"type":"string"},"notes":{"type":"string"},"labels":{"type":"array","items":{"type":"object","required":["name","color"],"properties":{"name":{"type":"string","maxLength":60},"color":{"type":"string","maxLength":32}}}},"duration_ms":{"type":"integer","minimum":0},"appearance":{"type":"string","enum":["COUNTDOWN","COUNTUP","TOD","COUNTDOWN_TOD","COUNTUP_TOD","HIDDEN"]},"type":{"type":"string","enum":["DURATION","FINISH_TIME","PLANNED_END"],"description":"How the countdown is set when the timer starts. DURATION: runs its full length from the moment it starts. FINISH_TIME: counts down to finish_time, a time of day. PLANNED_END: counts down to the end the rundown plans for this row, so a late start is made up (but never below half its length); behaves like DURATION while the rundown has no start time."},"finish_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"wrap_up_yellow_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns yellow."},"wrap_up_red_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns red."},"trigger":{"type":"string","enum":["MANUAL","LINKED","SCHEDULED"]},"start_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"group_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"anchor_start":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Hard start: wall-clock time on the rundown's show day at which this row starts no matter how long the rows before it are.","examples":["12:30"]},{"type":"null"}]},"muted":{"type":"boolean","description":"A muted duration does not push the rows after it."},"floating":{"type":"boolean","description":"Floating rows stay in the rundown but are left out of timing, and Next / Previous skip them."},"locked":{"type":"boolean","description":"Locked rows reject edits and deletion until unlocked."},"row_color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"services":{"anyOf":[{"type":"array","items":{"type":"string"},"description":"Ids of the service times this row runs in. Null runs in every service."},{"type":"null"}]},"in_service":{"type":"boolean","description":"False when the rundown's active service time is not one of services: the row is then skipped like a floating row (left out of timing, passed over by Next, Previous and linked starts, never started by its schedule) until a service it belongs to comes round. Always true for rundowns without service times."},"element":{"anyOf":[{"type":"object","required":["id","version"],"properties":{"id":{"type":"string"},"version":{"type":"integer"}},"description":"The library element this row is linked to and the version it carries. Compare version with the element's current_version to see whether an update is available."},{"type":"null"}]},"cells":{"type":"object","patternProperties":{"^.*$":{"type":"object","required":["value","style","rev","updated_at"],"properties":{"value":{"anyOf":[{"type":"string","maxLength":50000},{"type":"integer"},{"type":"null"}]},"style":{"anyOf":[{"type":"object","properties":{"bold":{"type":"boolean"},"italic":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}},"title":"CellStyle"},{"type":"null"}]},"rev":{"type":"integer","description":"Increments on every edit of this cell; send it in expected_cell_revs."},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Cell"}},"description":"Cell values by column id; cells never written are absent. Filled in rundown responses and rundown events. Always empty in room state and room events (timers.changed, current_timer), so output screens never receive a department's notes."},"rev":{"type":"integer","description":"Increments on every edit of the item's own fields (not its cells); send as expected_rev to avoid overwriting someone else's change."},"archived_at":{"anyOf":[{"type":"integer","description":"When the row was deleted. Always null except in GET …/archived and in history. (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Item","description":"A rundown item. Every item is also a timer."},{"type":"null"}]}}}},"title":"TimersChangedEvent","description":"Items of the room's active rundown changed. Carries the changed data, not just a refetch hint."}},"messageShown":{"name":"message.shown","title":"MessageShownEvent","summary":"A message is now on screen.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"message.shown"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["message","focus"],"properties":{"message":{"type":"object","required":["id","room_id","position","text","color","bold","uppercase","preset_id","created_at"],"properties":{"id":{"type":"string"},"room_id":{"type":"string"},"position":{"type":"integer"},"text":{"type":"string"},"color":{"type":"string","enum":["white","green","red"]},"bold":{"type":"boolean"},"uppercase":{"type":"boolean"},"preset_id":{"anyOf":[{"type":"string","description":"Set when the message was sent from a team preset."},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"}},"title":"Message"},"focus":{"type":"boolean"}}}},"title":"MessageShownEvent","description":"A message is now on screen."}},"messageHidden":{"name":"message.hidden","title":"MessageHiddenEvent","summary":"The active message was hidden.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"message.hidden"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["message_id"],"properties":{"message_id":{"anyOf":[{"type":"string"},{"type":"null"}]}}}},"title":"MessageHiddenEvent","description":"The active message was hidden."}},"messagesChanged":{"name":"messages.changed","title":"MessagesChangedEvent","summary":"The room's message list changed.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"messages.changed"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["created","updated","deleted"],"properties":{"created":{"type":"array","items":{"type":"object","required":["id","room_id","position","text","color","bold","uppercase","preset_id","created_at"],"properties":{"id":{"type":"string"},"room_id":{"type":"string"},"position":{"type":"integer"},"text":{"type":"string"},"color":{"type":"string","enum":["white","green","red"]},"bold":{"type":"boolean"},"uppercase":{"type":"boolean"},"preset_id":{"anyOf":[{"type":"string","description":"Set when the message was sent from a team preset."},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"}},"title":"Message"}},"updated":{"type":"array","items":{"type":"object","required":["id","room_id","position","text","color","bold","uppercase","preset_id","created_at"],"properties":{"id":{"type":"string"},"room_id":{"type":"string"},"position":{"type":"integer"},"text":{"type":"string"},"color":{"type":"string","enum":["white","green","red"]},"bold":{"type":"boolean"},"uppercase":{"type":"boolean"},"preset_id":{"anyOf":[{"type":"string","description":"Set when the message was sent from a team preset."},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"}},"title":"Message"}},"deleted":{"type":"array","items":{"type":"string"}}}}},"title":"MessagesChangedEvent","description":"The room's message list changed."}},"displayFlash":{"name":"display.flash","title":"DisplayFlashEvent","summary":"Flash the output screens. count 0 stops flashing.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"display.flash"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["count"],"properties":{"count":{"type":"integer","minimum":0,"maximum":999}}}},"title":"DisplayFlashEvent","description":"Flash the output screens. count 0 stops flashing."}},"displayBlackout":{"name":"display.blackout","title":"DisplayBlackoutEvent","summary":"Blackout was turned on or off.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"display.blackout"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["enabled"],"properties":{"enabled":{"type":"boolean"}}}},"title":"DisplayBlackoutEvent","description":"Blackout was turned on or off."}},"displayOnAir":{"name":"display.on_air","title":"DisplayOnAirEvent","summary":"On-air was turned on or off.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"display.on_air"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["enabled"],"properties":{"enabled":{"type":"boolean"}}}},"title":"DisplayOnAirEvent","description":"On-air was turned on or off."}},"connectionsChanged":{"name":"connections.changed","title":"ConnectionsChangedEvent","summary":"A device connected to or left the room. Transient: it is not part of the versioned history (version is always 0) and is never replayed.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"connections.changed"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["total","viewers"],"properties":{"total":{"type":"integer","description":"All live connections, operators included."},"viewers":{"type":"integer","description":"Connections that count toward the plan limit."}}}},"title":"ConnectionsChangedEvent","description":"A device connected to or left the room. Transient: it is not part of the versioned history (version is always 0) and is never replayed."}},"connectionClosed":{"name":"connection.closed","title":"ConnectionClosedEvent","summary":"Sent to one device just before the server closes its connection (an operator disconnected it). Transient. Clients should stop reconnecting and show the message.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"connection.closed"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}},"title":"ConnectionClosedEvent","description":"Sent to one device just before the server closes its connection (an operator disconnected it). Transient. Clients should stop reconnecting and show the message."}},"entitlementsUpdated":{"name":"entitlements.updated","title":"EntitlementsUpdatedEvent","summary":"The team's plan changed (a payment, an upgrade, a cancellation, a comp). Sent to every room of the team. Refetch GET /v1/me/entitlements for limits and usage. Transient: version is 0 and it is never replayed.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"entitlements.updated"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["plan","plan_name","plan_expires_at"],"properties":{"plan":{"type":"string","enum":["free","pro","studio","enterprise"]},"plan_name":{"type":"string"},"plan_expires_at":{"anyOf":[{"type":"integer","description":"When the plan ends, when it has an end (ms since Unix epoch)"},{"type":"null"}]}}}},"title":"EntitlementsUpdatedEvent","description":"The team's plan changed (a payment, an upgrade, a cancellation, a comp). Sent to every room of the team. Refetch GET /v1/me/entitlements for limits and usage. Transient: version is 0 and it is never replayed."}},"roomUpdated":{"name":"room.updated","title":"RoomUpdatedEvent","summary":"Room settings changed.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"room.updated"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["room"],"properties":{"room":{"type":"object","required":["id","name","timezone","show_date","logo_url","active_rundown_id","workspace_id","blackout","on_air","settings","position","created_at","updated_at"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"timezone":{"type":"string"},"show_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","examples":["2026-11-21"]},{"type":"null"}]},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"active_rundown_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"workspace_id":{"anyOf":[{"type":"string","description":"The client workspace this room belongs to; null for the team's own rooms."},{"type":"null"}]},"blackout":{"type":"boolean"},"on_air":{"type":"boolean"},"settings":{"type":"object","patternProperties":{"^.*$":{}}},"position":{"type":"integer","description":"Where the room sits in the team's list. GET /v1/rooms is in this order; change it with POST /v1/rooms/reorder."},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Room"}}}},"title":"RoomUpdatedEvent","description":"Room settings changed."}},"serviceUpdated":{"name":"service.updated","title":"ServiceUpdatedEvent","summary":"The service time the room is running, the one after it, or the holding screen changed: the room was reset for a service, the rundown's service times were edited, or the holding screen was turned on or off (it turns off by itself when a timer starts).","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"service.updated"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["service","next_service","holding"],"properties":{"service":{"anyOf":[{"type":"object","required":["id","label","starts_at","offset_ms"],"properties":{"id":{"type":"string"},"label":{"type":"string","description":"What people call it, e.g. \"9:00 AM\" or \"Saturday evening\"."},"starts_at":{"type":"integer","description":"When this service starts (ms since Unix epoch)"},"offset_ms":{"type":"integer","description":"How long after the rundown's start_at this service starts. Every time in the rundown moves by it while this service is the active one."}},"title":"ServiceTime","description":"One time the rundown runs. A church with services at 9:00 and 11:00 has one rundown with two service times; the room, its links and its screens stay the same."},{"type":"null"}]},"next_service":{"anyOf":[{"type":"object","required":["id","label","starts_at","offset_ms"],"properties":{"id":{"type":"string"},"label":{"type":"string","description":"What people call it, e.g. \"9:00 AM\" or \"Saturday evening\"."},"starts_at":{"type":"integer","description":"When this service starts (ms since Unix epoch)"},"offset_ms":{"type":"integer","description":"How long after the rundown's start_at this service starts. Every time in the rundown moves by it while this service is the active one."}},"title":"ServiceTime","description":"One time the rundown runs. A church with services at 9:00 and 11:00 has one rundown with two service times; the room, its links and its screens stay the same."},{"type":"null"}]},"holding":{"type":"boolean"}}}},"title":"ServiceUpdatedEvent","description":"The service time the room is running, the one after it, or the holding screen changed: the room was reset for a service, the rundown's service times were edited, or the holding screen was turned on or off (it turns off by itself when a timer starts)."}},"chatMessage":{"name":"chat.message","title":"ChatMessageEvent","summary":"Someone wrote in the room chat. Operators and screens whose output link allows replies get the message; every other screen gets message: null, so chat text never reaches a lobby screen.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"chat.message"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["message","unread"],"properties":{"message":{"anyOf":[{"type":"object","required":["id","room_id","from","text","quick_reply_id","read_at","created_at"],"properties":{"id":{"type":"string"},"room_id":{"type":"string"},"from":{"type":"string","enum":["operator","presenter"]},"text":{"type":"string"},"quick_reply_id":{"anyOf":[{"type":"string","description":"Set when the message was a one-tap quick reply."},{"type":"null"}]},"read_at":{"anyOf":[{"type":"integer","description":"When the other side read it (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Sent (ms since Unix epoch)"}},"title":"ChatMessage"},{"type":"null"}]},"unread":{"type":"object","required":["operator","presenter"],"properties":{"operator":{"type":"integer","description":"Messages from the presenter that the operators have not read."},"presenter":{"type":"integer","description":"Messages from the operators that the presenter has not read."}},"title":"ChatUnread"}}}},"title":"ChatMessageEvent","description":"Someone wrote in the room chat. Operators and screens whose output link allows replies get the message; every other screen gets message: null, so chat text never reaches a lobby screen."}},"chatRead":{"name":"chat.read","title":"ChatReadEvent","summary":"One side has read the chat.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"chat.read"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["reader","read_at","unread"],"properties":{"reader":{"anyOf":[{"type":"string","const":"operator"},{"type":"string","const":"presenter"}]},"read_at":{"type":"integer","description":"When (ms since Unix epoch)"},"unread":{"type":"object","required":["operator","presenter"],"properties":{"operator":{"type":"integer","description":"Messages from the presenter that the operators have not read."},"presenter":{"type":"integer","description":"Messages from the operators that the presenter has not read."}},"title":"ChatUnread"}}}},"title":"ChatReadEvent","description":"One side has read the chat."}},"questionSubmitted":{"name":"question.submitted","title":"QuestionSubmittedEvent","summary":"Someone in the audience sent a question. Operators and moderators get it; every screen gets question: null with the counts, so unmoderated text never reaches an output.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"question.submitted"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["question","counts"],"properties":{"question":{"anyOf":[{"type":"object","required":["id","room_id","text","name","status","shown_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"room_id":{"type":"string"},"text":{"type":"string"},"name":{"anyOf":[{"type":"string","description":"Who asked, when they said."},{"type":"null"}]},"status":{"type":"string","enum":["pending","approved","rejected","answered"]},"shown_at":{"anyOf":[{"type":"integer","description":"When it was last put on screen (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Asked (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Last changed (ms since Unix epoch)"}},"title":"Question","description":"An audience question. Nothing reaches a screen until a moderator shows it."},{"type":"null"}]},"counts":{"type":"object","required":["pending","approved","rejected","answered"],"properties":{"pending":{"type":"integer"},"approved":{"type":"integer"},"rejected":{"type":"integer"},"answered":{"type":"integer"}},"title":"QuestionCounts"}}}},"title":"QuestionSubmittedEvent","description":"Someone in the audience sent a question. Operators and moderators get it; every screen gets question: null with the counts, so unmoderated text never reaches an output."}},"questionUpdated":{"name":"question.updated","title":"QuestionUpdatedEvent","summary":"A question was approved, rejected, marked answered or deleted (deleted: true). Screens get question: null, as with question.submitted.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"question.updated"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["question","question_id","deleted","counts"],"properties":{"question":{"anyOf":[{"type":"object","required":["id","room_id","text","name","status","shown_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"room_id":{"type":"string"},"text":{"type":"string"},"name":{"anyOf":[{"type":"string","description":"Who asked, when they said."},{"type":"null"}]},"status":{"type":"string","enum":["pending","approved","rejected","answered"]},"shown_at":{"anyOf":[{"type":"integer","description":"When it was last put on screen (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Asked (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Last changed (ms since Unix epoch)"}},"title":"Question","description":"An audience question. Nothing reaches a screen until a moderator shows it."},{"type":"null"}]},"question_id":{"type":"string"},"deleted":{"type":"boolean"},"counts":{"type":"object","required":["pending","approved","rejected","answered"],"properties":{"pending":{"type":"integer"},"approved":{"type":"integer"},"rejected":{"type":"integer"},"answered":{"type":"integer"}},"title":"QuestionCounts"}}}},"title":"QuestionUpdatedEvent","description":"A question was approved, rejected, marked answered or deleted (deleted: true). Screens get question: null, as with question.submitted."}},"questionShown":{"name":"question.shown","title":"QuestionShownEvent","summary":"An approved question is now on screen.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"question.shown"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["question","to"],"properties":{"question":{"type":"object","required":["id","room_id","text","name","status","shown_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"room_id":{"type":"string"},"text":{"type":"string"},"name":{"anyOf":[{"type":"string","description":"Who asked, when they said."},{"type":"null"}]},"status":{"type":"string","enum":["pending","approved","rejected","answered"]},"shown_at":{"anyOf":[{"type":"integer","description":"When it was last put on screen (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Asked (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Last changed (ms since Unix epoch)"}},"title":"Question","description":"An audience question. Nothing reaches a screen until a moderator shows it."},"to":{"type":"string","enum":["all","presenter"],"description":"all: every output screen of the room. presenter: the speaker and confidence views only. This is a drawing hint; the question is in the room state either way."}},"title":"ActiveQuestion"}},"title":"QuestionShownEvent","description":"An approved question is now on screen."}},"questionHidden":{"name":"question.hidden","title":"QuestionHiddenEvent","summary":"The question on screen was taken down.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"question.hidden"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["question_id"],"properties":{"question_id":{"anyOf":[{"type":"string"},{"type":"null"}]}}}},"title":"QuestionHiddenEvent","description":"The question on screen was taken down."}},"chimePlay":{"name":"chime.play","title":"ChimePlayEvent","summary":"Play a sound now. Sent with the event that caused it (same commit), so every screen plays it in sync; each screen decides for itself whether to make sound.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"chime.play"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["chime","reason","volume","timer_id","message_id"],"properties":{"chime":{"type":"object","required":["id","name","builtin","tones"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"builtin":{"type":"boolean"},"tones":{"type":"array","items":{"type":"object","required":["hz","ms","at_ms","wave"],"properties":{"hz":{"type":"number","description":"Pitch."},"ms":{"type":"integer","description":"How long the note rings."},"at_ms":{"type":"integer","description":"When the note starts, from the start of the chime."},"wave":{"type":"string","enum":["sine","triangle","square"]}}},"description":"The notes of the sound. Built-in chimes are a few notes, so a client can play them without downloading anything."}},"title":"Chime"},"reason":{"anyOf":[{"type":"string","const":"yellow"},{"type":"string","const":"red"},{"type":"string","const":"zero"},{"type":"string","const":"message"}]},"volume":{"type":"number","minimum":0,"maximum":1},"timer_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"message_id":{"anyOf":[{"type":"string"},{"type":"null"}]}}}},"title":"ChimePlayEvent","description":"Play a sound now. Sent with the event that caused it (same commit), so every screen plays it in sync; each screen decides for itself whether to make sound."}},"layoutUpdated":{"name":"layout.updated","title":"LayoutUpdatedEvent","summary":"An output layout used by a link of this room changed, or a link was pointed at another layout. Screens refetch GET /v1/me and their layout.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"layout.updated"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["layout_id","link_id"],"properties":{"layout_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"link_id":{"anyOf":[{"type":"string","description":"Set when one link changed its layout; null when the layout itself changed."},{"type":"null"}]}}}},"title":"LayoutUpdatedEvent","description":"An output layout used by a link of this room changed, or a link was pointed at another layout. Screens refetch GET /v1/me and their layout."}},"brandingUpdated":{"name":"branding.updated","title":"BrandingUpdatedEvent","summary":"The team's or the room's viewer branding changed. Carries the room's branding after team and room are applied; a screen whose output link has branding of its own should refetch GET /v1/rooms/{roomId}/branding.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"branding.updated"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["scope","effective"],"properties":{"scope":{"anyOf":[{"type":"string","const":"team"},{"type":"string","const":"room"}]},"effective":{"type":"object","required":["colors","font","background","logo_url","show","watermark"],"properties":{"colors":{"type":"object","required":["background","text","accent","yellow","red"],"properties":{"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Colour as #rrggbb."},{"type":"null"}]},"text":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Colour as #rrggbb."},{"type":"null"}]},"accent":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Colour as #rrggbb."},{"type":"null"}]},"yellow":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Colour as #rrggbb."},{"type":"null"}]},"red":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Colour as #rrggbb."},{"type":"null"}]}}},"font":{"anyOf":[{"type":"string","enum":["inter","space-grotesk","jetbrains-mono","system","serif"]},{"type":"null"}]},"background":{"anyOf":[{"type":"object","required":["type","url"],"properties":{"type":{"type":"string","enum":["color","image","video"]},"url":{"anyOf":[{"type":"string","maxLength":1000,"pattern":"^https://","description":"An https URL."},{"type":"null"}]}},"description":"color uses colors.background; image and video need a url."},{"type":"null"}]},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"show":{"type":"object","required":["title","speaker","progress","clock","next","logo"],"properties":{"title":{"type":"boolean"},"speaker":{"type":"boolean"},"progress":{"type":"boolean"},"clock":{"type":"boolean"},"next":{"type":"boolean"},"logo":{"type":"boolean"}}},"watermark":{"type":"boolean","description":"True when the team's plan has no viewer branding (Free and trial rooms): output screens show a small runofsho mark, and saved branding, including the room's own logo, is kept but not shown. False on Pro, Studio, Enterprise and Event Passes."}},"title":"EffectiveBranding","description":"Branding after every level is applied. Null means the built-in look."}}}},"title":"BrandingUpdatedEvent","description":"The team's or the room's viewer branding changed. Carries the room's branding after team and room are applied; a screen whose output link has branding of its own should refetch GET /v1/rooms/{roomId}/branding."}},"controlsUpdated":{"name":"controls.updated","title":"ControlsUpdatedEvent","summary":"The room's hardware control map was saved or reset. Controllers with a Stream Deck or MIDI device attached reload GET /v1/rooms/{roomId}/controls.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"controls.updated"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["is_default","bindings"],"properties":{"is_default":{"type":"boolean"},"bindings":{"type":"integer","description":"How many bindings the map now has."}}}},"title":"ControlsUpdatedEvent","description":"The room's hardware control map was saved or reset. Controllers with a Stream Deck or MIDI device attached reload GET /v1/rooms/{roomId}/controls."}},"automationFired":{"name":"automation.fired","title":"AutomationFiredEvent","summary":"An automation rule ran its actions. The events of those actions (timer.started, message.shown, …) arrive separately, before this one.","contentType":"application/json","payload":{"type":"object","required":["type","room_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"automation.fired"},"room_id":{"type":"string"},"version":{"type":"integer","description":"Room version after this event. Apply events in version order; on a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["automation_id","name","run_id","trigger","timer_id","status","results"],"properties":{"automation_id":{"type":"string"},"name":{"type":"string"},"run_id":{"type":"string"},"trigger":{"type":"string","description":"The trigger type, or \"manual\"."},"timer_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string","const":"succeeded"},{"type":"string","const":"failed"}],"description":"failed: at least one action failed."},"results":{"type":"array","items":{"type":"object","required":["type","ok","detail"],"properties":{"type":{"type":"string","description":"The action type, in the order the rule lists them."},"ok":{"type":"boolean"},"detail":{"anyOf":[{"type":"string","description":"Why it failed, or a reference such as the delivery id."},{"type":"null"}]}}}}}}},"title":"AutomationFiredEvent","description":"An automation rule ran its actions. The events of those actions (timer.started, message.shown, …) arrive separately, before this one."}}}},"rundown":{"address":"rundown:{rundownId}","description":"Events of one rundown (items, cells, columns, groups, timing), delivered to subscribed sockets (event name = type).","parameters":{"rundownId":{"description":"Rundown id"}},"messages":{"rundownSnapshot":{"name":"rundown.snapshot","title":"RundownSnapshotEvent","summary":"Full rundown state. Sent on subscribe.","contentType":"application/json","payload":{"type":"object","required":["type","rundown_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"rundown.snapshot"},"rundown_id":{"type":"string"},"version":{"type":"integer","description":"Rundown version after this change. Events of one change share a version; versions only go up. If you see a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["rundown","columns","groups","items","timing","tracking","version","server_time"],"properties":{"rundown":{"type":"object","required":["id","event_id","name","start_at","timezone","services","active_service_id","version","created_at","updated_at"],"properties":{"id":{"type":"string"},"event_id":{"type":"string"},"name":{"type":"string"},"start_at":{"anyOf":[{"type":"integer","description":"Planned show start (ms since Unix epoch)"},{"type":"null"}]},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}]},"services":{"type":"array","items":{"type":"object","required":["id","label","starts_at","offset_ms"],"properties":{"id":{"type":"string"},"label":{"type":"string","description":"What people call it, e.g. \"9:00 AM\" or \"Saturday evening\"."},"starts_at":{"type":"integer","description":"When this service starts (ms since Unix epoch)"},"offset_ms":{"type":"integer","description":"How long after the rundown's start_at this service starts. Every time in the rundown moves by it while this service is the active one."}},"title":"ServiceTime","description":"One time the rundown runs. A church with services at 9:00 and 11:00 has one rundown with two service times; the room, its links and its screens stay the same."},"description":"Service times in the order they happen. Empty for a show that runs once. Set with PUT /v1/rundowns/{rundownId}/services."},"active_service_id":{"anyOf":[{"type":"string","description":"The service time the rundown is set up for: its timing, hard starts and the rows that run follow it. Moves on with POST /v1/rooms/{roomId}/playback/next-service. Null without service times."},{"type":"null"}]},"version":{"type":"integer","description":"Increments on every change to the rundown or its items."},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Rundown"},"columns":{"type":"array","items":{"type":"object","required":["id","rundown_id","position","type","name","department","width","options","archived_at","created_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"position":{"type":"integer","description":"Zero-based position among all columns of the rundown, archived ones included."},"type":{"type":"string","enum":["text","rich_text","duration","start_time","over_under","select","private_notes","timestamp"],"description":"text and rich_text hold strings (rich_text is Markdown); duration holds milliseconds; start_time holds \"HH:MM[:SS]\"; select holds one of options.choices; over_under is computed by the server and private_notes shows each person's own note, so neither stores cell values; timestamp (proof of performance) holds the moment a row aired in ms since Unix epoch and is written only by POST …/items/{itemRef}/timestamp, never by a cell edit."},"name":{"type":"string"},"department":{"anyOf":[{"type":"string","description":"Department this column belongs to, e.g. \"audio\". Phones show one department at a time."},{"type":"null"}]},"width":{"type":"integer","description":"Width in pixels."},"options":{"type":"object","properties":{"choices":{"type":"array","items":{"type":"object","required":["value"],"properties":{"value":{"type":"string","minLength":1,"maxLength":60},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}}},"maxItems":60,"description":"Allowed values of a select column."},"auto_stamp":{"type":"boolean","description":"timestamp columns only. Stamp the cell by itself when the show caller takes the row live, if it is still empty."}}},"archived_at":{"anyOf":[{"type":"integer","description":"Archived; archived columns keep their cells and can be restored (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"}},"title":"Column","description":"A column of the rundown grid. Item number, title, planned start and duration are item fields, not columns."}},"groups":{"type":"array","items":{"type":"object","required":["id","rundown_id","title","target_duration_ms","collapsed_default","color","created_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"title":{"type":"string"},"target_duration_ms":{"anyOf":[{"type":"integer","minimum":0,"description":"Planned length of the whole group; timing reports over/under against it."},{"type":"null"}]},"collapsed_default":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"}},"title":"Group","description":"A titled block of rows with rolled-up timing. Items point at it with group_id."}},"items":{"type":"array","items":{"type":"object","required":["id","rundown_id","position","item_number","external_id","kind","name","speaker","notes","labels","duration_ms","appearance","type","finish_time","wrap_up_yellow_s","wrap_up_red_s","trigger","start_time","group_id","anchor_start","muted","floating","locked","row_color","services","in_service","element","cells","rev","archived_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"position":{"type":"integer","description":"Zero-based position in the rundown."},"item_number":{"anyOf":[{"type":"string","description":"Manual cue number such as \"4A\". When null, clients show position + 1."},{"type":"null"}]},"external_id":{"anyOf":[{"type":"string","description":"Your own identifier; unique per rundown. Usable as a timer reference."},{"type":"null"}]},"kind":{"type":"string","enum":["item","header","note"]},"name":{"type":"string"},"speaker":{"type":"string"},"notes":{"type":"string"},"labels":{"type":"array","items":{"type":"object","required":["name","color"],"properties":{"name":{"type":"string","maxLength":60},"color":{"type":"string","maxLength":32}}}},"duration_ms":{"type":"integer","minimum":0},"appearance":{"type":"string","enum":["COUNTDOWN","COUNTUP","TOD","COUNTDOWN_TOD","COUNTUP_TOD","HIDDEN"]},"type":{"type":"string","enum":["DURATION","FINISH_TIME","PLANNED_END"],"description":"How the countdown is set when the timer starts. DURATION: runs its full length from the moment it starts. FINISH_TIME: counts down to finish_time, a time of day. PLANNED_END: counts down to the end the rundown plans for this row, so a late start is made up (but never below half its length); behaves like DURATION while the rundown has no start time."},"finish_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"wrap_up_yellow_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns yellow."},"wrap_up_red_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns red."},"trigger":{"type":"string","enum":["MANUAL","LINKED","SCHEDULED"]},"start_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"group_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"anchor_start":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Hard start: wall-clock time on the rundown's show day at which this row starts no matter how long the rows before it are.","examples":["12:30"]},{"type":"null"}]},"muted":{"type":"boolean","description":"A muted duration does not push the rows after it."},"floating":{"type":"boolean","description":"Floating rows stay in the rundown but are left out of timing, and Next / Previous skip them."},"locked":{"type":"boolean","description":"Locked rows reject edits and deletion until unlocked."},"row_color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"services":{"anyOf":[{"type":"array","items":{"type":"string"},"description":"Ids of the service times this row runs in. Null runs in every service."},{"type":"null"}]},"in_service":{"type":"boolean","description":"False when the rundown's active service time is not one of services: the row is then skipped like a floating row (left out of timing, passed over by Next, Previous and linked starts, never started by its schedule) until a service it belongs to comes round. Always true for rundowns without service times."},"element":{"anyOf":[{"type":"object","required":["id","version"],"properties":{"id":{"type":"string"},"version":{"type":"integer"}},"description":"The library element this row is linked to and the version it carries. Compare version with the element's current_version to see whether an update is available."},{"type":"null"}]},"cells":{"type":"object","patternProperties":{"^.*$":{"type":"object","required":["value","style","rev","updated_at"],"properties":{"value":{"anyOf":[{"type":"string","maxLength":50000},{"type":"integer"},{"type":"null"}]},"style":{"anyOf":[{"type":"object","properties":{"bold":{"type":"boolean"},"italic":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}},"title":"CellStyle"},{"type":"null"}]},"rev":{"type":"integer","description":"Increments on every edit of this cell; send it in expected_cell_revs."},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Cell"}},"description":"Cell values by column id; cells never written are absent. Filled in rundown responses and rundown events. Always empty in room state and room events (timers.changed, current_timer), so output screens never receive a department's notes."},"rev":{"type":"integer","description":"Increments on every edit of the item's own fields (not its cells); send as expected_rev to avoid overwriting someone else's change."},"archived_at":{"anyOf":[{"type":"integer","description":"When the row was deleted. Always null except in GET …/archived and in history. (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Item","description":"A rundown item. Every item is also a timer."}},"timing":{"type":"object","required":["rundown_id","version","header","items","groups"],"properties":{"rundown_id":{"type":"string"},"version":{"type":"integer"},"header":{"type":"object","required":["planned_start","planned_end","planned_duration_ms","over_under_ms","time_of_day","timezone","item_count"],"properties":{"planned_start":{"anyOf":[{"type":"integer","description":"Start of the first timed row (ms since Unix epoch)"},{"type":"null"}]},"planned_end":{"anyOf":[{"type":"integer","description":"End of the last timed row (ms since Unix epoch)"},{"type":"null"}]},"planned_duration_ms":{"type":"integer","description":"Sum of the durations that count."},"over_under_ms":{"anyOf":[{"type":"integer","description":"Show over/under from show-caller tracking, at time_of_day: positive is behind plan. Null before the first row is tracked."},{"type":"null"}]},"time_of_day":{"type":"integer","description":"Server clock (ms since Unix epoch)"},"timezone":{"type":"string","description":"Timezone the rundown's wall-clock times are in."},"item_count":{"type":"integer","description":"Rows that count toward timing."}},"title":"TimingHeader"},"items":{"type":"array","items":{"type":"object","required":["item_id","planned_start","planned_end","offset_ms","duration_ms","anchor","anchor_gap_ms","muted","floating","in_service","actual_start","actual_end","over_under_ms"],"properties":{"item_id":{"type":"string"},"planned_start":{"anyOf":[{"type":"integer","description":"Planned start; null for floating rows and while the rundown has neither a start time nor a hard start above this row (ms since Unix epoch)"},{"type":"null"}]},"planned_end":{"anyOf":[{"type":"integer","description":"Planned end (ms since Unix epoch)"},{"type":"null"}]},"offset_ms":{"anyOf":[{"type":"integer","description":"Time from the first row to the start of this row, ignoring hard starts. Null for floating rows."},{"type":"null"}]},"duration_ms":{"type":"integer","description":"Duration used for timing: 0 for headers and notes."},"anchor":{"anyOf":[{"type":"integer","description":"The row's hard start, resolved to a moment (ms since Unix epoch)"},{"type":"null"}]},"anchor_gap_ms":{"anyOf":[{"type":"integer","description":"Spare time before the hard start (positive) or how far the rows above run into it (negative)."},{"type":"null"}]},"muted":{"type":"boolean"},"floating":{"type":"boolean"},"in_service":{"type":"boolean","description":"False when the row is not in the active service time; it is then timed like a floating row."},"actual_start":{"anyOf":[{"type":"integer","description":"When the show caller took this row live in the current show (ms since Unix epoch)"},{"type":"null"}]},"actual_end":{"anyOf":[{"type":"integer","description":"When the show caller left it; null while it is live (ms since Unix epoch)"},{"type":"null"}]},"over_under_ms":{"anyOf":[{"type":"integer","description":"Actual minus planned length once the row has finished: positive ran long."},{"type":"null"}]}},"title":"ItemTiming"}},"groups":{"type":"array","items":{"type":"object","required":["group_id","item_count","planned_start","planned_end","duration_ms","target_duration_ms","over_under_ms"],"properties":{"group_id":{"type":"string"},"item_count":{"type":"integer"},"planned_start":{"anyOf":[{"type":"integer","description":"Start of the first row (ms since Unix epoch)"},{"type":"null"}]},"planned_end":{"anyOf":[{"type":"integer","description":"End of the last row (ms since Unix epoch)"},{"type":"null"}]},"duration_ms":{"type":"integer","description":"Sum of the durations that count (not floating, not muted)."},"target_duration_ms":{"anyOf":[{"type":"integer"},{"type":"null"}]},"over_under_ms":{"anyOf":[{"type":"integer","description":"duration_ms minus target_duration_ms: positive is over."},{"type":"null"}]}},"title":"GroupTiming"}}},"title":"Timing","description":"Computed by the server. Clients render it; they never redo the math."},"tracking":{"type":"object","required":["rundown_id","live_item_id","started_at","planned_ms","allotted_ms","item_run_ms","next_item_id","previous_item_id","completed_over_under_ms","over_under_ms","session_id","show_caller_id","followers"],"properties":{"rundown_id":{"type":"string"},"live_item_id":{"anyOf":[{"type":"string","description":"The row the show caller is on; null while nobody is tracking."},{"type":"null"}]},"started_at":{"anyOf":[{"type":"integer","description":"When the live row went live. The item run time is the server clock minus this. (ms since Unix epoch)"},{"type":"null"}]},"planned_ms":{"anyOf":[{"type":"integer","description":"Planned length of the live row."},{"type":"null"}]},"allotted_ms":{"anyOf":[{"type":"integer","description":"Time the live row was given when it went live. Equal to planned_ms for DURATION rows; for PLANNED_END and FINISH_TIME rows it is the time from going live to that end, so a late start is made up. The countdown runs against this; over/under is still measured against planned_ms."},{"type":"null"}]},"item_run_ms":{"anyOf":[{"type":"integer","description":"How long the live row has been running, at server_time."},{"type":"null"}]},"next_item_id":{"anyOf":[{"type":"string","description":"The row Next will go to (floating rows, headers and notes are skipped)."},{"type":"null"}]},"previous_item_id":{"anyOf":[{"type":"string","description":"The row Previous will go to."},{"type":"null"}]},"completed_over_under_ms":{"type":"integer","description":"Sum of actual minus planned over the rows finished in this show: positive is behind plan."},"over_under_ms":{"anyOf":[{"type":"integer","description":"Show over/under at server_time: completed_over_under_ms plus the live row's overrun once it passes its planned length. Null before the first row is tracked."},{"type":"null"}]},"session_id":{"anyOf":[{"type":"string","description":"Groups the rows of one show. A new one starts when tracking begins again after a stop."},{"type":"null"}]},"show_caller_id":{"anyOf":[{"type":"string","description":"Credential that made the last tracking move."},{"type":"null"}]},"followers":{"type":"integer","description":"Devices currently following the show caller."}},"title":"Tracking","description":"Show-caller position of a rundown. Clocks are stored as timestamps; clients render them against the synced server clock."},"version":{"type":"integer"},"server_time":{"type":"integer","description":"Server clock (ms since Unix epoch)"}},"title":"RundownState","description":"Everything a rundown grid needs, in one call."}},"title":"RundownSnapshotEvent","description":"Full rundown state. Sent on subscribe."}},"rundownUpdated":{"name":"rundown.updated","title":"RundownUpdatedEvent","summary":"The rundown's name, start or timezone changed.","contentType":"application/json","payload":{"type":"object","required":["type","rundown_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"rundown.updated"},"rundown_id":{"type":"string"},"version":{"type":"integer","description":"Rundown version after this change. Events of one change share a version; versions only go up. If you see a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["rundown"],"properties":{"rundown":{"type":"object","required":["id","event_id","name","start_at","timezone","services","active_service_id","version","created_at","updated_at"],"properties":{"id":{"type":"string"},"event_id":{"type":"string"},"name":{"type":"string"},"start_at":{"anyOf":[{"type":"integer","description":"Planned show start (ms since Unix epoch)"},{"type":"null"}]},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}]},"services":{"type":"array","items":{"type":"object","required":["id","label","starts_at","offset_ms"],"properties":{"id":{"type":"string"},"label":{"type":"string","description":"What people call it, e.g. \"9:00 AM\" or \"Saturday evening\"."},"starts_at":{"type":"integer","description":"When this service starts (ms since Unix epoch)"},"offset_ms":{"type":"integer","description":"How long after the rundown's start_at this service starts. Every time in the rundown moves by it while this service is the active one."}},"title":"ServiceTime","description":"One time the rundown runs. A church with services at 9:00 and 11:00 has one rundown with two service times; the room, its links and its screens stay the same."},"description":"Service times in the order they happen. Empty for a show that runs once. Set with PUT /v1/rundowns/{rundownId}/services."},"active_service_id":{"anyOf":[{"type":"string","description":"The service time the rundown is set up for: its timing, hard starts and the rows that run follow it. Moves on with POST /v1/rooms/{roomId}/playback/next-service. Null without service times."},{"type":"null"}]},"version":{"type":"integer","description":"Increments on every change to the rundown or its items."},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Rundown"}}}},"title":"RundownUpdatedEvent","description":"The rundown's name, start or timezone changed."}},"itemsChanged":{"name":"items.changed","title":"ItemsChangedEvent","summary":"Rows were created, updated (fields or cells), deleted or reordered. Carries the changed rows in full.","contentType":"application/json","payload":{"type":"object","required":["type","rundown_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"items.changed"},"rundown_id":{"type":"string"},"version":{"type":"integer","description":"Rundown version after this change. Events of one change share a version; versions only go up. If you see a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["created","updated","deleted"],"properties":{"created":{"type":"array","items":{"type":"object","required":["id","rundown_id","position","item_number","external_id","kind","name","speaker","notes","labels","duration_ms","appearance","type","finish_time","wrap_up_yellow_s","wrap_up_red_s","trigger","start_time","group_id","anchor_start","muted","floating","locked","row_color","services","in_service","element","cells","rev","archived_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"position":{"type":"integer","description":"Zero-based position in the rundown."},"item_number":{"anyOf":[{"type":"string","description":"Manual cue number such as \"4A\". When null, clients show position + 1."},{"type":"null"}]},"external_id":{"anyOf":[{"type":"string","description":"Your own identifier; unique per rundown. Usable as a timer reference."},{"type":"null"}]},"kind":{"type":"string","enum":["item","header","note"]},"name":{"type":"string"},"speaker":{"type":"string"},"notes":{"type":"string"},"labels":{"type":"array","items":{"type":"object","required":["name","color"],"properties":{"name":{"type":"string","maxLength":60},"color":{"type":"string","maxLength":32}}}},"duration_ms":{"type":"integer","minimum":0},"appearance":{"type":"string","enum":["COUNTDOWN","COUNTUP","TOD","COUNTDOWN_TOD","COUNTUP_TOD","HIDDEN"]},"type":{"type":"string","enum":["DURATION","FINISH_TIME","PLANNED_END"],"description":"How the countdown is set when the timer starts. DURATION: runs its full length from the moment it starts. FINISH_TIME: counts down to finish_time, a time of day. PLANNED_END: counts down to the end the rundown plans for this row, so a late start is made up (but never below half its length); behaves like DURATION while the rundown has no start time."},"finish_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"wrap_up_yellow_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns yellow."},"wrap_up_red_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns red."},"trigger":{"type":"string","enum":["MANUAL","LINKED","SCHEDULED"]},"start_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"group_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"anchor_start":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Hard start: wall-clock time on the rundown's show day at which this row starts no matter how long the rows before it are.","examples":["12:30"]},{"type":"null"}]},"muted":{"type":"boolean","description":"A muted duration does not push the rows after it."},"floating":{"type":"boolean","description":"Floating rows stay in the rundown but are left out of timing, and Next / Previous skip them."},"locked":{"type":"boolean","description":"Locked rows reject edits and deletion until unlocked."},"row_color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"services":{"anyOf":[{"type":"array","items":{"type":"string"},"description":"Ids of the service times this row runs in. Null runs in every service."},{"type":"null"}]},"in_service":{"type":"boolean","description":"False when the rundown's active service time is not one of services: the row is then skipped like a floating row (left out of timing, passed over by Next, Previous and linked starts, never started by its schedule) until a service it belongs to comes round. Always true for rundowns without service times."},"element":{"anyOf":[{"type":"object","required":["id","version"],"properties":{"id":{"type":"string"},"version":{"type":"integer"}},"description":"The library element this row is linked to and the version it carries. Compare version with the element's current_version to see whether an update is available."},{"type":"null"}]},"cells":{"type":"object","patternProperties":{"^.*$":{"type":"object","required":["value","style","rev","updated_at"],"properties":{"value":{"anyOf":[{"type":"string","maxLength":50000},{"type":"integer"},{"type":"null"}]},"style":{"anyOf":[{"type":"object","properties":{"bold":{"type":"boolean"},"italic":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}},"title":"CellStyle"},{"type":"null"}]},"rev":{"type":"integer","description":"Increments on every edit of this cell; send it in expected_cell_revs."},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Cell"}},"description":"Cell values by column id; cells never written are absent. Filled in rundown responses and rundown events. Always empty in room state and room events (timers.changed, current_timer), so output screens never receive a department's notes."},"rev":{"type":"integer","description":"Increments on every edit of the item's own fields (not its cells); send as expected_rev to avoid overwriting someone else's change."},"archived_at":{"anyOf":[{"type":"integer","description":"When the row was deleted. Always null except in GET …/archived and in history. (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Item","description":"A rundown item. Every item is also a timer."}},"updated":{"type":"array","items":{"type":"object","required":["id","rundown_id","position","item_number","external_id","kind","name","speaker","notes","labels","duration_ms","appearance","type","finish_time","wrap_up_yellow_s","wrap_up_red_s","trigger","start_time","group_id","anchor_start","muted","floating","locked","row_color","services","in_service","element","cells","rev","archived_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"position":{"type":"integer","description":"Zero-based position in the rundown."},"item_number":{"anyOf":[{"type":"string","description":"Manual cue number such as \"4A\". When null, clients show position + 1."},{"type":"null"}]},"external_id":{"anyOf":[{"type":"string","description":"Your own identifier; unique per rundown. Usable as a timer reference."},{"type":"null"}]},"kind":{"type":"string","enum":["item","header","note"]},"name":{"type":"string"},"speaker":{"type":"string"},"notes":{"type":"string"},"labels":{"type":"array","items":{"type":"object","required":["name","color"],"properties":{"name":{"type":"string","maxLength":60},"color":{"type":"string","maxLength":32}}}},"duration_ms":{"type":"integer","minimum":0},"appearance":{"type":"string","enum":["COUNTDOWN","COUNTUP","TOD","COUNTDOWN_TOD","COUNTUP_TOD","HIDDEN"]},"type":{"type":"string","enum":["DURATION","FINISH_TIME","PLANNED_END"],"description":"How the countdown is set when the timer starts. DURATION: runs its full length from the moment it starts. FINISH_TIME: counts down to finish_time, a time of day. PLANNED_END: counts down to the end the rundown plans for this row, so a late start is made up (but never below half its length); behaves like DURATION while the rundown has no start time."},"finish_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"wrap_up_yellow_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns yellow."},"wrap_up_red_s":{"type":"integer","minimum":0,"description":"Seconds before the end at which the timer turns red."},"trigger":{"type":"string","enum":["MANUAL","LINKED","SCHEDULED"]},"start_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Wall-clock time \"HH:MM\" or \"HH:MM:SS\" in the room timezone.","examples":["12:30"]},{"type":"null"}]},"group_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"anchor_start":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$","description":"Hard start: wall-clock time on the rundown's show day at which this row starts no matter how long the rows before it are.","examples":["12:30"]},{"type":"null"}]},"muted":{"type":"boolean","description":"A muted duration does not push the rows after it."},"floating":{"type":"boolean","description":"Floating rows stay in the rundown but are left out of timing, and Next / Previous skip them."},"locked":{"type":"boolean","description":"Locked rows reject edits and deletion until unlocked."},"row_color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"services":{"anyOf":[{"type":"array","items":{"type":"string"},"description":"Ids of the service times this row runs in. Null runs in every service."},{"type":"null"}]},"in_service":{"type":"boolean","description":"False when the rundown's active service time is not one of services: the row is then skipped like a floating row (left out of timing, passed over by Next, Previous and linked starts, never started by its schedule) until a service it belongs to comes round. Always true for rundowns without service times."},"element":{"anyOf":[{"type":"object","required":["id","version"],"properties":{"id":{"type":"string"},"version":{"type":"integer"}},"description":"The library element this row is linked to and the version it carries. Compare version with the element's current_version to see whether an update is available."},{"type":"null"}]},"cells":{"type":"object","patternProperties":{"^.*$":{"type":"object","required":["value","style","rev","updated_at"],"properties":{"value":{"anyOf":[{"type":"string","maxLength":50000},{"type":"integer"},{"type":"null"}]},"style":{"anyOf":[{"type":"object","properties":{"bold":{"type":"boolean"},"italic":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}},"title":"CellStyle"},{"type":"null"}]},"rev":{"type":"integer","description":"Increments on every edit of this cell; send it in expected_cell_revs."},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Cell"}},"description":"Cell values by column id; cells never written are absent. Filled in rundown responses and rundown events. Always empty in room state and room events (timers.changed, current_timer), so output screens never receive a department's notes."},"rev":{"type":"integer","description":"Increments on every edit of the item's own fields (not its cells); send as expected_rev to avoid overwriting someone else's change."},"archived_at":{"anyOf":[{"type":"integer","description":"When the row was deleted. Always null except in GET …/archived and in history. (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"},"updated_at":{"type":"integer","description":"Updated (ms since Unix epoch)"}},"title":"Item","description":"A rundown item. Every item is also a timer."}},"deleted":{"type":"array","items":{"type":"string"}},"order":{"type":"array","items":{"type":"string"},"description":"Item ids in their new order, when the order changed."}}}},"title":"ItemsChangedEvent","description":"Rows were created, updated (fields or cells), deleted or reordered. Carries the changed rows in full."}},"columnsChanged":{"name":"columns.changed","title":"ColumnsChangedEvent","summary":"Columns were added, changed, reordered, archived, restored or deleted. Carries every column in order.","contentType":"application/json","payload":{"type":"object","required":["type","rundown_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"columns.changed"},"rundown_id":{"type":"string"},"version":{"type":"integer","description":"Rundown version after this change. Events of one change share a version; versions only go up. If you see a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["columns"],"properties":{"columns":{"type":"array","items":{"type":"object","required":["id","rundown_id","position","type","name","department","width","options","archived_at","created_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"position":{"type":"integer","description":"Zero-based position among all columns of the rundown, archived ones included."},"type":{"type":"string","enum":["text","rich_text","duration","start_time","over_under","select","private_notes","timestamp"],"description":"text and rich_text hold strings (rich_text is Markdown); duration holds milliseconds; start_time holds \"HH:MM[:SS]\"; select holds one of options.choices; over_under is computed by the server and private_notes shows each person's own note, so neither stores cell values; timestamp (proof of performance) holds the moment a row aired in ms since Unix epoch and is written only by POST …/items/{itemRef}/timestamp, never by a cell edit."},"name":{"type":"string"},"department":{"anyOf":[{"type":"string","description":"Department this column belongs to, e.g. \"audio\". Phones show one department at a time."},{"type":"null"}]},"width":{"type":"integer","description":"Width in pixels."},"options":{"type":"object","properties":{"choices":{"type":"array","items":{"type":"object","required":["value"],"properties":{"value":{"type":"string","minLength":1,"maxLength":60},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}}},"maxItems":60,"description":"Allowed values of a select column."},"auto_stamp":{"type":"boolean","description":"timestamp columns only. Stamp the cell by itself when the show caller takes the row live, if it is still empty."}}},"archived_at":{"anyOf":[{"type":"integer","description":"Archived; archived columns keep their cells and can be restored (ms since Unix epoch)"},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"}},"title":"Column","description":"A column of the rundown grid. Item number, title, planned start and duration are item fields, not columns."}}}}},"title":"ColumnsChangedEvent","description":"Columns were added, changed, reordered, archived, restored or deleted. Carries every column in order."}},"groupsChanged":{"name":"groups.changed","title":"GroupsChangedEvent","summary":"Groups were added, changed or deleted. Carries every group.","contentType":"application/json","payload":{"type":"object","required":["type","rundown_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"groups.changed"},"rundown_id":{"type":"string"},"version":{"type":"integer","description":"Rundown version after this change. Events of one change share a version; versions only go up. If you see a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["groups"],"properties":{"groups":{"type":"array","items":{"type":"object","required":["id","rundown_id","title","target_duration_ms","collapsed_default","color","created_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"title":{"type":"string"},"target_duration_ms":{"anyOf":[{"type":"integer","minimum":0,"description":"Planned length of the whole group; timing reports over/under against it."},{"type":"null"}]},"collapsed_default":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"created_at":{"type":"integer","description":"Created (ms since Unix epoch)"}},"title":"Group","description":"A titled block of rows with rolled-up timing. Items point at it with group_id."}}}}},"title":"GroupsChangedEvent","description":"Groups were added, changed or deleted. Carries every group."}},"trackingUpdated":{"name":"tracking.updated","title":"TrackingUpdatedEvent","summary":"The show caller moved: the live row, when it went live, and the show over/under. Followers scroll to live_item_id.","contentType":"application/json","payload":{"type":"object","required":["type","rundown_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"tracking.updated"},"rundown_id":{"type":"string"},"version":{"type":"integer","description":"Rundown version after this change. Events of one change share a version; versions only go up. If you see a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["tracking"],"properties":{"tracking":{"type":"object","required":["rundown_id","live_item_id","started_at","planned_ms","allotted_ms","item_run_ms","next_item_id","previous_item_id","completed_over_under_ms","over_under_ms","session_id","show_caller_id","followers"],"properties":{"rundown_id":{"type":"string"},"live_item_id":{"anyOf":[{"type":"string","description":"The row the show caller is on; null while nobody is tracking."},{"type":"null"}]},"started_at":{"anyOf":[{"type":"integer","description":"When the live row went live. The item run time is the server clock minus this. (ms since Unix epoch)"},{"type":"null"}]},"planned_ms":{"anyOf":[{"type":"integer","description":"Planned length of the live row."},{"type":"null"}]},"allotted_ms":{"anyOf":[{"type":"integer","description":"Time the live row was given when it went live. Equal to planned_ms for DURATION rows; for PLANNED_END and FINISH_TIME rows it is the time from going live to that end, so a late start is made up. The countdown runs against this; over/under is still measured against planned_ms."},{"type":"null"}]},"item_run_ms":{"anyOf":[{"type":"integer","description":"How long the live row has been running, at server_time."},{"type":"null"}]},"next_item_id":{"anyOf":[{"type":"string","description":"The row Next will go to (floating rows, headers and notes are skipped)."},{"type":"null"}]},"previous_item_id":{"anyOf":[{"type":"string","description":"The row Previous will go to."},{"type":"null"}]},"completed_over_under_ms":{"type":"integer","description":"Sum of actual minus planned over the rows finished in this show: positive is behind plan."},"over_under_ms":{"anyOf":[{"type":"integer","description":"Show over/under at server_time: completed_over_under_ms plus the live row's overrun once it passes its planned length. Null before the first row is tracked."},{"type":"null"}]},"session_id":{"anyOf":[{"type":"string","description":"Groups the rows of one show. A new one starts when tracking begins again after a stop."},{"type":"null"}]},"show_caller_id":{"anyOf":[{"type":"string","description":"Credential that made the last tracking move."},{"type":"null"}]},"followers":{"type":"integer","description":"Devices currently following the show caller."}},"title":"Tracking","description":"Show-caller position of a rundown. Clocks are stored as timestamps; clients render them against the synced server clock."}}}},"title":"TrackingUpdatedEvent","description":"The show caller moved: the live row, when it went live, and the show over/under. Followers scroll to live_item_id."}},"presenceUpdated":{"name":"presence.updated","title":"PresenceUpdatedEvent","summary":"Someone opened or left the rundown, or moved to another cell. Carries everyone present. Transient: version is always 0 and it is never replayed.","contentType":"application/json","payload":{"type":"object","required":["type","rundown_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"presence.updated"},"rundown_id":{"type":"string"},"version":{"type":"integer","description":"Rundown version after this change. Events of one change share a version; versions only go up. If you see a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["users"],"properties":{"users":{"type":"array","items":{"type":"object","required":["connection_id","principal_id","name","picture","color","item_id","column_id","since"],"properties":{"connection_id":{"type":"string","description":"One per open connection; a person with two tabs appears twice."},"principal_id":{"type":"string"},"name":{"type":"string"},"picture":{"anyOf":[{"type":"string","format":"uri","description":"Profile photo of a signed-in person, to show instead of their initials. Null for everyone else."},{"type":"null"}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},"item_id":{"anyOf":[{"type":"string","description":"Row of the cell this person is on."},{"type":"null"}]},"column_id":{"anyOf":[{"type":"string","description":"Column of that cell: a column id, or a built-in field such as \"name\" or \"duration\"."},{"type":"null"}]},"since":{"type":"integer","description":"When they opened the rundown (ms since Unix epoch)"}},"title":"PresenceUser"}}}}},"title":"PresenceUpdatedEvent","description":"Someone opened or left the rundown, or moved to another cell. Carries everyone present. Transient: version is always 0 and it is never replayed."}},"guestUpdated":{"name":"guest.updated","title":"GuestUpdatedEvent","summary":"Guest passes only. The whole guest view, sent on subscribe and again after every change to the rundown (changes close together arrive as one). It is rebuilt on the server from what the pass allows, so hidden columns are never on the wire.","contentType":"application/json","payload":{"type":"object","required":["type","rundown_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"guest.updated"},"rundown_id":{"type":"string"},"version":{"type":"integer","description":"Rundown version after this change. Events of one change share a version; versions only go up. If you see a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["pass","rundown","columns","display_order","groups","items","live_item_id","live_started_at","version","server_time"],"properties":{"pass":{"type":"object","required":["name","role","edit_column_ids","live","can_export","fields","expires_at"],"properties":{"name":{"type":"string"},"role":{"type":"string","enum":["guest","crew","department","editor"],"description":"guest: reads the chosen columns. crew: reads every column that can be shared, including ones added later. department: reads the chosen columns and edits the cells of edit_column_ids (the audio team edits only Audio). editor: reads and edits every column that can be shared. Nobody on a pass can change timing, add or remove rows or columns, or track; those need an API key with the operate or manage scope."},"edit_column_ids":{"type":"array","items":{"type":"string"},"description":"Columns whose cells this pass may edit with PATCH /v1/guest/rundown/items/{itemId}. Empty for read-only passes."},"live":{"type":"boolean"},"can_export":{"type":"boolean","description":"The guest may download a PDF of this view (POST /v1/guest/exports). Depends on the team's plan."},"fields":{"type":"array","items":{"type":"string","enum":["start","duration","speaker","notes"],"description":"Built-in fields a guest pass can show. Item number and title are always shown."}},"expires_at":{"anyOf":[{"type":"integer","description":"When the link stops working (ms since Unix epoch)"},{"type":"null"}]}}},"rundown":{"type":"object","required":["id","name","start_at","timezone"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"start_at":{"anyOf":[{"type":"integer","description":"Planned show start (ms since Unix epoch)"},{"type":"null"}]},"timezone":{"type":"string"}}},"columns":{"type":"array","items":{"type":"object","required":["id","name","type","width","options"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","enum":["text","rich_text","duration","start_time","over_under","select","private_notes","timestamp"],"description":"text and rich_text hold strings (rich_text is Markdown); duration holds milliseconds; start_time holds \"HH:MM[:SS]\"; select holds one of options.choices; over_under is computed by the server and private_notes shows each person's own note, so neither stores cell values; timestamp (proof of performance) holds the moment a row aired in ms since Unix epoch and is written only by POST …/items/{itemRef}/timestamp, never by a cell edit."},"width":{"type":"integer"},"options":{"type":"object","properties":{"choices":{"type":"array","items":{"type":"object","required":["value"],"properties":{"value":{"type":"string","minLength":1,"maxLength":60},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}}},"maxItems":60,"description":"Allowed values of a select column."},"auto_stamp":{"type":"boolean","description":"timestamp columns only. Stamp the cell by itself when the show caller takes the row live, if it is still empty."}}}}},"description":"Only the columns the pass includes, in the rundown's order."},"display_order":{"type":"array","items":{"type":"string"},"description":"Everything this pass shows after number and title, in the order to show it, left to right: built-in field names (\"start\", \"duration\", \"speaker\", \"notes\") and the ids of \"columns\". It is complete: draw exactly these, in this order. The sender sets it with display_order on the pass; without one it is start, duration, speaker, the columns as in the rundown, notes."},"groups":{"type":"array","items":{"type":"object","required":["id","title","color"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}}}},"items":{"type":"array","items":{"type":"object","required":["id","position","item_number","kind","name","group_id","row_color","floating","cells"],"properties":{"id":{"type":"string"},"position":{"type":"integer"},"item_number":{"anyOf":[{"type":"string"},{"type":"null"}]},"kind":{"type":"string","enum":["item","header","note"]},"name":{"type":"string"},"group_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"row_color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"floating":{"type":"boolean"},"speaker":{"type":"string","description":"Present only when the pass includes \"speaker\"."},"notes":{"type":"string","description":"Present only when the pass includes \"notes\"."},"duration_ms":{"type":"integer","description":"Present only when the pass includes \"duration\"."},"planned_start":{"anyOf":[{"type":"integer","description":"Planned start. Present only when the pass includes \"start\" (ms since Unix epoch)"},{"type":"null"}]},"expected_start":{"anyOf":[{"type":"integer","description":"When the row is expected to start. Before the show: the planned start. While it runs: when rows already left really started, when the row on stage went live, and for the rows after it the time the rows ahead still need. Present only when the pass includes \"start\" (ms since Unix epoch)"},{"type":"null"}]},"locked":{"type":"boolean","description":"Present on passes that may edit: the team locked this row, so its cells cannot be changed."},"cells":{"type":"object","patternProperties":{"^.*$":{"type":"object","required":["value","style"],"properties":{"value":{"anyOf":[{"type":"string","maxLength":50000},{"type":"integer"},{"type":"null"}]},"style":{"anyOf":[{"type":"object","properties":{"bold":{"type":"boolean"},"italic":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Color as #rrggbb.","examples":["#2e7d32"]},{"type":"null"}]}},"title":"CellStyle"},{"type":"null"}]},"rev":{"type":"integer","description":"Present on cells the pass may edit: send it back as expected_cell_revs to avoid overwriting someone else's edit."}}}},"description":"Values of the columns the pass includes, by column id. Other columns are never sent."}},"title":"GuestItem"}},"live_item_id":{"anyOf":[{"type":"string","description":"The row on stage: the one a room running this rundown is timing, or else the one the show caller is tracking."},{"type":"null"}]},"live_started_at":{"anyOf":[{"type":"integer","description":"When that row went live (ms since Unix epoch)"},{"type":"null"}]},"version":{"type":"integer","description":"Rundown version this view was built from."},"server_time":{"type":"integer","description":"Server clock (ms since Unix epoch)"}},"title":"GuestRundown","description":"What a guest sees: built from the rundown on the server, containing only what the pass allows."}},"title":"GuestUpdatedEvent","description":"Guest passes only. The whole guest view, sent on subscribe and again after every change to the rundown (changes close together arrive as one). It is rebuilt on the server from what the pass allows, so hidden columns are never on the wire."}},"guestClosed":{"name":"guest.closed","title":"GuestClosedEvent","summary":"Guest passes only. The pass was turned off, expired, got a new password or stopped being live; the server closes the connection after this. Transient: version is 0.","contentType":"application/json","payload":{"type":"object","required":["type","rundown_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"guest.closed"},"rundown_id":{"type":"string"},"version":{"type":"integer","description":"Rundown version after this change. Events of one change share a version; versions only go up. If you see a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}},"title":"GuestClosedEvent","description":"Guest passes only. The pass was turned off, expired, got a new password or stopped being live; the server closes the connection after this. Transient: version is 0."}},"prompterScript":{"name":"prompter.script","title":"PrompterScriptEvent","summary":"Prompter subscribers only. The whole script stream, sent on subscribe and again after every change to the rundown (changes close together arrive as one). Transient: version is 0.","contentType":"application/json","payload":{"type":"object","required":["type","rundown_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"prompter.script"},"rundown_id":{"type":"string"},"version":{"type":"integer","description":"Rundown version after this change. Events of one change share a version; versions only go up. If you see a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["rundown","column","columns","wpm","items","words","read_ms","lines","control","version","server_time"],"properties":{"rundown":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"}}},"column":{"anyOf":[{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"}}},{"type":"null"}]},"columns":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"}}},"description":"Every rich text column, for choosing another one with ?column_id=."},"wpm":{"type":"integer","description":"Speaking speed used for read_ms."},"items":{"type":"array","items":{"type":"object","required":["id","kind","item_number","name","speaker","duration_ms","script","words","read_ms","lines"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["item","header","note"]},"item_number":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"type":"string"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}]},"duration_ms":{"type":"integer"},"script":{"type":"string","description":"Markdown. Empty when the row has no script."},"words":{"type":"integer"},"read_ms":{"type":"integer","description":"Estimated time to read the script aloud."},"lines":{"type":"number","description":"Length of the row in standard lines: 1 for its cue line plus one per 32 characters of script. The unit of speed and offset in the control state. A display spreads these over its own line breaks."}}}},"words":{"type":"integer"},"read_ms":{"type":"integer"},"lines":{"type":"number","description":"Length of the whole script in standard lines."},"control":{"type":"object","required":["playing","speed","item_id","offset","at","position","action","seq","by","updated_at"],"properties":{"playing":{"type":"boolean"},"speed":{"type":"number","description":"Scroll speed in standard lines per minute (see \"lines\" on the script rows). It is a pace through the text, not through pixels, so a big and a small screen have the same words at the reading line. Negative scrolls backwards."},"item_id":{"anyOf":[{"type":"string","description":"The row at the reading line at the moment \"at\". Null until the first command: the top of the script."},{"type":"null"}]},"offset":{"type":"number","minimum":0,"description":"How far into that row the reading line was at \"at\", in standard lines (0: the row's cue line)."},"at":{"anyOf":[{"type":"integer","description":"The server time item_id and offset are true for. While playing, the place moves on from there by speed × time passed, row after row, and stops at either end of the script (ms since Unix epoch)"},{"type":"null"}]},"position":{"anyOf":[{"type":"number","minimum":0,"maximum":1,"description":"The same place as a fraction of the whole script (0 top, 1 end), at \"at\"."},{"type":"null"}]},"action":{"anyOf":[{"type":"string","enum":["play","pause","speed","jump","scroll_to","nudge"],"description":"The last command."},{"type":"null"}]},"seq":{"type":"integer","description":"Counts commands."},"by":{"anyOf":[{"type":"string","description":"Who sent the last command."},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"integer","description":"Last command (ms since Unix epoch)"},{"type":"null"}]}},"title":"PrompterControl","description":"The shared remote-control state every prompter display of a rundown follows. It is a timeline, not a stream of ticks: from item_id, offset, at, speed and playing, every display works out which words belong at the reading line right now (on the server clock), whatever its width or text size."},"version":{"type":"integer","description":"Rundown version this was built from."},"server_time":{"type":"integer","description":"Server clock (ms since Unix epoch)"}},"title":"PrompterScript","description":"The script stream: the rows of a rundown in order, without floating rows, each with the text of the script column."}},"title":"PrompterScriptEvent","description":"Prompter subscribers only. The whole script stream, sent on subscribe and again after every change to the rundown (changes close together arrive as one). Transient: version is 0."}},"prompterControl":{"name":"prompter.control","title":"PrompterControlEvent","summary":"Prompter subscribers only. A remote-control command: play, pause, speed, jump or scroll_to. Carries the whole control state. Transient: version is 0.","contentType":"application/json","payload":{"type":"object","required":["type","rundown_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"prompter.control"},"rundown_id":{"type":"string"},"version":{"type":"integer","description":"Rundown version after this change. Events of one change share a version; versions only go up. If you see a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["playing","speed","item_id","offset","at","position","action","seq","by","updated_at"],"properties":{"playing":{"type":"boolean"},"speed":{"type":"number","description":"Scroll speed in standard lines per minute (see \"lines\" on the script rows). It is a pace through the text, not through pixels, so a big and a small screen have the same words at the reading line. Negative scrolls backwards."},"item_id":{"anyOf":[{"type":"string","description":"The row at the reading line at the moment \"at\". Null until the first command: the top of the script."},{"type":"null"}]},"offset":{"type":"number","minimum":0,"description":"How far into that row the reading line was at \"at\", in standard lines (0: the row's cue line)."},"at":{"anyOf":[{"type":"integer","description":"The server time item_id and offset are true for. While playing, the place moves on from there by speed × time passed, row after row, and stops at either end of the script (ms since Unix epoch)"},{"type":"null"}]},"position":{"anyOf":[{"type":"number","minimum":0,"maximum":1,"description":"The same place as a fraction of the whole script (0 top, 1 end), at \"at\"."},{"type":"null"}]},"action":{"anyOf":[{"type":"string","enum":["play","pause","speed","jump","scroll_to","nudge"],"description":"The last command."},{"type":"null"}]},"seq":{"type":"integer","description":"Counts commands."},"by":{"anyOf":[{"type":"string","description":"Who sent the last command."},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"integer","description":"Last command (ms since Unix epoch)"},{"type":"null"}]}},"title":"PrompterControl","description":"The shared remote-control state every prompter display of a rundown follows. It is a timeline, not a stream of ticks: from item_id, offset, at, speed and playing, every display works out which words belong at the reading line right now (on the server clock), whatever its width or text size."}},"title":"PrompterControlEvent","description":"Prompter subscribers only. A remote-control command: play, pause, speed, jump or scroll_to. Carries the whole control state. Transient: version is 0."}},"elementPublished":{"name":"element.published","title":"ElementPublishedEvent","summary":"A library element was published to rows of this rundown. The changed rows arrive in items.changed with the same version; this says which element and version, and which rows kept local edits.","contentType":"application/json","payload":{"type":"object","required":["type","rundown_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"element.published"},"rundown_id":{"type":"string"},"version":{"type":"integer","description":"Rundown version after this change. Events of one change share a version; versions only go up. If you see a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["element_id","element_name","version","updated","conflicts"],"properties":{"element_id":{"type":"string"},"element_name":{"type":"string"},"version":{"type":"integer"},"updated":{"type":"array","items":{"type":"string"},"description":"Ids of the rows brought to this version."},"conflicts":{"type":"array","items":{"type":"object","required":["item_id","fields","reason"],"properties":{"item_id":{"type":"string"},"fields":{"type":"array","items":{"type":"string"}},"reason":{"type":"string","enum":["overridden","locked"]}}}}}}},"title":"ElementPublishedEvent","description":"A library element was published to rows of this rundown. The changed rows arrive in items.changed with the same version; this says which element and version, and which rows kept local edits."}},"checkpointCreated":{"name":"checkpoint.created","title":"CheckpointCreatedEvent","summary":"A checkpoint of the rundown was taken. Carries the rundown's current version and changes nothing in it.","contentType":"application/json","payload":{"type":"object","required":["type","rundown_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"checkpoint.created"},"rundown_id":{"type":"string"},"version":{"type":"integer","description":"Rundown version after this change. Events of one change share a version; versions only go up. If you see a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["checkpoint"],"properties":{"checkpoint":{"type":"object","required":["id","rundown_id","name","auto","rundown_version","rows","created_by","created_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"name":{"type":"string"},"auto":{"type":"boolean","description":"Made by the server just before a restore, so the restore can be taken back."},"rundown_version":{"type":"integer","description":"The rundown version the snapshot was taken at."},"rows":{"type":"integer","description":"Rows in the snapshot."},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"integer","description":"Taken (ms since Unix epoch)"}},"title":"Checkpoint","description":"A named snapshot of a whole rundown: rows, cells, columns, groups, name and start."}}}},"title":"CheckpointCreatedEvent","description":"A checkpoint of the rundown was taken. Carries the rundown's current version and changes nothing in it."}},"checkpointRestored":{"name":"checkpoint.restored","title":"CheckpointRestoredEvent","summary":"The rundown was put back to a checkpoint. The changed rows, columns and groups arrive in the usual events with the same version; saved is the checkpoint taken just before, which undoes the restore.","contentType":"application/json","payload":{"type":"object","required":["type","rundown_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"checkpoint.restored"},"rundown_id":{"type":"string"},"version":{"type":"integer","description":"Rundown version after this change. Events of one change share a version; versions only go up. If you see a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["checkpoint","saved"],"properties":{"checkpoint":{"type":"object","required":["id","rundown_id","name","auto","rundown_version","rows","created_by","created_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"name":{"type":"string"},"auto":{"type":"boolean","description":"Made by the server just before a restore, so the restore can be taken back."},"rundown_version":{"type":"integer","description":"The rundown version the snapshot was taken at."},"rows":{"type":"integer","description":"Rows in the snapshot."},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"integer","description":"Taken (ms since Unix epoch)"}},"title":"Checkpoint","description":"A named snapshot of a whole rundown: rows, cells, columns, groups, name and start."},"saved":{"type":"object","required":["id","rundown_id","name","auto","rundown_version","rows","created_by","created_at"],"properties":{"id":{"type":"string"},"rundown_id":{"type":"string"},"name":{"type":"string"},"auto":{"type":"boolean","description":"Made by the server just before a restore, so the restore can be taken back."},"rundown_version":{"type":"integer","description":"The rundown version the snapshot was taken at."},"rows":{"type":"integer","description":"Rows in the snapshot."},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"integer","description":"Taken (ms since Unix epoch)"}},"title":"Checkpoint","description":"A named snapshot of a whole rundown: rows, cells, columns, groups, name and start."}}}},"title":"CheckpointRestoredEvent","description":"The rundown was put back to a checkpoint. The changed rows, columns and groups arrive in the usual events with the same version; saved is the checkpoint taken just before, which undoes the restore."}},"exportCompleted":{"name":"export.completed","title":"ExportCompletedEvent","summary":"An export of this rundown finished or failed. Fetch the job for its download link; links are never sent in events. Carries the rundown's current version and changes nothing in it. Exports made from guest links are not announced.","contentType":"application/json","payload":{"type":"object","required":["type","rundown_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"export.completed"},"rundown_id":{"type":"string"},"version":{"type":"integer","description":"Rundown version after this change. Events of one change share a version; versions only go up. If you see a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["job_id","format","status","file_name","error","created_by"],"properties":{"job_id":{"type":"string"},"format":{"type":"string","enum":["pdf","docx","csv"]},"status":{"type":"string","enum":["completed","failed"]},"file_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}]}}}},"title":"ExportCompletedEvent","description":"An export of this rundown finished or failed. Fetch the job for its download link; links are never sent in events. Carries the rundown's current version and changes nothing in it. Exports made from guest links are not announced."}},"timingRecalculated":{"name":"timing.recalculated","title":"TimingRecalculatedEvent","summary":"Computed times changed. Carries only the rows whose times changed, plus the header and group roll-ups.","contentType":"application/json","payload":{"type":"object","required":["type","rundown_id","version","server_time","data"],"properties":{"type":{"type":"string","const":"timing.recalculated"},"rundown_id":{"type":"string"},"version":{"type":"integer","description":"Rundown version after this change. Events of one change share a version; versions only go up. If you see a gap, refetch /state."},"server_time":{"type":"integer","description":"Server clock when the change was committed (ms since Unix epoch)"},"data":{"type":"object","required":["header","items","groups"],"properties":{"header":{"type":"object","required":["planned_start","planned_end","planned_duration_ms","over_under_ms","time_of_day","timezone","item_count"],"properties":{"planned_start":{"anyOf":[{"type":"integer","description":"Start of the first timed row (ms since Unix epoch)"},{"type":"null"}]},"planned_end":{"anyOf":[{"type":"integer","description":"End of the last timed row (ms since Unix epoch)"},{"type":"null"}]},"planned_duration_ms":{"type":"integer","description":"Sum of the durations that count."},"over_under_ms":{"anyOf":[{"type":"integer","description":"Show over/under from show-caller tracking, at time_of_day: positive is behind plan. Null before the first row is tracked."},{"type":"null"}]},"time_of_day":{"type":"integer","description":"Server clock (ms since Unix epoch)"},"timezone":{"type":"string","description":"Timezone the rundown's wall-clock times are in."},"item_count":{"type":"integer","description":"Rows that count toward timing."}},"title":"TimingHeader"},"items":{"type":"array","items":{"type":"object","required":["item_id","planned_start","planned_end","offset_ms","duration_ms","anchor","anchor_gap_ms","muted","floating","in_service","actual_start","actual_end","over_under_ms"],"properties":{"item_id":{"type":"string"},"planned_start":{"anyOf":[{"type":"integer","description":"Planned start; null for floating rows and while the rundown has neither a start time nor a hard start above this row (ms since Unix epoch)"},{"type":"null"}]},"planned_end":{"anyOf":[{"type":"integer","description":"Planned end (ms since Unix epoch)"},{"type":"null"}]},"offset_ms":{"anyOf":[{"type":"integer","description":"Time from the first row to the start of this row, ignoring hard starts. Null for floating rows."},{"type":"null"}]},"duration_ms":{"type":"integer","description":"Duration used for timing: 0 for headers and notes."},"anchor":{"anyOf":[{"type":"integer","description":"The row's hard start, resolved to a moment (ms since Unix epoch)"},{"type":"null"}]},"anchor_gap_ms":{"anyOf":[{"type":"integer","description":"Spare time before the hard start (positive) or how far the rows above run into it (negative)."},{"type":"null"}]},"muted":{"type":"boolean"},"floating":{"type":"boolean"},"in_service":{"type":"boolean","description":"False when the row is not in the active service time; it is then timed like a floating row."},"actual_start":{"anyOf":[{"type":"integer","description":"When the show caller took this row live in the current show (ms since Unix epoch)"},{"type":"null"}]},"actual_end":{"anyOf":[{"type":"integer","description":"When the show caller left it; null while it is live (ms since Unix epoch)"},{"type":"null"}]},"over_under_ms":{"anyOf":[{"type":"integer","description":"Actual minus planned length once the row has finished: positive ran long."},{"type":"null"}]}},"title":"ItemTiming"}},"groups":{"type":"array","items":{"type":"object","required":["group_id","item_count","planned_start","planned_end","duration_ms","target_duration_ms","over_under_ms"],"properties":{"group_id":{"type":"string"},"item_count":{"type":"integer"},"planned_start":{"anyOf":[{"type":"integer","description":"Start of the first row (ms since Unix epoch)"},{"type":"null"}]},"planned_end":{"anyOf":[{"type":"integer","description":"End of the last row (ms since Unix epoch)"},{"type":"null"}]},"duration_ms":{"type":"integer","description":"Sum of the durations that count (not floating, not muted)."},"target_duration_ms":{"anyOf":[{"type":"integer"},{"type":"null"}]},"over_under_ms":{"anyOf":[{"type":"integer","description":"duration_ms minus target_duration_ms: positive is over."},{"type":"null"}]}},"title":"GroupTiming"}}}}},"title":"TimingRecalculatedEvent","description":"Computed times changed. Carries only the rows whose times changed, plus the header and group roll-ups."}}}},"client":{"address":"/v1","description":"Messages a socket.io client may send.","messages":{"subscribe":{"name":"subscribe","title":"Subscribe","summary":"Join rooms and/or rundowns. The server checks the credential's scopes, then sends one state.snapshot per room and one rundown.snapshot per rundown. Acknowledged with { ok, data: { rooms, rundowns } }.","payload":{"type":"object","properties":{"rooms":{"type":"array","items":{"type":"string"},"maxItems":50},"rundowns":{"type":"array","items":{"type":"string"},"maxItems":50},"device":{"type":"string","description":"Shown in the room's connection list."}}}},"unsubscribe":{"name":"unsubscribe","title":"Unsubscribe","payload":{"type":"object","properties":{"rooms":{"type":"array","items":{"type":"string"}},"rundowns":{"type":"array","items":{"type":"string"}}}}},"command":{"name":"command","title":"Command","summary":"A playback command over the socket. Same command path and rules as REST; acknowledged with { ok, data: RoomState } or { ok: false, error }.","payload":{"type":"object","required":["room","action"],"properties":{"room":{"type":"string"},"action":{"type":"string","enum":["start","stop","toggle","reset","next","previous","select","jump","add-time","subtract-time","start-fresh"]},"args":{"type":"object","description":"Same fields as the REST body of POST /v1/rooms/{roomId}/playback/{action}."},"idempotency_key":{"type":"string"},"expected_version":{"type":"integer"},"expected_timer_id":{"type":["string","null"]}}},"x-ack":{"oneOf":[{"type":"object","required":["ok","data"],"properties":{"ok":{"const":true},"data":{}}},{"type":"object","required":["ok","error"],"properties":{"ok":{"const":false},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"}}}}}]}}}}},"operations":{"receiveRoomEvents":{"action":"receive","channel":{"$ref":"#/channels/room"},"summary":"Receive room events","messages":[{"$ref":"#/channels/room/messages/stateSnapshot"},{"$ref":"#/channels/room/messages/playbackUpdated"},{"$ref":"#/channels/room/messages/timerSelected"},{"$ref":"#/channels/room/messages/timerStarted"},{"$ref":"#/channels/room/messages/timerStopped"},{"$ref":"#/channels/room/messages/timerYellow"},{"$ref":"#/channels/room/messages/timerRed"},{"$ref":"#/channels/room/messages/timerFinished"},{"$ref":"#/channels/room/messages/timerOverrun"},{"$ref":"#/channels/room/messages/timersChanged"},{"$ref":"#/channels/room/messages/messageShown"},{"$ref":"#/channels/room/messages/messageHidden"},{"$ref":"#/channels/room/messages/messagesChanged"},{"$ref":"#/channels/room/messages/displayFlash"},{"$ref":"#/channels/room/messages/displayBlackout"},{"$ref":"#/channels/room/messages/displayOnAir"},{"$ref":"#/channels/room/messages/connectionsChanged"},{"$ref":"#/channels/room/messages/connectionClosed"},{"$ref":"#/channels/room/messages/entitlementsUpdated"},{"$ref":"#/channels/room/messages/roomUpdated"},{"$ref":"#/channels/room/messages/serviceUpdated"},{"$ref":"#/channels/room/messages/chatMessage"},{"$ref":"#/channels/room/messages/chatRead"},{"$ref":"#/channels/room/messages/questionSubmitted"},{"$ref":"#/channels/room/messages/questionUpdated"},{"$ref":"#/channels/room/messages/questionShown"},{"$ref":"#/channels/room/messages/questionHidden"},{"$ref":"#/channels/room/messages/chimePlay"},{"$ref":"#/channels/room/messages/layoutUpdated"},{"$ref":"#/channels/room/messages/brandingUpdated"},{"$ref":"#/channels/room/messages/controlsUpdated"},{"$ref":"#/channels/room/messages/automationFired"}]},"receiveRundownEvents":{"action":"receive","channel":{"$ref":"#/channels/rundown"},"summary":"Receive rundown events","messages":[{"$ref":"#/channels/rundown/messages/rundownSnapshot"},{"$ref":"#/channels/rundown/messages/rundownUpdated"},{"$ref":"#/channels/rundown/messages/itemsChanged"},{"$ref":"#/channels/rundown/messages/columnsChanged"},{"$ref":"#/channels/rundown/messages/groupsChanged"},{"$ref":"#/channels/rundown/messages/trackingUpdated"},{"$ref":"#/channels/rundown/messages/presenceUpdated"},{"$ref":"#/channels/rundown/messages/guestUpdated"},{"$ref":"#/channels/rundown/messages/guestClosed"},{"$ref":"#/channels/rundown/messages/prompterScript"},{"$ref":"#/channels/rundown/messages/prompterControl"},{"$ref":"#/channels/rundown/messages/elementPublished"},{"$ref":"#/channels/rundown/messages/checkpointCreated"},{"$ref":"#/channels/rundown/messages/checkpointRestored"},{"$ref":"#/channels/rundown/messages/exportCompleted"},{"$ref":"#/channels/rundown/messages/timingRecalculated"}]},"subscribe":{"action":"send","channel":{"$ref":"#/channels/client"},"summary":"Subscribe to rooms and rundowns","messages":[{"$ref":"#/channels/client/messages/subscribe"}]},"unsubscribe":{"action":"send","channel":{"$ref":"#/channels/client"},"summary":"Unsubscribe from rooms","messages":[{"$ref":"#/channels/client/messages/unsubscribe"}]},"sendCommand":{"action":"send","channel":{"$ref":"#/channels/client"},"summary":"Send a playback command","messages":[{"$ref":"#/channels/client/messages/command"}]}},"components":{"securitySchemes":{"token":{"type":"httpApiKey","name":"token","in":"user","description":"socket.io handshake auth: { token }"}}}}