Live card
Category: Operations. Tags: Numbers and metrics, Stores, Offices and workplaces, Healthcare.
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 |
|---|---|---|---|---|
title | string | "Occupancy" | maxLength: 40 | |
noun | string | "people" | minLength: 1; maxLength: 16 | Who is counted: people, guests, visitors, shoppers. Reads "people inside". |
warnPercent | integer | 80 | minimum: 50; maximum: 99 | From this share of capacity the board reads nearly full. |
openMessage | string | "Welcome, come in" | maxLength: 40 | |
busyMessage | string | "Nearly full" | maxLength: 40 | |
fullMessage | string | "Please wait" | maxLength: 40 |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
inside | integer | 0 | minimum: 0; maximum: 99999 | How many are inside now. |
capacity | integer | 0 | minimum: 0; maximum: 99999 | The most that may be inside. 0 shows the waiting state until it is set. |
footnote | string | "" | maxLength: 120 | A line for the foot of the board: when the next entry is, where to queue. |
previous | integer, null | null | minimum: 0; maximum: 99999 | The count before the latest update. With updatedAt, the board shows it until that instant, then plays the change. |
updatedAt | string | "" | maxLength: 40 | When the count last changed (ISO 8601). Anchors the board's moment; empty plays none. |
Example params
{
"theme": "neomustard"
}
screenrig card create --type occupancy --major 1 --file params.json --context-file context.md
Example data
{
"inside": 0,
"capacity": 0,
"footnote": "",
"previous": null,
"updatedAt": ""
}
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.