- Preview
- A fictional flight from Bergen to Copenhagen with a sample boarding countdown and a demo pass sheet.
- Inputs
- Provide flight, origin, destination and date as display labels. Supply originName and destinationName to show airport names. Gate, seat, group, boardingTime, boardingTimeZone, secondsUntilBoarding, status, barcodeSrc and passId are optional.
- Source options
- The host maps the airline’s pass and flight-status feed, formats the boarding time in the departure airport’s time zone and supplies the latest snapshot. Use boardingTimeZone for a display label such as CET.
- Actions
- Show pass opens the supplied image in an in-card sheet. Supply the passenger’s pass image URL as barcodeSrc. The sheet closes when the pass identity or image changes. Use passId to distinguish passes for the same flight.
- Integration requirements
- Status is scheduled, delayed, boarding or closed. Send whole non-negative secondsUntilBoarding for a current scheduled countdown. At zero the widget waits for a reported update. Connected countdowns update when the host passes new values. Omit barcodeSrc when the image is unavailable and use a null snapshot when there is no pass.
{
"passId": "example-pass-204",
"flight": "LUM 204",
"origin": "BGO",
"originName": "Bergen",
"destination": "CPH",
"destinationName": "Copenhagen",
"date": "Fri, Nov 27",
"gate": "C12",
"seat": "14A",
"group": "2",
"boardingTime": "09:20",
"boardingTimeZone": "CET",
"status": "scheduled",
"secondsUntilBoarding": 1320
}