Skip to content
CognaWorks

Technology explained ·

The Common Alerting Protocol, Explained

The open format in which public alerting systems exchange warnings: what it contains, who uses it, and what it leaves open.

By Founder & Director, CognaWorks Inc.

One warning, many ways to deliver it

A public warning reaches people through whatever is near them: a siren, a radio, a television crawl, a phone, a road sign, a loudspeaker in a building. Each of these was built by a different industry, and for a long time each took its warnings in a format of its own.

The result was that one emergency had to be entered many times, by hand, into systems that could not talk to one another. Every re-entry cost time and risked a difference: a street name on the radio that did not match the one on the sign.

What CAP is

The Common Alerting Protocol, CAP, is the answer the alerting community settled on. It is an open, XML-based format for a single alert, published as a standard by OASIS and also adopted by the International Telecommunication Union as Recommendation X.1303. The current version, 1.2, dates from 2010.

The idea is simple. An alert is written once, in one agreed structure, and every system that delivers warnings can read it. The format does not belong to any vendor or any one kind of hazard. A flood, a chemical release and a missing-child alert are described with the same elements.

What a message contains

A CAP message has four kinds of content.

  • The alert itself. Who sent it, when, and its status. The status matters more than it looks: it says whether the message is an actual alert, an exercise or a test, so that a drill is never mistaken for the real thing.
  • The information. The kind of event, a headline, a description, and an instruction: what people should do. A message can carry this more than once, for example in two languages.
  • The area. Where the alert applies, as a description in words and, where it is available, as a shape on a map.
  • Resources. Anything attached, such as an image or a recorded announcement.

Three ratings

The part of CAP most worth knowing is the way it rates an event. It refuses to collapse everything into one number. Instead it asks three separate questions.

  • Urgency: how soon must people act? Immediate, expected, future, or past.
  • Severity: how bad is the threat? Extreme, severe, moderate, or minor.
  • Certainty: how sure is the sender? Observed, likely, possible, or unlikely.

Keeping these apart is good design. A severe event that is only possible and a moderate event that has been observed are different situations, and a single “level” would hide the difference. Each system that receives the alert can decide from the three what to do: sound a siren, interrupt a broadcast, or post a notice.

Who uses it

CAP is the working format of national alerting systems. In the United States it is the format of the Integrated Public Alert and Warning System, IPAWS, through which authorities reach broadcasters, mobile phones and weather radio. In Canada the National Public Alerting System, known to the public as Alert Ready, uses a Canadian profile of CAP. Many national meteorological services publish their weather warnings in it.

For anyone building technology that issues warnings, this settles a question. A system that describes its alerts in CAP’s terms can exchange them with the public systems around it. A system that invents its own terms has to be translated every time.

What CAP leaves open

CAP is an envelope. It carries a warning faithfully from the sender to every channel. It does not decide whether the event is real, how serious it is, or what the message should say. A vague instruction in a perfectly formed CAP message is still a vague instruction.

Those decisions are the hard part, and they are where a warning succeeds or fails. We set out what the message itself has to contain in the six parts of an emergency warning.

VOX, our crisis communication platform, works on that hard part: confirming an event across sensors, ranking it, and composing the warning by rule. It describes each alert in the same three terms CAP uses, urgency, severity and certainty, so that exchanging alerts with public alerting systems is a matter of format. That exchange is part of the platform’s direction.

Sources