|
Namespace |
urn:oasis:names:tc:emergency:cap:1.2 |
Diagram
|
|
Properties
|
content:
|
complex |
minOccurs:
|
0 |
maxOccurs:
|
unbounded |
|
Model |
cap:language{0,1} , cap:category+ , cap:event , cap:responseType* , cap:urgency , cap:severity , cap:certainty , cap:audience{0,1} , cap:eventCode* , cap:effective{0,1} , cap:onset{0,1} , cap:expires{0,1} , cap:senderName{0,1} , cap:headline{0,1} , cap:description{0,1} , cap:instruction{0,1} , cap:web{0,1} , cap:contact{0,1} , cap:parameter* , cap:resource* , cap:area* |
Children |
cap:area, cap:audience, cap:category, cap:certainty, cap:contact, cap:description, cap:effective, cap:event, cap:eventCode, cap:expires, cap:headline, cap:instruction, cap:language, cap:onset, cap:parameter, cap:resource, cap:responseType, cap:senderName, cap:severity, cap:urgency, cap:web |
Instance
|
<cap:info>
<cap:language>{0,1}</cap:language>
<cap:category>{1,unbounded}</cap:category>
<cap:event>{1,1}</cap:event>
<cap:responseType>{0,unbounded}</cap:responseType>
<cap:urgency>{1,1}</cap:urgency>
<cap:severity>{1,1}</cap:severity>
<cap:certainty>{1,1}</cap:certainty>
<cap:audience>{0,1}</cap:audience>
<cap:eventCode>{0,unbounded}</cap:eventCode>
<cap:effective>{0,1}</cap:effective>
<cap:onset>{0,1}</cap:onset>
<cap:expires>{0,1}</cap:expires>
<cap:senderName>{0,1}</cap:senderName>
<cap:headline>{0,1}</cap:headline>
<cap:description>{0,1}</cap:description>
<cap:instruction>{0,1}</cap:instruction>
<cap:web>{0,1}</cap:web>
<cap:contact>{0,1}</cap:contact>
<cap:parameter>{0,unbounded}</cap:parameter>
<cap:resource>{0,unbounded}</cap:resource>
<cap:area>{0,unbounded}</cap:area>
</cap:info> |
|
Source
|
<element name="info" minOccurs="0" maxOccurs="unbounded">
<complexType>
<sequence>
<element name="language" type="xs:language" default="en-US" minOccurs="0"/>
<element name="category" maxOccurs="unbounded">
<simpleType>
<restriction base="xs:string">
<enumeration value="Geo"/>
<enumeration value="Met"/>
<enumeration value="Safety"/>
<enumeration value="Security"/>
<enumeration value="Rescue"/>
<enumeration value="Fire"/>
<enumeration value="Health"/>
<enumeration value="Env"/>
<enumeration value="Transport"/>
<enumeration value="Infra"/>
<enumeration value="CBRNE"/>
<enumeration value="Other"/>
</restriction>
</simpleType>
</element>
<element name="event" type="xs:string"/>
<element name="responseType" minOccurs="0" maxOccurs="unbounded">
<simpleType>
<restriction base="xs:string">
<enumeration value="Shelter"/>
<enumeration value="Evacuate"/>
<enumeration value="Prepare"/>
<enumeration value="Execute"/>
<enumeration value="Avoid"/>
<enumeration value="Monitor"/>
<enumeration value="Assess"/>
<enumeration value="AllClear"/>
<enumeration value="None"/>
</restriction>
</simpleType>
</element>
<element name="urgency">
<simpleType>
<restriction base="xs:string">
<enumeration value="Immediate"/>
<enumeration value="Expected"/>
<enumeration value="Future"/>
<enumeration value="Past"/>
<enumeration value="Unknown"/>
</restriction>
</simpleType>
</element>
<element name="severity">
<simpleType>
<restriction base="xs:string">
<enumeration value="Extreme"/>
<enumeration value="Severe"/>
<enumeration value="Moderate"/>
<enumeration value="Minor"/>
<enumeration value="Unknown"/>
</restriction>
</simpleType>
</element>
<element name="certainty">
<simpleType>
<restriction base="xs:string">
<enumeration value="Observed"/>
<enumeration value="Likely"/>
<enumeration value="Possible"/>
<enumeration value="Unlikely"/>
<enumeration value="Unknown"/>
</restriction>
</simpleType>
</element>
<element name="audience" type="xs:string" minOccurs="0"/>
<element name="eventCode" minOccurs="0" maxOccurs="unbounded">
<complexType>
<sequence>
<element ref="cap:valueName"/>
<element ref="cap:value"/>
</sequence>
</complexType>
</element>
<element name="effective" minOccurs="0">
<simpleType>
<restriction base="xs:dateTime">
<pattern value="\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d[-,+]\d\d:\d\d"/>
</restriction>
</simpleType>
</element>
<element name="onset" minOccurs="0">
<simpleType>
<restriction base="xs:dateTime">
<pattern value="\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d[-,+]\d\d:\d\d"/>
</restriction>
</simpleType>
</element>
<element name="expires" minOccurs="0">
<simpleType>
<restriction base="xs:dateTime">
<pattern value="\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d[-,+]\d\d:\d\d"/>
</restriction>
</simpleType>
</element>
<element name="senderName" type="xs:string" minOccurs="0"/>
<element name="headline" type="xs:string" minOccurs="0"/>
<element name="description" type="xs:string" minOccurs="0"/>
<element name="instruction" type="xs:string" minOccurs="0"/>
<element name="web" type="xs:anyURI" minOccurs="0"/>
<element name="contact" type="xs:string" minOccurs="0"/>
<element name="parameter" minOccurs="0" maxOccurs="unbounded">
<complexType>
<sequence>
<element ref="cap:valueName"/>
<element ref="cap:value"/>
</sequence>
</complexType>
</element>
<element name="resource" minOccurs="0" maxOccurs="unbounded">
<complexType>
<sequence>
<element name="resourceDesc" type="xs:string"/>
<element name="mimeType" type="xs:string"/>
<element name="size" type="xs:integer" minOccurs="0"/>
<element name="uri" type="xs:anyURI" minOccurs="0"/>
<element name="derefUri" type="xs:string" minOccurs="0"/>
<element name="digest" type="xs:string" minOccurs="0"/>
</sequence>
</complexType>
</element>
<element name="area" minOccurs="0" maxOccurs="unbounded">
<complexType>
<sequence>
<element name="areaDesc" type="xs:string"/>
<element name="polygon" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
<element name="circle" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
<element name="geocode" minOccurs="0" maxOccurs="unbounded">
<complexType>
<sequence>
<element ref="cap:valueName"/>
<element ref="cap:value"/>
</sequence>
</complexType>
</element>
<element name="altitude" type="xs:decimal" minOccurs="0"/>
<element name="ceiling" type="xs:decimal" minOccurs="0"/>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</element> |
|
Schema location |
http://docs.oasis-open.org/emergency/cap/v1.2/CAP-v1.2.xsd |
|
|