Category: Retail. Tags: Queues and waits, Healthcare, Restaurants and cafes, Stores, Charts and gauges.
Previews



Views and forms
Views: canvas, corner, chip. Canvas forms: landscape, portrait, square, strip.
Card views, themes and publishing. Browse the gallery.
Data and privacy
This card uses its configured properties and live card data.
Properties
For theme, background, accent and position, see Common properties.
Set static properties in params. Bind data to a project card data key for live values; that document holds only dynamic properties. Without a data key, put the complete configuration in params. Nested rows describe the contents of their parent property.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Wait times" | maxLength: 40 | |
order | string | "listed" | "listed", "shortest", "longest", "name" | listed: as given. shortest or longest wait first, closed and unknown lines last. name: A to Z. |
moderateFrom | integer | 15 | minimum: 1; maximum: 500 | Minutes at which a wait stops being short. |
longFrom | integer | 30 | minimum: 2; maximum: 500 | Minutes at which a wait is long (always above moderateFrom). |
scaleMinutes | integer | 60 | minimum: 10; maximum: 480 | The wait that fills a bar. |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
lines | array | [] | minItems: 0; maxItems: 12 | |
lines[].name | string | minLength: 1; maxLength: 40; Required | ||
lines[].minutes | integer | minimum: 0; maximum: 999 | The estimated wait. 0 reads as no wait; left out, the line shows a dash. | |
lines[].closed | boolean | false | ||
lines[].note | string | "" | maxLength: 40 | A line under the name: a location, a lane, a reason. |
footnote | string | "" | maxLength: 120 |
Canvas example
Add this item to a playlist page’s primitives. Publish the playlist and assign a screen.
{
"id": "wait-times",
"primitive": "card",
"card": "wait-times",
"major": 1,
"params": {
"theme": "neomustard"
},
"rect": {
"x": 0,
"y": 0,
"width": 1920,
"height": 1080
},
"layer": 0,
"content_fit": "fill",
"data": "wait-times-main"
}
Write live data
Create this document before showing the card, then replace it to update the screen without republishing. Use the same project as the playlist. Supply your API authorization through the environment; see API authentication.
curl --request PUT "https://api.screenrig.ai/api/card-data/wait-times-main" \
--header "Authorization: Bearer $SCREENRIG_TOKEN" \
--header "ScreenRig-Project: $SCREENRIG_PROJECT" \
--header "Content-Type: application/json" \
--data '{"document":{"lines":[],"footnote":""}}'