Supplied nearby places and events surround a featured or nearest-open destination, shown with its photo and walking time. Primetime introduces that destination with a gentle hero entrance over a slow district-signpost background, adding quiet cues at supplied event starts and data updates. Closing-soon and stale states remain restrained. Existing selection, opening-status and event-window rules are retained.
Live card
Category: Public information. Tags: Wayfinding and directories, Lobbies and reception.
Data and privacy
Feed: screenrig.nearby/v1.
Feed documents carry source attribution. The Player supplies the feed to the card.
Properties
For theme, background, accent, colour overrides and position, see Common properties.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Nearby" | maxLength: 40 | |
area | string | "" | maxLength: 40 | The neighbourhood's name, when the feed carries none. |
show | string | "both" | "both", "places", "events" | What to list: places and events, or one of them. |
count | integer | 5 | minimum: 2; maximum: 8 | Most rows in each of the places and events lists. |
windowHours | integer | 12 | minimum: 1; maximum: 48 | Events starting later than this are left out. |
walkMetersPerMin | integer | 80 | minimum: 40; maximum: 120 | Walking pace for a distance without a walk time. |
units | string | "metric" | "metric", "imperial" | metric: m and km. imperial: ft and mi. |
staleMinutes | integer | 30 | minimum: 1; maximum: 1440 | |
hour12 | boolean | false |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
places | array | [] | minItems: 0; maxItems: 60 | Places near the screen. A feed (screenrig.nearby/v1) wins when present; the data store supplies the same rows otherwise. |
places[].id | string | maxLength: 40 | ||
places[].name | string | minLength: 1; maxLength: 50; Required | ||
places[].category | string | maxLength: 30 | For example Coffee, Restaurant, Pharmacy, Park. | |
places[].walkMin | number | minimum: 0; maximum: 240 | ||
places[].distanceM | number | minimum: 0; maximum: 20000 | ||
places[].rating | number | minimum: 0; maximum: 5 | ||
places[].priceLevel | integer | minimum: 1; maximum: 4 | ||
places[].open | boolean | |||
places[].opensAt | string | maxLength: 32 | ISO 8601; the next opening, when closed. | |
places[].closesAt | string | maxLength: 32 | ISO 8601; today's closing time. | |
places[].photo | string | maxLength: 120 | A media reference (media:<id>). | |
places[].featured | boolean | false | ||
events | array | [] | minItems: 0; maxItems: 60 | Events near the screen. A feed wins when present; the data store supplies the same rows otherwise. |
events[].id | string | maxLength: 40 | ||
events[].title | string | minLength: 1; maxLength: 80; Required | ||
events[].venue | string | maxLength: 50 | ||
events[].category | string | maxLength: 30 | ||
events[].start | string | maxLength: 32; Required | ISO 8601. | |
events[].end | string | maxLength: 32 | ISO 8601. | |
events[].walkMin | number | minimum: 0; maximum: 240 | ||
events[].distanceM | number | minimum: 0; maximum: 20000 | ||
events[].free | boolean | |||
events[].photo | string | maxLength: 120 | A media reference (media:<id>). | |
updated | string | "" | maxLength: 32 | When the data was fetched, ISO 8601 (data store only; a feed carries fetchedAt). |
Example params
{
"theme": "neomustard"
}
screenrig card create --type nearby --major 1 --file params.json --context-file context.md
Example data
{
"places": [],
"events": [],
"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.