Exam board card

Today's exams by time and room: where to go, when it starts and how long it runs, with seating, in progress and room changes.

Category: Schools. Tags: Schools and campuses, Schedules, Wayfinding and directories, Alerts and status.

Previews

Exam board
Canvas
Exam board
Corner
Exam 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.

Courses, rooms and times only; never students or seating lists.

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"Exams today"maxLength: 40
seatingMinutesinteger20minimum: 0; maximum: 120Seating opens this long before the start; 0 shows no seating.
defaultMinutesinteger120minimum: 15; maximum: 480Length of an exam with no end and no minutes.
footnotestring""maxLength: 120One line under the board: Phones off. Bring your student card.
hour12booleanfalse
timeZonestring, nullnull

Dynamic properties

NameTypeDefaultValues and limitsDescription
examsarray[]maxItems: 60Today's exams: course, room and times. Never students.
exams[].coursestringminLength: 1; maxLength: 24; RequiredCourse code: CPSC 110.
exams[].titlestringmaxLength: 80Introduction to Computer Systems.
exams[].roomstringminLength: 1; maxLength: 28; RequiredHennings 200.
exams[].startstringmaxLength: 30; RequiredHH:MM today, or an ISO 8601 time (an offset, or wall time in the screen's zone).
exams[].endstringmaxLength: 30HH:MM or ISO 8601; without it the exam lasts minutes.
exams[].minutesintegerminimum: 5; maximum: 720Length of the exam when end is absent.
exams[].datestringmaxLength: 10YYYY-MM-DD for an HH:MM time; without it, today.
exams[].notestringmaxLength: 60Calculators allowed. Open book.
exams[].statusstring"scheduled""scheduled", "moved", "cancelled"Moved shows the note (the new room); cancelled strikes the row through.

Canvas example

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

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