Workout board card

Today's workout on the gym whiteboard: the workout name and date, then each part with its format, time cap, rep scheme, movements, loads and scaled options.

Category: Sports. Tags: Schedules, Countdowns and timers.

Previews

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

This card uses its configured properties and live card data.

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"WOD"maxLength: 30
namestring""maxLength: 40The workout's name, for example Fran.

Dynamic properties

NameTypeDefaultValues and limitsDescription
partsarray[]maxItems: 4
parts[].namestring""maxLength: 30For example Warm-up, Strength or Metcon.
parts[].formatstring""maxLength: 40For example For time, AMRAP 20 or EMOM 12.
parts[].schemestring""maxLength: 20The rep scheme shown big, for example 21-15-9 or 5 x 3.
parts[].capstring""maxLength: 24A time cap, for example 12 min cap.
parts[].notestring""maxLength: 80
parts[].mainbooleanfalseThe part the corner, chip and strip show. The last part is the main one when none is marked.
parts[].movesarray[]maxItems: 14
parts[].moves[].repsstring""maxLength: 14For example 21, 400 m or Max.
parts[].moves[].namestringminLength: 1; maxLength: 50; Required
parts[].moves[].loadstring""maxLength: 24For example 43 / 30 kg.
parts[].moves[].scaledstring""maxLength: 60The scaled option, shown as a muted line under the movement.

Canvas example

Add this item to a playlist page’s primitives. Publish the playlist and assign a screen.

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