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
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
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Today's classes" | maxLength: 40 | |
soonMinutes | integer | 15 | minimum: 1; maximum: 120 | A class starting within this many minutes reads as starting soon. |
showInstructor | boolean | true | ||
staleMinutes | integer | 60 | minimum: 1; maximum: 1440 | |
hour12 | boolean | false | ||
timeZone | string, null | null |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
sessions | array | [] | maxItems: 200 | The building's classes today. A feed (screenrig.timetable/v1) wins when present; the data store supplies the same rows otherwise. |
sessions[].course | string | minLength: 1; maxLength: 16; Required | CPSC 110. | |
sessions[].title | string | maxLength: 60 | Computation, Programs and Programming. | |
sessions[].instructor | string | maxLength: 40 | ||
sessions[].room | string | maxLength: 24 | ||
sessions[].kind | string | maxLength: 16 | Lecture, lab, tutorial or seminar. | |
sessions[].start | string | maxLength: 32; Required | ISO 8601; with an offset or wall time in the screen's zone. | |
sessions[].end | string | maxLength: 32; Required | ||
sessions[].status | string | "scheduled" | "scheduled", "moved", "cancelled" | |
sessions[].note | string | maxLength: 50 | Room changed from 101. | |
updated | string | "" | maxLength: 32 | When 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.