NWSAlertItemType
The structure NWSAlertItemsType represents the information about NWS weather warnings and weather watches.
| Element | Data type | Description |
|---|---|---|
| type | Integer, see Supported NWS Warning or Watch Types | Type of alert. |
| description | String, see also Supported NWS Warning or Watch Types | Description of the alert. |
| severity | Integer | The severity of alerts from 1-100 with 1 being the most severe. |
| message | String | The warning or watch text is a long string of words describing the warning or watch in detail. |
| name | String | Location name. |
| zones | AlertZoneCountyType | List of zones included with the alert. US only. |
| counties | AlertZoneCountyType | List of counties included with the alert. US only. |
| provinces | AlertProvinceType | List of locations - provinces included with the alert. Canada only. |
| validFromTimeLocal | DateTime | Date and time at the location the alert was issued by National Weather Service. The format is either YYYY-MM-DDThh:mm:ss.SSS + the timezone offset, unless the forecast is for a location in the UTC zone, in which the date and time is terminated by a Z. |
| validUntilTimeLocal | DateTime | Alert expiration date and time at the location. The format is either YYYY-MM-DDThh:mm:ss.SSS + the timezone offset, unless the forecast is for a location in the UTC zone, in which the date and time is terminated by a Z. |
One alert may impact multiple counties or zones across multiple states. Typically, a watch will impact significantly more locations than a warning.
Updated 26 days ago