Current activity is marked as now, finished activities are ticked, and upcoming activities follow in order, each as a large picture with a few words.
Live card
Category: Schools. Tags: Schools and campuses, Schedules.
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 |
|---|---|---|---|---|
showTimes | boolean | true | Show each activity's start time. | |
hour12 | boolean | false | ||
timeZone | string, null | null |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Our day" | maxLength: 40 | The heading. |
items | array | [] | minItems: 0; maxItems: 12 | The day's activities, in order, each a picture and a few words. With a start time an activity is under way from its start to its end (else to the next start); the card follows the clock. Without times, set current. |
items[].label | string | minLength: 1; maxLength: 30; Required | ||
items[].icon | string | "star" | "star", "user-group", "sparkles", "music-note-01", "restaurant-01", "apple", "walking", "volleyball", "basketball-01", "news-01", "lightbulb", "leaf-01", "target-02", "megaphone-01", "bell-ring", "home-01", "bus-01", "drink", "party", "birthday-cake", "message-01", "calendar-03", "clock-01", "favourite", "trophy", "rocket-01", "wrench-01", "camera-01", "sun-03", "moon-02", "droplet", "door-open", "first-aid-kit", "hourglass", "gift" | The picture. |
items[].start | string | maxLength: 5 | HH:MM, 24-hour. Optional. | |
items[].end | string | maxLength: 5 | HH:MM, 24-hour, after the start. Optional: the activity runs until the next one starts. | |
items[].note | string | maxLength: 40 | A short line shown when the activity is under way, for example Bring your coat. | |
current | integer | 0 | minimum: 0; maximum: 99 | 0 follows the clock using the start times. 1 and up marks that activity as now: those before it are done, those after it come next. Past the last one the day is done. |
doneText | string | "All done" | maxLength: 30 | Shown when the last activity is finished. |
currentAt | string | "" | maxLength: 64 | Optional instant when the supplied manual current activity changed; coordinates its Primetime fade. |
Example params
{
"theme": "neomustard"
}
screenrig card create --type visual-schedule --major 1 --file params.json --context-file context.md
Example data
{
"title": "Our day",
"items": [],
"current": 0,
"doneText": "All done",
"currentAt": ""
}
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.