Eckari · Schema

weather_us_alerts_output

Company RecordsLegal EntitiesDomain DataWeatherLocationReal-World Data

Properties

Name Type Description
query object The area actually queried, echoed so a batched caller can match answers to inputs.
items array Active alerts in the order the National Weather Service returns them (newest first, by the time the message was sent; Eckari does not re-sort), windowed by limit and offset. An empty array means no al
page object Canonical paging block over the active alert set. total is exact - the whole set is read in one request and page reports a window over it.
View JSON Schema on GitHub

JSON Schema

eckari-com-weather-us-alerts-output-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eckari-com/json-schema/eckari-com-weather-us-alerts-output-schema.json",
  "title": "weather_us_alerts_output",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eckari-com-weather-api-openapi.yml#/components/schemas/weather_us_alerts_output",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "query",
    "items",
    "page"
  ],
  "properties": {
    "query": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "lat",
        "lon",
        "state",
        "detail"
      ],
      "description": "The area actually queried, echoed so a batched caller can match answers to inputs.",
      "properties": {
        "lat": {
          "type": [
            "number",
            "null"
          ],
          "description": "Latitude queried, when a point was supplied."
        },
        "lon": {
          "type": [
            "number",
            "null"
          ],
          "description": "Longitude queried, when a point was supplied."
        },
        "state": {
          "type": [
            "string",
            "null"
          ],
          "description": "Area code queried, when a state was supplied."
        },
        "detail": {
          "type": "string",
          "description": "Detail level applied - compact (default) or full."
        }
      }
    },
    "items": {
      "type": "array",
      "description": "Active alerts in the order the National Weather Service returns them (newest first, by the time the message was sent; Eckari does not re-sort), windowed by limit and offset. An empty array means no alert is active for the queried point or area right now - it is a valid answer, not an error.",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "event",
          "severity",
          "certainty",
          "urgency",
          "status",
          "message_type",
          "headline",
          "area_description",
          "sender_name",
          "sent",
          "effective",
          "onset",
          "expires",
          "ends",
          "affected_zones"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "NWS alert identifier (CAP urn:oid form)."
          },
          "event": {
            "type": [
              "string",
              "null"
            ],
            "description": "Event type such as Extreme Heat Warning."
          },
          "severity": {
            "type": [
              "string",
              "null"
            ],
            "description": "CAP severity - Extreme / Severe / Moderate / Minor / Unknown."
          },
          "certainty": {
            "type": [
              "string",
              "null"
            ],
            "description": "CAP certainty - Observed / Likely / Possible / Unlikely / Unknown."
          },
          "urgency": {
            "type": [
              "string",
              "null"
            ],
            "description": "CAP urgency - Immediate / Expected / Future / Past / Unknown."
          },
          "status": {
            "type": [
              "string",
              "null"
            ],
            "description": "CAP status such as Actual / Exercise / Test."
          },
          "message_type": {
            "type": [
              "string",
              "null"
            ],
            "description": "CAP message type - Alert / Update / Cancel."
          },
          "headline": {
            "type": [
              "string",
              "null"
            ],
            "description": "NWS headline for the alert."
          },
          "area_description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Human-readable list of affected areas."
          },
          "sender_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Issuing office such as NWS Las Vegas NV."
          },
          "sent": {
            "type": [
              "string",
              "null"
            ],
            "description": "Time the message was sent, RFC 3339 UTC (Z). This is the order NWS returns alerts in, newest first."
          },
          "effective": {
            "type": [
              "string",
              "null"
            ],
            "description": "Time the alert becomes effective, RFC 3339 UTC (Z)."
          },
          "onset": {
            "type": [
              "string",
              "null"
            ],
            "description": "Expected start of the hazard, RFC 3339 UTC (Z)."
          },
          "expires": {
            "type": [
              "string",
              "null"
            ],
            "description": "Time the alert message expires, RFC 3339 UTC (Z). After this the alert must be refetched; it does not mean the hazard has ended (see ends)."
          },
          "ends": {
            "type": [
              "string",
              "null"
            ],
            "description": "Expected end of the hazard, RFC 3339 UTC (Z)."
          },
          "affected_zones": {
            "type": "array",
            "description": "NWS zone codes covered by the alert, for example CAZ038. The third character is the zone type - Z public forecast zone, C county, F fire weather - and the code is the last segment of the zone URL NWS publishes, so the URL is reconstructible from it.",
            "items": {
              "type": "string"
            }
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Alert narrative as issued by NWS, truncated to 2000 characters when description_truncated is true. Returned only when detail=full - it is prose written for a human reader and restates the structured fields above."
          },
          "description_truncated": {
            "type": "boolean",
            "description": "True when the narrative was truncated at 2000 characters. Returned only when detail=full, alongside description."
          },
          "instruction": {
            "type": [
              "string",
              "null"
            ],
            "description": "Protective action instruction issued by NWS. Returned only when detail=full."
          }
        }
      }
    },
    "page": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "limit",
        "offset",
        "returned",
        "total",
        "has_more",
        "next_offset"
      ],
      "description": "Canonical paging block over the active alert set. total is exact - the whole set is read in one request and page reports a window over it.",
      "properties": {
        "limit": {
          "type": "integer",
          "description": "Page size applied (the limit input, default 5)."
        },
        "offset": {
          "type": "integer",
          "description": "Zero-based index of the first item returned (the offset input)."
        },
        "returned": {
          "type": "integer",
          "description": "Number of items in this response."
        },
        "total": {
          "type": "integer",
          "description": "Total number of alerts active for the queried point or area at request time."
        },
        "has_more": {
          "type": "boolean",
          "description": "True when active alerts exist beyond this window."
        },
        "next_offset": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Offset to request next; null when has_more is false."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/eckari-com-weather-us-alerts-output"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.