API Type 1 - danger (GEFAHR)
Depending on the type of danger, you either receive a LawinenstatusId or a FireRiskId. It's ugly, but backwards compatible.
<ElementGroup name="GEFAHR">
<Element>
| tag |
description |
type/value |
unity |
optional |
| <Id> ... </Id> |
primary key |
integer |
-- |
no |
| <mappingKey> ... </mappingKey> |
mapping key |
string |
-- |
yes |
| <Initial> ... </Initial> |
initial |
string |
-- |
yes |
| <Type> ... </Type> |
type |
avalanche | fire |
-- |
no |
| <Name> ... </Name> |
description |
string |
-- |
no |
| <LawinenstatusId> ... </LawinenstatusId> |
status value |
status values |
-- |
no |
| <Lawinenstatus> ... </Lawinenstatus> |
short text |
string |
-- |
no |
| <FireRiskId> ... </FireRiskId> |
status value |
status values |
-- |
no |
| <FireRisk> ... </FireRisk> |
short text |
string |
-- |
no |
</Element>
<Element>
...
</Element>
</ElementGroup>
status values
|
| 0 | no info |
| 1 | low |
| 2 | moderate |
| 3 | considerable |
| 4 | high |
| 5 | very high |
| 6 | fire ban (wildfires only) |