| | 1 | Models go in modules/eden/msg.py |
| | 2 | |
| | 3 | # Profile |
| | 4 | * has many Constraint |
| | 5 | # Template |
| | 6 | * has many Info (one for each language) -- does this need a separate table? |
| | 7 | # Alert |
| | 8 | * has one or more Info (one for each language) |
| | 9 | * references one template |
| | 10 | # Info |
| | 11 | # Constraint |
| | 12 | |
| | 13 | As seen in the [http://docs.oasis-open.org/emergency/cap/v1.2/CAP-v1.2-os.pdf CAP 1.2 Specification] these are the acceptable values that may be populated in the <info> child-elements indicated in parens. |
| | 14 | (The S3CAPModel already contains data-structures with the following information) |
| | 15 | |
| | 16 | CAP alert Status Codes (status) |
| | 17 | * '''Actual''': Actionable by all targeted recipients |
| | 18 | * '''Exercise''': Actionable only by designated exercise participants; exercise identifier SHOULD appear in <note> |
| | 19 | * '''System''': For messages that support alert network internal functions |
| | 20 | * '''Test''': Technical testing only, all recipients disregard |
| | 21 | * '''Draft''': preliminary template or draft, not actionable in its current form |
| | 22 | |
| | 23 | CAP info Event Categories (category) |
| | 24 | * '''Geo''': Geophysical (inc. landslide) |
| | 25 | * '''Met''': Meteorological (inc. flood) |
| | 26 | * '''Safety''': General emergency and public safety |
| | 27 | * '''Security''': Law enforcement, military, homeland and local/private security |
| | 28 | * '''Rescue''': Rescue and recovery |
| | 29 | * '''Fire''': Fire suppression and rescue |
| | 30 | * '''Health''': Medical and public health |
| | 31 | * '''Env''': Pollution and other environmental |
| | 32 | * '''Transport''': Public and private transportation |
| | 33 | * '''Infra''': Utility, telecommunication, other non-transport infrastructure |
| | 34 | * '''CBRNE''': Chemical, Biological, Radiological, Nuclear or High-Yield Explosive threat or attack |
| | 35 | * '''Other''': Other events |
| | 36 | |
| | 37 | CAP info Response Type (responseType) |
| | 38 | * '''Shelter''': Take shelter in place or per <instruction> |
| | 39 | * '''Evacuate''': Relocate as instructed in the <instruction> |
| | 40 | * '''Prepare''': Make preparations per the <instruction> |
| | 41 | * '''Execute''': Execute a pre-planned activity identified in <instruction> |
| | 42 | * '''Avoid''': Avoid the subject event as per the <instruction> |
| | 43 | * '''Monitor''': Attend to information sources as described in <instruction> |
| | 44 | * '''Assess''': Evaluate the information in this message. (This value SHOULD NOT be used in public warning applications.) |
| | 45 | * '''AllClear''': The subject event no longer poses a threat or concern and any follow on action is described in <instruction> |
| | 46 | * '''None''': No action recommended |