Bell Schedule card

Current period, time remaining, and what follows come from a supplied period list and the wall clock in the screen's time zone.

Weekday-specific scheduling supports a variation such as a late-start Wednesday. Periods for the day appear in order, marking the one under way.

Live card

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

Category: Schools. Tags: Schools and campuses, Schedules, Countdowns and timers, Clocks and calendars.

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"Bell schedule"maxLength: 40The heading when the day's schedule has no name of its own.
hour12booleanfalse
timeZonestring, nullnull

Dynamic properties

NameTypeDefaultValues and limitsDescription
schedulesarray[]minItems: 0; maxItems: 8The schedules. Today uses the one that lists today's weekday in days, else the first with no days. With none for today the board says there are no bells.
schedules[].namestringmaxLength: 30Shown as the heading: Regular day, Late start, Exams.
schedules[].daysarray[]maxItems: 7ISO weekdays (1 Monday to 7 Sunday) this schedule applies to; none means every day not listed by another schedule.
schedules[].periodsarrayminItems: 0; maxItems: 16; Required
schedules[].periods[].namestringminLength: 1; maxLength: 30; Required
schedules[].periods[].startstringpattern: "^\\d{1,2}:\\d{2}$"; RequiredHH:MM, 24-hour, in the screen's zone.
schedules[].periods[].endstringpattern: "^\\d{1,2}:\\d{2}$"; RequiredHH:MM, 24-hour; 24:00 is midnight. Must be after the start.
footnotestring""maxLength: 120A line for the foot of the board: an assembly, a changed bell.

Example params

{
  "theme": "neomustard"
}
screenrig card create --type bell-schedule --major 1 --file params.json --context-file context.md

Example data

{
  "schedules": [],
  "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.