Bracket card

A tournament on the wall: a single-elimination draw as a tree with seeds, scores, the match in play and the champion, split into two halves for a big draw or paged by round when it cannot fit, and a round-robin or Swiss table with the matches on now and next. Reads a league feed, or tournament data written to the data store.

Category: Sports. Tags: Scoreboards, Leaderboards and standings, Team sports, Individual sports.

Previews

Bracket
Canvas
Bracket
Corner
Bracket
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.game.bracket/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""maxLength: 40Empty uses the competition's name.
teamColorsbooleantrueTeam colours on the marks and bars; off keeps the theme's colours.
typestring"single""single", "roundrobin"The kind of event when the document omits it: a single-elimination draw, or a round-robin or Swiss table.
seedsbooleantrueShow the seeds beside the names.
hour12booleanfalse
timeZonestring, nullnull

Dynamic properties

NameTypeDefaultValues and limitsDescription
gameobject, nullnullThe tournament as a screenrig.game.bracket/v1 document, for venues and clubs: an agent or a bridge 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.

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