> For the complete documentation index, see [llms.txt](https://standards.spdci.org/standards/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://standards.spdci.org/standards/dci-standards/early-warning-systems/wip-early-warning-systems-and-sp-system-interface/9.-ews/data/data-object/do.ews.02-capalert.md).

# DO.EWS.02 CapAlert

The **CapAlert object** **shall** contain alert metadata and descriptive elements aligned with the Common Alerting Protocol (CAP) v1.2. This ensures semantic interoperability and consistent interpretation of alert messages across systems.

**Normative Reference:**\
OASIS Common Alerting Protocol (CAP) v1.2\
<https://docs.oasis-open.org/emergency/cap/v1.2/CAP-v1.2.html>

<table><thead><tr><th width="132.7066650390625">Attribute</th><th width="188.1612548828125">Type</th><th width="150.1409912109375">Cardinality</th><th>Description</th></tr></thead><tbody><tr><td>identifier</td><td><a data-mention href="/spaces/F9fu0tIY1rJUsF03WdAv/pages/ctz3lHCKfhpCgUtmqSUn">/spaces/F9fu0tIY1rJUsF03WdAv/pages/ctz3lHCKfhpCgUtmqSUn</a></td><td>1...1</td><td>Unique identifier of the alert message</td></tr><tr><td>sender</td><td><a data-mention href="/spaces/F9fu0tIY1rJUsF03WdAv/pages/ctz3lHCKfhpCgUtmqSUn">/spaces/F9fu0tIY1rJUsF03WdAv/pages/ctz3lHCKfhpCgUtmqSUn</a></td><td>1...1</td><td>Identifies the sender of the alert.</td></tr><tr><td>sent</td><td><a data-mention href="/spaces/F9fu0tIY1rJUsF03WdAv/pages/HzeJPTMw9koOgH2lEKt8">/spaces/F9fu0tIY1rJUsF03WdAv/pages/HzeJPTMw9koOgH2lEKt8</a></td><td>1...1</td><td>The time and date of the origination of the alert message</td></tr><tr><td>status</td><td><a data-mention href="/pages/lxuGNiXEgMLZWC8rsuIS">/pages/lxuGNiXEgMLZWC8rsuIS</a></td><td>1...1</td><td>Status of the alert (e.g., <code>Actual</code>, <code>Exercise</code>, <code>Test</code>).</td></tr><tr><td>msg_type</td><td><a data-mention href="/pages/hKj189p6Eh8Ug6Ra1l7Q">/pages/hKj189p6Eh8Ug6Ra1l7Q</a></td><td>1....1</td><td>Type of message (e.g., <code>Alert</code>, <code>Update</code>, <code>Cancel</code>).</td></tr><tr><td>source</td><td><a data-mention href="/spaces/F9fu0tIY1rJUsF03WdAv/pages/ctz3lHCKfhpCgUtmqSUn">/spaces/F9fu0tIY1rJUsF03WdAv/pages/ctz3lHCKfhpCgUtmqSUn</a></td><td>0...1</td><td>The text identifying the source of the alert message</td></tr><tr><td>scope</td><td><a data-mention href="/pages/oLzevw2i51x5IuS4BIZz">/pages/oLzevw2i51x5IuS4BIZz</a></td><td>1...1</td><td>Scope of the alert (e.g., <code>Public</code>, <code>Restricted</code>, <code>Private</code>).</td></tr><tr><td>restriction</td><td><a data-mention href="/spaces/F9fu0tIY1rJUsF03WdAv/pages/ctz3lHCKfhpCgUtmqSUn">/spaces/F9fu0tIY1rJUsF03WdAv/pages/ctz3lHCKfhpCgUtmqSUn</a></td><td>0...1</td><td>The text describing the rule for limiting distribution of the restricted alert message</td></tr><tr><td>addresses</td><td><a data-mention href="/spaces/F9fu0tIY1rJUsF03WdAv/pages/9N8tb1uyZsNZ0hqrofMZ">/spaces/F9fu0tIY1rJUsF03WdAv/pages/9N8tb1uyZsNZ0hqrofMZ</a></td><td>0...1</td><td>The group listing of intended recipients of the alert message. Required when is “Private”, optional when is “Public” or “Restricted”.</td></tr><tr><td>code</td><td><a data-mention href="/spaces/F9fu0tIY1rJUsF03WdAv/pages/ctz3lHCKfhpCgUtmqSUn">/spaces/F9fu0tIY1rJUsF03WdAv/pages/ctz3lHCKfhpCgUtmqSUn</a></td><td>0...1</td><td>The code denoting the special handling of the alert message</td></tr><tr><td>note</td><td><a data-mention href="/spaces/F9fu0tIY1rJUsF03WdAv/pages/ctz3lHCKfhpCgUtmqSUn">/spaces/F9fu0tIY1rJUsF03WdAv/pages/ctz3lHCKfhpCgUtmqSUn</a></td><td>0...1</td><td>The text describing the purpose or significance of the alert message</td></tr><tr><td>references</td><td><a data-mention href="/spaces/F9fu0tIY1rJUsF03WdAv/pages/9N8tb1uyZsNZ0hqrofMZ">/spaces/F9fu0tIY1rJUsF03WdAv/pages/9N8tb1uyZsNZ0hqrofMZ</a></td><td>0...1</td><td>The group listing identifying earlier message(s) referenced by the alert message</td></tr><tr><td>incidents</td><td><a data-mention href="/spaces/F9fu0tIY1rJUsF03WdAv/pages/9N8tb1uyZsNZ0hqrofMZ">/spaces/F9fu0tIY1rJUsF03WdAv/pages/9N8tb1uyZsNZ0hqrofMZ</a></td><td>0...1</td><td>The group listing naming the referent incident(s) of the alert message</td></tr><tr><td>info</td><td><a data-mention href="/pages/WJPIKmIuWuGXqImJYRIt">/pages/WJPIKmIuWuGXqImJYRIt</a></td><td>0...*</td><td>details of the CapAlert</td></tr><tr><td>created_at</td><td><a data-mention href="/spaces/F9fu0tIY1rJUsF03WdAv/pages/HzeJPTMw9koOgH2lEKt8">/spaces/F9fu0tIY1rJUsF03WdAv/pages/HzeJPTMw9koOgH2lEKt8</a></td><td>0...1</td><td>the date of the creation of the alert</td></tr></tbody></table>

```
{
      "identifier": "ALERT-2026-00001",
      "sender": "ews.gov.lb",
      "sent": "2026-06-22T10:00:00Z",
      "status": "Actual",
      "msgType": "Alert",
      "source": "National Early Warning System",
      "scope": "Public",

      "info": [
        {
          "language": "en-US",
          "category": [
            "Met"
          ],
          "event": "Flash Flood",
          "responseType": [
            "Prepare"
          ],
          "urgency": "Immediate",
          "severity": "Severe",
          "certainty": "Likely",

          "headline": "Flash Flood Warning",
          "description": "Heavy rainfall may cause flash flooding.",
          "instruction": "Move to higher ground.",

          "effective": "2026-06-22T10:00:00Z",
          "expires": "2026-06-22T18:00:00Z",

          "area": [
            {
              "areaDesc": "Bekaa Governorate",

              "polygon": [
                "33.85,35.45 33.95,35.45 33.95,35.55 33.85,35.55 33.85,35.45"
              ],

              "geocode": [
                {
                  "valueName": "ADMIN_CODE",
                  "value": "LB-BI"
                }
              ]
            },
            {
              "areaDesc": "Baalbek District",

              "geocode": [
                {
                  "valueName": "SPMIS_DISTRICT_ID",
                  "value": "DISTRICT_101"
                }
              ]
            }
          ]
        }
      ]
    }
```

```json
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://standards.spdci.org/standards/dci-standards/early-warning-systems/wip-early-warning-systems-and-sp-system-interface/9.-ews/data/data-object/do.ews.02-capalert.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
