Parking rates card

Current tariff plus the estimated cost of parking from now.

Supplied day, evening and weekend rate windows appear alongside estimated costs for a chosen stay or exit time. Early-bird pricing competes with standard rates, and the daily cap resets at local midnight. The display states the billing increment and entry fee; optional EV energy, idle and session fees appear separately. Tariff periods not supplied remain unknown.

Live card

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

Category: Public information. Tags: Transit and travel, Lobbies and reception.

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.

Card layouts, themes and publishing. Browse the cards.

Data and privacy

This card uses its configured properties and live card data.

Tariff data only; no vehicle, payment or visitor identity is required.

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
currencystring"CAD"pattern: "^[A-Z]{3}$"
currencyDecimalsinteger2minimum: 0; maximum: 3
billingstring"started-block""started-block", "prorated"
incrementMinutesinteger30minimum: 1; maximum: 60
dailyMaxMinornull or integernullanyOf: [{"type":"null"},{"type":"integer","minimum":0,"maximum":1000000}]Parking cap per local calendar day. Entry and EV fees remain outside the cap; null means no cap.
entryFeeMinorinteger0minimum: 0; maximum: 1000000
durationMinutesarray[60,120,240]minItems: 1; maxItems: 6
untilTimestring"17:00"pattern: "^$|^([01][0-9]|2[0-3]):[0-5][0-9]$"An optional local exit time today, or tomorrow when already passed. An empty string omits it. Pattern also accepts empty.
evEnabledbooleanfalse
evPriceMinorPerKwhinteger0minimum: 0; maximum: 1000000
evIdleMinorPerMinuteinteger0minimum: 0; maximum: 1000000
evSessionFeeMinorinteger0minimum: 0; maximum: 1000000
evExampleKwhnumber20minimum: 0; maximum: 1000
evExampleIdleMinutesinteger0minimum: 0; maximum: 2880

Dynamic properties

NameTypeDefaultValues and limitsDescription
titlestring"Parking rates"maxLength: 100
locationstring""maxLength: 100
footnotestring""maxLength: 240
updatedAtstring""maxLength: 100
bandsarray[]maxItems: 24First matching window wins. Equal start/end is a full local day. An overnight window belongs to its start weekday. Uncovered time is unknown, never free.
bands[].idstringminLength: 1; maxLength: 48; Required
bands[].labelstringminLength: 1; maxLength: 60; Required
bands[].daysarrayminItems: 1; maxItems: 7; RequiredISO weekdays of the window start, Monday1 through Sunday7.
bands[].startstringpattern: "^([01][0-9]|2[0-3]):[0-5][0-9]$"; Required
bands[].endstringpattern: "^([01][0-9]|2[0-3]):[0-5][0-9]$"; Required
bands[].hourlyMinorinteger0minimum: 0; maximum: 1000000; Required
bands[].notestring""maxLength: 140
earlyBirdarray[]maxItems: 8Same-day entry windows, start inclusive/end exclusive; a flat parking price when exit is by the supplied time. Lowest qualifying offer competes with the normal tariff.
earlyBird[].idstringminLength: 1; maxLength: 48; Required
earlyBird[].labelstringminLength: 1; maxLength: 60; Required
earlyBird[].daysarrayminItems: 1; maxItems: 7; RequiredISO weekdays of the window start, Monday1 through Sunday7.
earlyBird[].entryStartstringpattern: "^([01][0-9]|2[0-3]):[0-5][0-9]$"; Required
earlyBird[].entryEndstringpattern: "^([01][0-9]|2[0-3]):[0-5][0-9]$"; Required
earlyBird[].exitBystringpattern: "^([01][0-9]|2[0-3]):[0-5][0-9]$"; Required
earlyBird[].priceMinorinteger0minimum: 0; maximum: 1000000; Required

Canvas example

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

{
  "id": "parking-rates",
  "primitive": "card",
  "card": "parking-rates",
  "major": 1,
  "params": {
    "theme": "neomustard"
  },
  "rect": {
    "x": 0,
    "y": 0,
    "width": 1920,
    "height": 1080
  },
  "layer": 0,
  "content_fit": "fill",
  "data": "example-key"
}

Write live data

The canvas example binds its data field to example-key. That value is a data key: a name this canvas item chooses, not the name of the card. Give each canvas item its own key when items should show different data, or share one key when they should show the same data. Keys are scoped to the project, follow the K/V key grammar, and cannot start with feed:.

Create this document before showing the card, then replace it to update the screen without republishing. Writes to a key that live canvas items bind are checked against each bound card’s dynamic properties. Use the same project as the playlist.

Save the document as card-data.json. The CLI reads the document itself, with no wrapper:

{
  "title": "Parking rates",
  "location": {
    "name": "Vancouver",
    "latitude": 49.25,
    "longitude": -123.0
  },
  "footnote": "",
  "updatedAt": "",
  "bands": [],
  "earlyBird": []
}
screenrig card-data put example-key --file card-data.json

Or call the API directly. The API wraps the same document in a document field. An agent token already names its project, so no project header is sent; if you send ScreenRig-Project, it must match the token’s project. Supply your API authorization through the environment; see API authentication.

curl --request PUT "https://api.screenrig.ai/api/card-data/example-key" \
  --header "Authorization: Bearer $SCREENRIG_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"document":{"title":"Parking rates","location":{"name":"Vancouver","latitude":49.25,"longitude":-123.0},"footnote":"","updatedAt":"","bands":[],"earlyBird":[]}}'