Word of the day card

The word of the day or the problem of the day: a big word with how to say it, what it means and a sentence, or a problem with a hint and an answer that appears when the teacher says.

Category: Schools. Tags: Schools and campuses, Lobbies and reception.

Previews

Word of the day
Canvas
Word of the day
Corner
Word of the day
Chip

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

NameTypeDefaultValues and limitsDescription
showDatebooleantrue
hour12booleanfalse
timeZonestring, nullnull

Dynamic properties

NameTypeDefaultValues and limitsDescription
modestring"word""word", "problem"word shows the word of the day; problem shows the problem of the day.
titlestring""maxLength: 40The heading. Empty: Word of the day, or Problem of the day.
wordstring""maxLength: 30
pronunciationstring""maxLength: 30How to say it, for example AD-ven-cher.
partOfSpeechstring""maxLength: 20noun, verb, adjective and so on.
definitionstring""maxLength: 160What it means, in words a child knows.
sentencestring""maxLength: 160The word used in a sentence.
iconstring"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.
problemstring""maxLength: 200The problem of the day, for example 12 + 7 = ?
hintstring""maxLength: 80
answerstring""maxLength: 60
showAnswerbooleanfalseTrue shows the answer now.
revealAtstring""maxLength: 40ISO 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":""}}'