Live card
Category: People. Tags: Offices and workplaces, Schedules, Healthcare, Factories and warehouses.
Data and privacy
This card uses its configured properties and live card data.
Properties
For theme, background, accent, colour overrides and position, see Common properties.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Who's on" | maxLength: 40 | |
lookaheadHours | integer | 12 | minimum: 1; maximum: 48 | How far ahead a shift counts as next. |
hour12 | boolean | false |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
people | array | [] | minItems: 0; maxItems: 24 | |
people[].name | string | minLength: 1; maxLength: 60; Required | ||
people[].role | string | "" | maxLength: 50 | |
people[].note | string | "" | maxLength: 40 | A place or a number after the role: a station, a ward, an extension. |
people[].start | string | maxLength: 8; Required | Shift start in the screen's time zone: 07:00 or 7:00 AM. | |
people[].end | string | maxLength: 8; Required | Shift end. Earlier than the start means the shift runs past midnight; equal to the start means 24 hours. | |
people[].days | array | [] | maxItems: 7 | The days the shift starts on. Left out or empty, every day. |
footnote | string | "" | maxLength: 120 |
Example params
{
"theme": "neomustard"
}
screenrig card create --type whos-on --major 1 --file params.json --context-file context.md
Example data
{
"people": [],
"footnote": ""
}
Layouts
This fullscreen card fills the whole screen in landscape or portrait and is not placed as a corner, chip, or strip.
Layouts: full. Forms: landscape, portrait.
Use this card
Add this card to a playlist as in Publish a card canvas, place it with the layouts and anchors and update its data as in Write live values.