Dismissal card

Car-line pickup: the student being called now with their door or cone and the time, the recent calls beneath, waiting counts by grade, and a calm end-of-dismissal state. Shows exactly the names and numbers the data gives.

Category: Schools. Tags: Schools and campuses, Queues and waits.

Previews

Dismissal
Canvas
Dismissal
Corner
Dismissal
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.

Shows exactly the names the school sends (first name and last initial); it never adds, expands or looks up a name, and shows none once dismissal ends.

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"Dismissal"maxLength: 40
doorLabelstring"Door"maxLength: 12The small word above a short door or cone number, for example Door or Cone. A longer value such as Front gate shows as written.
countinteger6minimum: 1; maximum: 10How many earlier calls the recent list shows.
expireMinutesinteger20minimum: 0; maximum: 240A call leaves the board this many minutes after calledAt. 0 keeps it until the data removes it.
chimebooleantrueThe host plays the call cue; the card highlights a call made under 30 s ago.
hour12booleantrue

Dynamic properties

NameTypeDefaultValues and limitsDescription
callsarray[]minItems: 0; maxItems: 60Students called, newest first, by first name and last initial. With calledAt the newest time leads; calls without one keep their order after the timed ones.
calls[].namestringminLength: 1; maxLength: 60; RequiredThe student as the school sends it: first name and last initial, for example Maya R. The card never adds, expands or looks up names.
calls[].doorstring""maxLength: 20The door or cone, for example 3 or Cone B.
calls[].calledAtstring""maxLength: 40ISO 8601 instant the student was called. Drives the fresh highlight, the newest-first order and the expiry.
waitingarray[]minItems: 0; maxItems: 8Cars or students still waiting, by grade, as supplied. Omit it to hide the strip.
waiting[].gradestringminLength: 1; maxLength: 12; Required
waiting[].countintegerminimum: 0; maximum: 999; Required
endedbooleanfalseTrue once dismissal is over: the board shows a calm closing message and no names.
messagestring""maxLength: 120A line for the foot of the board; in the closed and waiting states it replaces the default sentence.

Canvas example

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

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