Availability board card

Free against total for parking levels, EV chargers, desks or beds, as tiles coloured plenty, filling up or full.

Live card

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

Category: Operations. Tags: Wayfinding and directories, Numbers and metrics, Offices and workplaces, Transit and travel.

Data and privacy

This card uses its configured properties and live card data.

Properties

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

Static properties

NameTypeDefaultValues and limitsDescription
titlestring"Availability"maxLength: 40
orderstring"listed""listed", "most-free", "least-free", "name"listed: as given. most-free or least-free by the free count, closed and unknown last. name: A to Z.
lowPercentinteger20minimum: 1; maximum: 99Below this share free, a tile reads filling up.
freeWordstring"free"minLength: 1; maxLength: 12The word after the count: free, open, available, vacant.

Dynamic properties

NameTypeDefaultValues and limitsDescription
itemsarray[]minItems: 0; maxItems: 12
items[].namestringminLength: 1; maxLength: 40; Required
items[].freeintegerminimum: 0; maximum: 99999How many are free now. Left out, the tile shows a dash. Never more than total when total is set.
items[].totalinteger0minimum: 0; maximum: 99999The capacity. 0 or left out shows the free count alone, with no bar.
items[].closedbooleanfalse
items[].notestring""maxLength: 40A line under the name: a zone, a floor, a reason.
items[].sincestring""maxLength: 32When this count last changed (ISO 8601 with an offset). Primetime anchors the change's moment to it, so every screen shows it together.
items[].wasintegerminimum: 0; maximum: 99999The free count before that change. With since, a tile that has just gone full flips to FULL, and other counts roll up or down.
footnotestring""maxLength: 120

Example params

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

Example data

{
  "items": [],
  "footnote": ""
}

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.