# Curling board card

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

A curling scoreboard: the line score by end drawn the way the sport draws it, the hammer, the end in play, the house with the stones in play and the points the end counts, thinking time for both rinks, stones thrown, timeouts and power play, and 4-ender and steal callouts. Reads a league feed, or venue game data written to the data store.

Category: Sports. Tags: Scoreboards, Team sports.

## Previews

![Curling board](/cards/curling-board/v1/screenshots/canvas-bloom.webp?sha=82febf517c7293c1aa1462950b4b16e576c1d27be278c652d8b71b8ba84b9d0e)

Canvas

![Curling board](/cards/curling-board/v1/screenshots/corner-bloom.webp?sha=9a0af9a1c72b2d00e7746b61a156ee230dbda4ee19e7139cbbda7c9ce06a1a73)

Corner

![Curling board](/cards/curling-board/v1/screenshots/chip-bloom.webp?sha=7f122fb6cd80308f283ffae5a6d0030f399e517f7d76da91b9f8789c6b9d1eba)

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.game.curling/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 | `""` | maxLength: `40` | Empty uses the competition's name. |
| `order` | string | `"home-away"` | `"home-away"`, `"away-home"` | Which team reads first: left on the board, top in the corner, first in the chip. |
| `teamColors` | boolean | `true` |  | Team colours on the marks and bars; off keeps the theme's colours. |
| `ends` | integer | `10` | minimum: `4`; maximum: `12` | Scheduled ends when the game omits them: 10 for four-person curling, 8 for mixed doubles. |
| `hour12` | boolean | `false` |  |  |
| `timeZone` | string, null | `null` |  |  |

### Dynamic properties

| Name | Type | Default | Values and limits | Description |
| --- | --- | --- | --- | --- |
| `game` | object, null | `null` |  | The game as a screenrig.game.curling/v1 document, for venues and clubs: a scoreboard bridge or an agent writes it to the data store. Used when no feed is attached. |

## 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": "curling-board",
  "primitive": "card",
  "card": "curling-board",
  "major": 1,
  "params": {
    "theme": "neomustard"
  },
  "rect": {
    "x": 0,
    "y": 0,
    "width": 1920,
    "height": 1080
  },
  "layer": 0,
  "content_fit": "fill",
  "data": "curling-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/curling-board-main" \
  --header "Authorization: Bearer $SCREENRIG_TOKEN" \
  --header "ScreenRig-Project: $SCREENRIG_PROJECT" \
  --header "Content-Type: application/json" \
  --data '{"document":{"game":null}}'
```
