Category: Retail. Tags: Stores, Prices and rates, Numbers and metrics.
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
Feed: screenrig.jackpots/v1.
Feed documents carry source attribution. The Player supplies the feed to the card.
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 | "Jackpots" | maxLength: 40 | |
currency | string | "USD" | maxLength: 3 | ISO 4217 code; the feed's wins. |
takeoverAbove | number, null | null | minimum: 1; maximum: 1000000000000 | Above this jackpot the card becomes a poster of the biggest game, filling the screen. Empty never does. |
sort | string | "jackpot" | "jackpot", "draw" | The lead game is the biggest jackpot, or the soonest draw. |
staleMinutes | integer | 720 | minimum: 1; maximum: 20160 | A feed older than this shows how long ago it updated. |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
games | array | [] | maxItems: 12 | The games, the same document as the screenrig.jackpots/v1 feed's games. The feed wins when present. |
games[].name | string | minLength: 1; maxLength: 40; Required | The game (Lotto Max, Powerball). | |
games[].jackpot | number | minimum: 0; maximum: 1000000000000; Required | The advertised jackpot in whole currency units (245500000 for $245.5 million). | |
games[].cash | number, null | null | minimum: 0; maximum: 1000000000000 | The cash option, when the game has one. |
games[].nextDraw | string | "" | maxLength: 40 | The next draw, an ISO 8601 instant (or a wall time in the screen's zone). |
games[].lastNumbers | array | [] | maxItems: 8 | The last draw's numbers. |
games[].bonus | integer, null | null | minimum: 0; maximum: 999 | The last draw's bonus or power ball. |
footnote | string | "" | maxLength: 140 | A line under the board, such as a responsible-play message. |
Canvas example
Add this item to a playlist page’s primitives. Publish the playlist and assign a screen.
{
"id": "jackpot-board",
"primitive": "card",
"card": "jackpot-board",
"major": 1,
"params": {
"theme": "neomustard"
},
"rect": {
"x": 0,
"y": 0,
"width": 1920,
"height": 1080
},
"layer": 0,
"content_fit": "fill",
"data": "jackpot-board-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/jackpot-board-main" \
--header "Authorization: Bearer $SCREENRIG_TOKEN" \
--header "ScreenRig-Project: $SCREENRIG_PROJECT" \
--header "Content-Type: application/json" \
--data '{"document":{"games":[],"footnote":""}}'