Category: Schools. Tags: Schools and campuses, Lobbies and reception.
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 |
|---|---|---|---|---|
showDate | boolean | true | ||
hour12 | boolean | false | ||
timeZone | string, null | null |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
mode | string | "word" | "word", "problem" | word shows the word of the day; problem shows the problem of the day. |
title | string | "" | maxLength: 40 | The heading. Empty: Word of the day, or Problem of the day. |
word | string | "" | maxLength: 30 | |
pronunciation | string | "" | maxLength: 30 | How to say it, for example AD-ven-cher. |
partOfSpeech | string | "" | maxLength: 20 | noun, verb, adjective and so on. |
definition | string | "" | maxLength: 160 | What it means, in words a child knows. |
sentence | string | "" | maxLength: 160 | The word used in a sentence. |
icon | string | "none" | "none", "star", "sparkles", "lightbulb", "leaf-01", "sun-03", "moon-02", "droplet", "favourite", "music-note-01", "apple", "restaurant-01", "walking", "volleyball", "basketball-01", "rocket-01", "trophy", "party", "gift", "home-01", "bus-01", "bell-ring", "megaphone-01", "message-01", "news-01", "target-02", "hourglass", "fire", "snowflake", "humidity", "wrench-01", "globe-02", "camera-01", "medal-first-place", "user-group" | A picture for the word. |
problem | string | "" | maxLength: 200 | The problem of the day, for example 12 + 7 = ? |
hint | string | "" | maxLength: 80 | |
answer | string | "" | maxLength: 60 | |
showAnswer | boolean | false | True shows the answer now. | |
revealAt | string | "" | maxLength: 40 | ISO 8601 instant the answer appears (a time without an offset is wall time in the screen's zone). Until then the card says when. |
Canvas example
Add this item to a playlist page’s primitives. Publish the playlist and assign a screen.
{
"id": "word-of-the-day",
"primitive": "card",
"card": "word-of-the-day",
"major": 1,
"params": {
"theme": "neomustard"
},
"rect": {
"x": 0,
"y": 0,
"width": 1920,
"height": 1080
},
"layer": 0,
"content_fit": "fill",
"data": "word-of-the-day-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/word-of-the-day-main" \
--header "Authorization: Bearer $SCREENRIG_TOKEN" \
--header "ScreenRig-Project: $SCREENRIG_PROJECT" \
--header "Content-Type: application/json" \
--data '{"document":{"mode":"word","title":"","word":"","pronunciation":"","partOfSpeech":"","definition":"","sentence":"","icon":"none","problem":"","hint":"","answer":"","showAnswer":false,"revealAt":""}}'