Week schedule card

A week at a glance: days across and hours down with each class, shift or booking drawn to its length and coloured by group, today lit with a now line; portrait and square read as an agenda by day.

Category: Operations. Tags: Schedules, Offices and workplaces, Events and venues.

Previews

Week schedule
Canvas
Week schedule
Corner
Week schedule
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"This week"maxLength: 30
daysinteger55, 6, 7Days shown from Monday: 5 is Monday to Friday, 7 the whole week.
weekOffsetinteger0minimum: -8; maximum: 80 shows this week, 1 next week, -1 last week.
hour12booleanfalseShow times as 9:00 AM instead of 09:00.
startHourintegerminimum: 0; maximum: 23The first hour of the grid; by default the earliest event.
endHourintegerminimum: 1; maximum: 24The hour the grid ends; by default the latest event.

Dynamic properties

NameTypeDefaultValues and limitsDescription
eventsarray[]maxItems: 200The week's classes, shifts or bookings, in any order. Times are ISO 8601; a time with no offset is the screen's local time.
events[].idstring""maxLength: 40Keys the event, so one already shown does not animate again.
events[].titlestringminLength: 1; maxLength: 60; Required
events[].startstringmaxLength: 40; RequiredWhen it starts, such as 2026-10-14T09:00.
events[].endstring""maxLength: 40When it ends; empty means one hour after the start.
events[].placestring""maxLength: 40The room, studio or location.
events[].whostring""maxLength: 40The instructor, host or person on shift.
events[].groupstring""maxLength: 30Events in one group share a colour, such as a class type or a team.

Canvas example

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

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