Jackpot board card

Lottery jackpots with the biggest in huge type, each game's next draw and last numbers, and a poster takeover above a chosen jackpot.

Category: Retail. Tags: Stores, Prices and rates, Numbers and metrics.

Previews

Jackpot board
Canvas
Jackpot board
Corner
Jackpot board
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

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

NameTypeDefaultValues and limitsDescription
titlestring"Jackpots"maxLength: 40
currencystring"USD"maxLength: 3ISO 4217 code; the feed's wins.
takeoverAbovenumber, nullnullminimum: 1; maximum: 1000000000000Above this jackpot the card becomes a poster of the biggest game, filling the screen. Empty never does.
sortstring"jackpot""jackpot", "draw"The lead game is the biggest jackpot, or the soonest draw.
staleMinutesinteger720minimum: 1; maximum: 20160A feed older than this shows how long ago it updated.

Dynamic properties

NameTypeDefaultValues and limitsDescription
gamesarray[]maxItems: 12The games, the same document as the screenrig.jackpots/v1 feed's games. The feed wins when present.
games[].namestringminLength: 1; maxLength: 40; RequiredThe game (Lotto Max, Powerball).
games[].jackpotnumberminimum: 0; maximum: 1000000000000; RequiredThe advertised jackpot in whole currency units (245500000 for $245.5 million).
games[].cashnumber, nullnullminimum: 0; maximum: 1000000000000The cash option, when the game has one.
games[].nextDrawstring""maxLength: 40The next draw, an ISO 8601 instant (or a wall time in the screen's zone).
games[].lastNumbersarray[]maxItems: 8The last draw's numbers.
games[].bonusinteger, nullnullminimum: 0; maximum: 999The last draw's bonus or power ball.
footnotestring""maxLength: 140A 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":""}}'