Public warnings and notices profile
How public alerts and emergency warnings are described so they can be shared consistently across systems.
Schemas: 1
Code lists: 8
Standards: schema.org, Common Alerting Protocol (OASIS)
Alert
A public warning or notice issued by a government: an emergency, an evacuation, a boil-water notice, a road closure. Modelled on the Common Alerting Protocol (OASIS CAP 1.2), the international standard behind IPAWS in the US, EU-Alert, and national warning systems worldwide. schema.org has SpecialAnnouncement, but every one of its properties is COVID-shaped - quarantineGuidelines, gettingTestedInfo, travelBans - and it carries no severity, urgency, certainty, or expiry, so it is used only as a discovery projection, never as the model. Alerts are outbound (government to public); service requests are inbound. The two are deliberately separate profiles.
Standards: Common Alerting Protocol (OASIS)
| Field | Type | Definition | Required |
|---|---|---|---|
@id |
string |
This alert's own dereferenceable identifier. | Yes |
@type |
"Alert" |
Always Alert. |
Yes |
alertIdentifier |
string |
CAP identifier. Unique per sender. | Yes |
sender |
Reference |
The GovernmentOrganization issuing. Required: an unattributed warning cannot be trusted or verified. | Yes |
sent |
string |
CAP sent. Full date-time with offset. | Yes |
alertStatus |
string |
CAP status. 'exercise' and 'test' must never be rendered to the public as real; publishing them without this field is dangerous. | Yes |
messageType |
string |
CAP msgType. An update or cancel must carry 'references' so consumers can supersede the earlier message rather than showing both. | Yes |
scope |
string |
termCode from the AlertScope code list. |
Yes |
references |
Reference[] |
Earlier alerts this supersedes, as resolvable references. Where the superseded alert is outside the published window, use referencesIdentifier instead. | No |
referencesIdentifier |
string[] |
CAP identifiers of superseded alerts that are not present in this dataset. Real alert feeds are windowed: an update commonly supersedes an alert that has already expired out of the active feed. Requiring a resolvable reference would force a publisher to downgrade the update to a plain alert, which turns 'this supersedes an earlier warning' into 'this is a new warning' - materially wrong for a warning system. An update or cancel must carry references OR referencesIdentifier. | No |
incident |
string |
CAP incidents: groups alerts about the same event. | No |
note |
string |
CAP note: free-text context that doesn't fit another field. | No |
alertInfo |
object[] |
CAP info blocks. One per language: CAP's alert/info split exists precisely so a warning can be issued in several languages at once, which matters wherever government operates multilingually. | Yes |
area |
object[] |
Where the alert applies. Geometry is referenced, never embedded: a warning polygon is thousands of coordinate pairs and inlining it makes the alert unusable on the constrained channels alerts actually travel over. | No |
resource |
object[] |
Supporting files: maps, audio, translations. | No |
sourceDataset |
string |
The Dataset this record was published as part of. |
No |