Category: Public information. Tags: Countdowns and timers, Weather and environment.
Previews



Views and forms
Views: canvas, corner, chip. Canvas forms: landscape, portrait, square, strip.
Card views, themes and publishing. Browse the gallery.
Data and privacy
Feed: screenrig.launches/v1.
Feed documents carry source attribution. The Player supplies the feed to the card.
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
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Launches" | maxLength: 40 | |
count | integer | 5 | minimum: 2; maximum: 8 | Launches in the upcoming list. |
staleMinutes | integer | 180 | minimum: 5; maximum: 1440 | |
hour12 | boolean | false |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
launches | array | [] | minItems: 0; maxItems: 30 | Upcoming and recent launches. A feed (screenrig.launches/v1) wins when present; the data store supplies the same rows otherwise. |
launches[].id | string | maxLength: 40 | ||
launches[].name | string | minLength: 1; maxLength: 80; Required | The mission: Starlink Group 12-4. | |
launches[].provider | string | maxLength: 40 | SpaceX, Rocket Lab, ULA. | |
launches[].vehicle | string | maxLength: 40 | Falcon 9 Block 5. | |
launches[].pad | string | maxLength: 60 | SLC-40, Cape Canaveral, FL. | |
launches[].net | string | maxLength: 32; Required | No earlier than, ISO 8601. | |
launches[].precision | string | "second" | "second", "minute", "hour", "day", "month" | How exact net is. A day or month shows a date and no countdown. |
launches[].status | string | maxLength: 20 | go, tbc, tbd, hold, scrubbed, in-flight, success, partial or failure. | |
launches[].windowEnd | string | maxLength: 32 | When the launch window closes, ISO 8601. | |
launches[].orbit | string | maxLength: 40 | ||
launches[].events | array | maxItems: 20 | Mission events by time from liftoff. | |
launches[].events[].t | number | Required | Seconds from liftoff; negative before. | |
launches[].events[].name | string | minLength: 1; maxLength: 40; Required | ||
updated | string | "" | maxLength: 32 | When the list was fetched, ISO 8601 (data store only; a feed carries fetchedAt). |
Canvas example
Add this item to a playlist page’s primitives. Publish the playlist and assign a screen.
{
"id": "launch-tracker",
"primitive": "card",
"card": "launch-tracker",
"major": 1,
"params": {
"theme": "neomustard"
},
"rect": {
"x": 0,
"y": 0,
"width": 1920,
"height": 1080
},
"layer": 0,
"content_fit": "fill",
"data": "launch-tracker-main"
}
Write live data
Create this document before showing the card, then replace it to update the screen without republishing. Use the same project as the playlist. Supply your API authorization through the environment; see API authentication.
curl --request PUT "https://api.screenrig.ai/api/card-data/launch-tracker-main" \
--header "Authorization: Bearer $SCREENRIG_TOKEN" \
--header "ScreenRig-Project: $SCREENRIG_PROJECT" \
--header "Content-Type: application/json" \
--data '{"document":{"launches":[],"updated":""}}'