-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add a message on the bus for new alerts
- Loading branch information
1 parent
56e9e11
commit ae777bf
Showing
4 changed files
with
100 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,62 @@ | ||
{ "timestamp": "2024-09-02T17:26:32+02:00", "alerts": [ { "identifier": "SRCAP20240902172321T", "sender": "https://vmaapi.sr.se/api/v2", "sent": "2024-09-02T17:23:21+02:00", "status": "Test", "msgType": "Alert", "scope": "Public", "references": null, "incidents": "SRVMA20240902172321T", "info": [ { "language": "sv-SE", "category": "Safety", "event": "Viktigt meddelande till allmänheten (VMA)", "urgency": "Immediate", "severity": "Severe", "certainty": "Observed", "senderName": "Sveriges Radio", "description": "TEST - Detta är sändningsledningen på Sveriges Radio med ett testmeddelande för utskick av VMA-meddelanden. Berört område: Kiruna kommun (Norrbottens län). Ingen åtgärds krävs – Slut på testet.", "web": "https://sverigesradio.se/artikel/vma-vad-ar-det", "area": [ { "areaDesc": "Kiruna kommun (Norrbottens län)", "geocode": [ { "valueName": "Kommun", "value": "2584" } ] } ] }, { "language": "en-US", "category": "Safety", "event": "Important Public Announcement (IPA)", "urgency": "Immediate", "severity": "Severe", "certainty": "Observed", "senderName": "Sveriges Radio", "description": "TEST - This is the broadcast management at Swedish Radio with a test message for sending VMA messages. Area concerned: Kiruna municipality (Norrbottens county). No action required - End of test.", "web": "https://sverigesradio.se/artikel/vma-vad-ar-det", "area": [ { "areaDesc": "Kiruna kommun (Norrbottens län)", "geocode": [ { "valueName": "Kommun", "value": "2584" } ] } ] } ] }, { "identifier": "SRCAP20240902171224T", "sender": "https://vmaapi.sr.se/api/v2", "sent": "2024-09-02T17:12:24+02:00", "status": "Test", "msgType": "Cancel", "scope": "Public", "references": "https://vmaapi.sr.se/api/v2,SRCAP20240902165224T,2024-09-02T16:52:24+02:00", "incidents": "SRVMA20240902165224T", "info": null } ] } | ||
{ | ||
"timestamp": "2024-09-02T17:26:32+02:00", | ||
"alerts": [ | ||
{ | ||
"identifier": "SRCAP20240902172321T", | ||
"sender": "https://vmaapi.sr.se/api/v2", | ||
"sent": "2024-09-02T17:23:21+02:00", | ||
"status": "Test", | ||
"msgType": "Alert", | ||
"scope": "Public", | ||
"references": null, | ||
"incidents": "SRVMA20240902172321T", | ||
"info": [ | ||
{ | ||
"language": "sv-SE", | ||
"category": "Safety", | ||
"event": "Viktigt meddelande till allmänheten (VMA)", | ||
"urgency": "Immediate", | ||
"severity": "Severe", | ||
"certainty": "Observed", | ||
"senderName": "Sveriges Radio", | ||
"description": "TEST - Detta är sändningsledningen på Sveriges Radio med ett testmeddelande för utskick av VMA-meddelanden. Berört område: Kiruna kommun (Norrbottens län). Ingen åtgärds krävs – Slut på testet.", | ||
"web": "https://sverigesradio.se/artikel/vma-vad-ar-det", | ||
"area": [ | ||
{ | ||
"areaDesc": "Kiruna kommun (Norrbottens län)", | ||
"geocode": [{ "valueName": "Kommun", "value": "2584" }] | ||
} | ||
] | ||
}, | ||
{ | ||
"language": "en-US", | ||
"category": "Safety", | ||
"event": "Important Public Announcement (IPA)", | ||
"urgency": "Immediate", | ||
"severity": "Severe", | ||
"certainty": "Observed", | ||
"senderName": "Sveriges Radio", | ||
"description": "TEST - This is the broadcast management at Swedish Radio with a test message for sending VMA messages. Area concerned: Kiruna municipality (Norrbottens county). No action required - End of test.", | ||
"web": "https://sverigesradio.se/artikel/vma-vad-ar-det", | ||
"area": [ | ||
{ | ||
"areaDesc": "Kiruna kommun (Norrbottens län)", | ||
"geocode": [{ "valueName": "Kommun", "value": "2584" }] | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"identifier": "SRCAP20240902171224T", | ||
"sender": "https://vmaapi.sr.se/api/v2", | ||
"sent": "2024-09-02T17:12:24+02:00", | ||
"status": "Test", | ||
"msgType": "Cancel", | ||
"scope": "Public", | ||
"references": "https://vmaapi.sr.se/api/v2,SRCAP20240902165224T,2024-09-02T16:52:24+02:00", | ||
"incidents": "SRVMA20240902165224T", | ||
"info": null | ||
} | ||
] | ||
} |