Each open hall leads with how long the line is, over a bar for how busy it is, then the meal being served and until when, and what each station serves. Halls that open later, are done for the day or are closed are listed with when. One hall fills the screen; many halls become rows so every one shows.
Live card
Category: Schools. Tags: Schools and campuses, Schedules, Queues and waits.
Data and privacy
Feed: screenrig.dining/v1.
Feed documents carry source attribution. The Player supplies the feed to the card.
Counts and menus only, never who is eating.
Properties
For theme, background, accent, colour overrides and position, see Common properties.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Dining halls" | maxLength: 40 | |
sort | string | "status" | "status", "feed" | status lists open halls first, then those opening later, then closed ones; feed keeps the order given. |
busyLow | integer | 40 | minimum: 1; maximum: 90 | Under this percent full a hall reads Quiet. |
busyHigh | integer | 75 | minimum: 10; maximum: 100 | At or above this percent full a hall reads Busy. |
maxStations | integer | 4 | minimum: 0; maximum: 6 | |
showStations | boolean | true | ||
staleMinutes | integer | 30 | minimum: 1; maximum: 1440 | |
hour12 | boolean | false | ||
timeZone | string, null | null |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
halls | array | [] | maxItems: 8 | The halls. A feed (screenrig.dining/v1) wins when present; the data store supplies the same rows otherwise. |
halls[].name | string | minLength: 1; maxLength: 40; Required | ||
halls[].location | string | maxLength: 40 | ||
halls[].closed | boolean | false | Closed all day (a break, a holiday); note says why. | |
halls[].note | string | maxLength: 60 | ||
halls[].meals | array | maxItems: 8 | Today's serving times. | |
halls[].meals[].kind | string | maxLength: 20; Required | breakfast, brunch, lunch, dinner, late-night or snack; other text shows as written. | |
halls[].meals[].start | string | maxLength: 32; Required | ISO 8601; with an offset or wall time in the screen's zone. | |
halls[].meals[].end | string | maxLength: 32; Required | ||
halls[].busyPercent | integer | minimum: 0; maximum: 100 | How full the hall is now. | |
halls[].waitMinutes | integer | minimum: 0; maximum: 240 | The line, in minutes. | |
halls[].stations | array | maxItems: 12 | ||
halls[].stations[].name | string | maxLength: 30; Required | ||
halls[].stations[].meal | string | maxLength: 20 | Shows only in this meal; empty: every meal. | |
halls[].stations[].items | array | maxItems: 6 | ||
updated | string | "" | maxLength: 32 | When the readings were taken, ISO 8601 (data store only; a feed carries fetchedAt). |
Example params
{
"theme": "neomustard"
}
screenrig card create --type dining-halls --major 1 --file params.json --context-file context.md
Example data
{
"halls": [],
"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.