Course Timetable card

Today's building classes run in time order: course, title, instructor, and room.

Now-and-next marking distinguishes the class on now from the one starting next. Every entry keeps its course, title, instructor, and room together. One or two classes are set large; a busy building pages through its day.

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, Wayfinding and directories.

Data and privacy

Feed: screenrig.timetable/v1.

Feed documents carry source attribution. The Player supplies the feed to the card.

Only the course, instructor and room the school publishes; never who is enrolled.

Properties

For theme, background, accent, colour overrides and position, see Common properties.

Static properties

NameTypeDefaultValues and limitsDescription
titlestring"Today's classes"maxLength: 40
soonMinutesinteger15minimum: 1; maximum: 120A class starting within this many minutes reads as starting soon.
showInstructorbooleantrue
staleMinutesinteger60minimum: 1; maximum: 1440
hour12booleanfalse
timeZonestring, nullnull

Dynamic properties

NameTypeDefaultValues and limitsDescription
sessionsarray[]maxItems: 200The building's classes today. A feed (screenrig.timetable/v1) wins when present; the data store supplies the same rows otherwise.
sessions[].coursestringminLength: 1; maxLength: 16; RequiredCPSC 110.
sessions[].titlestringmaxLength: 60Computation, Programs and Programming.
sessions[].instructorstringmaxLength: 40
sessions[].roomstringmaxLength: 24
sessions[].kindstringmaxLength: 16Lecture, lab, tutorial or seminar.
sessions[].startstringmaxLength: 32; RequiredISO 8601; with an offset or wall time in the screen's zone.
sessions[].endstringmaxLength: 32; Required
sessions[].statusstring"scheduled""scheduled", "moved", "cancelled"
sessions[].notestringmaxLength: 50Room changed from 101.
updatedstring""maxLength: 32When the timetable was read, ISO 8601 (data store only; a feed carries fetchedAt).

Example params

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

Example data

{
  "sessions": [],
  "updated": ""
}

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.