WeatherAPI · JSON Structure

Weatherapi Alert Structure

Alert schema from WeatherAPI.com

Type: object Properties: 13
WeatherForecastHistoryMarineAstronomyGeolocationSportsAlertsPublic APIs

Alert is a JSON Structure definition published by WeatherAPI, describing 13 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

headline msgtype severity urgency areas category certainty event note effective expires desc instruction

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/weatherapi/refs/heads/main/json-structure/weatherapi-alert-structure.json",
  "name": "Alert",
  "description": "Alert schema from WeatherAPI.com",
  "type": "object",
  "properties": {
    "headline": {
      "type": "string",
      "example": "sample value"
    },
    "msgtype": {
      "type": "string",
      "example": "sample value"
    },
    "severity": {
      "type": "string",
      "example": "sample value"
    },
    "urgency": {
      "type": "string",
      "example": "sample value"
    },
    "areas": {
      "type": "string",
      "example": "sample value"
    },
    "category": {
      "type": "string",
      "example": "sample value"
    },
    "certainty": {
      "type": "string",
      "example": "sample value"
    },
    "event": {
      "type": "string",
      "example": "Severe Thunderstorm Warning"
    },
    "note": {
      "type": "string",
      "example": "sample value"
    },
    "effective": {
      "type": "string",
      "example": "2026-05-28T13:00:00Z"
    },
    "expires": {
      "type": "string",
      "example": "2026-05-28T13:00:00Z"
    },
    "desc": {
      "type": "string",
      "example": "Severe thunderstorms with damaging winds expected in the warning area."
    },
    "instruction": {
      "type": "string",
      "example": "sample value"
    }
  }
}