Study Rooms card

Free library and group study rooms now, how long they remain free, and when booked rooms become available.

Library and group study rooms free now appear with how long they remain free. Booked rooms list when they free up.

Live card

This card is drawn in your browser by the same code the Players run, with sample data.

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

Data and privacy

Feed: screenrig.rooms/v1.

Feed documents carry source attribution. The Player supplies the feed to the card.

Times only: booking titles and names never show.

Properties

For theme, background, accent, colour overrides and position, see Common properties.

Static properties

NameTypeDefaultValues and limitsDescription
titlestring"Study rooms"maxLength: 40
minFreeMinutesinteger20minimum: 0; maximum: 240A room free for less than this reads as booked soon, not free.
opensAtstring""maxLength: 5When the library opens, HH:MM in the screen's zone. Empty: always open.
closesAtstring""maxLength: 5When the library closes, HH:MM. Rooms read free until then; empty: until the day's end.
sortstring"free""free", "feed"free puts the room free the longest first; feed keeps the order given.
showSeatsbooleantrue
staleMinutesinteger10minimum: 1; maximum: 1440
hour12booleanfalse
timeZonestring, nullnull

Dynamic properties

NameTypeDefaultValues and limitsDescription
roomsarray[]maxItems: 60The rooms. A feed (screenrig.rooms/v1) wins when present; the data store supplies the same rows otherwise.
rooms[].namestringminLength: 1; maxLength: 40; Required
rooms[].floorstringmaxLength: 24Level 2.
rooms[].capacityintegerminimum: 1; maximum: 500Seats.
rooms[].eventsarraymaxItems: 60The room's bookings. Titles and names never show.
rooms[].events[].startstringmaxLength: 32; RequiredISO 8601; with an offset or wall time in the screen's zone.
rooms[].events[].endstringmaxLength: 32Without it a booking lasts an hour.
updatedstring""maxLength: 32When the bookings were read, ISO 8601 (data store only; a feed carries fetchedAt).

Example params

{
  "theme": "neomustard"
}
screenrig card create --type study-rooms --major 1 --file params.json --context-file context.md

Example data

{
  "rooms": [],
  "updated": ""
}

Layouts

This fullscreen card fills the whole screen in landscape or portrait and is not placed as a corner, chip, or strip.

Layouts: full. Forms: landscape, portrait.

Use this card

Add this card to a playlist as in Publish a card canvas, place it with the layouts and anchors and update its data as in Write live values.