Display centres on the largest supplied quake in the chosen window, with recent events and a magnitude history. Primetime retains its severity colours while adding slow attention outlines and quiet cues tied to quake and update instants. Filtering, sorting, tsunami flags and stale-data behaviour follow the supplied feed or card data.
Live card
Category: Weather. Tags: Alerts and status, Weather and environment.
Data and privacy
Feed: screenrig.earthquakes/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 | "Earthquakes" | maxLength: 40 | |
area | string | "" | maxLength: 60 | Where the list covers, shown beside the title: Within 500 km of Vancouver. A feed's area name fills it when empty. |
windowHours | integer | 24 | minimum: 1; maximum: 168 | How far back the card looks. |
minMagnitude | number | 2.5 | minimum: 0; maximum: 9 | |
count | integer | 10 | minimum: 3; maximum: 20 | Most rows in the list. |
sort | string | "recent" | "recent", "largest" | |
units | string | "km" | "km", "mi" | |
staleMinutes | integer | 90 | minimum: 5; maximum: 1440 | |
hour12 | boolean | false | ||
location | object | additionalProperties: false | Place the distances are measured from. Selects the feed. | |
location.name | string | maxLength: 40; Required | ||
location.latitude | number | minimum: -90; maximum: 90; Required | ||
location.longitude | number | minimum: -180; maximum: 180; Required | ||
radiusKm | number | 500 | minimum: 10; maximum: 20000 | Quakes within this distance of the location. Selects the feed. |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
quakes | array | [] | minItems: 0; maxItems: 200 | Recent quakes. A feed (screenrig.earthquakes/v1) wins when present; the data store supplies the same rows otherwise. |
quakes[].id | string | maxLength: 40 | ||
quakes[].time | string | maxLength: 32; Required | When it happened, ISO 8601. | |
quakes[].magnitude | number | minimum: -2; maximum: 10; Required | ||
quakes[].place | string | minLength: 1; maxLength: 100; Required | 12 km W of Ridgecrest, CA. | |
quakes[].depthKm | number | minimum: 0; maximum: 800 | ||
quakes[].distanceKm | number | minimum: 0; maximum: 20000 | From the screen's place. | |
quakes[].tsunami | boolean | false | ||
updated | string | "" | maxLength: 32 | When the list was fetched, ISO 8601 (data store only; a feed carries fetchedAt). |
Example params
{
"theme": "neomustard",
"location": {
"name": "Vancouver",
"latitude": 49.25,
"longitude": -123.0
}
}
screenrig card create --type earthquakes --major 1 --file params.json --context-file context.md
Example data
{
"quakes": [],
"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.