Who's on card

Who is on shift or on call right now, with time left in the shift, and who starts next.

Live card

This card is drawn in your browser by the same code the Players run, with sample data.

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

NameTypeDefaultValues and limitsDescription
titlestring"Who's on"maxLength: 40
lookaheadHoursinteger12minimum: 1; maximum: 48How far ahead a shift counts as next.
hour12booleanfalse

Dynamic properties

NameTypeDefaultValues and limitsDescription
peoplearray[]minItems: 0; maxItems: 24
people[].namestringminLength: 1; maxLength: 60; Required
people[].rolestring""maxLength: 50
people[].notestring""maxLength: 40A place or a number after the role: a station, a ward, an extension.
people[].startstringmaxLength: 8; RequiredShift start in the screen's time zone: 07:00 or 7:00 AM.
people[].endstringmaxLength: 8; RequiredShift end. Earlier than the start means the shift runs past midnight; equal to the start means 24 hours.
people[].daysarray[]maxItems: 7The days the shift starts on. Left out or empty, every day.
footnotestring""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.