# Jackpot board card

> Canonical HTML: https://screenrig.ai/docs/cards/jackpot-board/

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](/cards/jackpot-board/v1/screenshots/canvas-bloom.webp?sha=f63f2d112e75848ba8546ce4ecca3f5181658c4789fef427a7408e6ffe8ebb63)

Canvas

![Jackpot board](/cards/jackpot-board/v1/screenshots/corner-bloom.webp?sha=a1d9bc380c42343183531b4a2f1b7335e2bb31f9cb10512febee4caf0cd13a1b)

Corner

![Jackpot board](/cards/jackpot-board/v1/screenshots/chip-bloom.webp?sha=4af8ce0b0df1ae30f0a1d0ef48e8da8c1d846278f71614abc723d5ae46baca43)

Chip

## Views and forms

Views: canvas, corner, chip. Canvas forms: landscape, portrait, square, strip.

[Card views, themes and publishing](/docs/cards/). [Browse the gallery](/apps/#cards).

## 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](/docs/cards/#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](/docs/cards/#publish-a-card-canvas).

```json
{
  "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](/docs/authentication/).

```console
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":""}}'
```
