{
  "type": "object",
  "properties": {
    "active": {
      "description": "List only active alerts (use /alerts/active endpoints instead)",
      "type": "boolean"
    },
    "start": {
      "description": "Start time",
      "type": "string",
      "format": "date-time"
    },
    "end": {
      "description": "End time",
      "type": "string",
      "format": "date-time"
    },
    "status": {
      "description": "Status (actual, exercise, system, test, draft)",
      "type": "array",
      "items": {
        "enum": [
          "actual",
          "exercise",
          "system",
          "test",
          "draft"
        ],
        "type": "string"
      }
    },
    "message_type": {
      "description": "Message type (alert, update, cancel)",
      "type": "array",
      "items": {
        "enum": [
          "alert",
          "update",
          "cancel"
        ],
        "type": "string"
      }
    },
    "event": {
      "description": "Event name",
      "type": "array",
      "items": {
        "pattern": "^[A-Za-z0-9 ]+$",
        "type": "string"
      }
    },
    "code": {
      "description": "Event code",
      "type": "array",
      "items": {
        "pattern": "^\\w{3}$",
        "type": "string"
      }
    },
    "area": {
      "description": "State/territory code or marine area code\nThis parameter is incompatible with the following parameters: point, region, region_type, zone\n",
      "type": "array",
      "items": {
        "oneOf": [
          {
            "enum": [
              "AL",
              "AK",
              "AS",
              "AR",
              "AZ",
              "CA",
              "CO",
              "CT",
              "DE",
              "DC",
              "FL",
              "GA",
              "GU",
              "HI",
              "ID",
              "IL",
              "IN",
              "IA",
              "KS",
              "KY",
              "LA",
              "ME",
              "MD",
              "MA",
              "MI",
              "MN",
              "MS",
              "MO",
              "MT",
              "NE",
              "NV",
              "NH",
              "NJ",
              "NM",
              "NY",
              "NC",
              "ND",
              "OH",
              "OK",
              "OR",
              "PA",
              "PR",
              "RI",
              "SC",
              "SD",
              "TN",
              "TX",
              "UT",
              "VT",
              "VI",
              "VA",
              "WA",
              "WV",
              "WI",
              "WY",
              "MP",
              "PW",
              "FM",
              "MH"
            ],
            "type": "string"
          },
          {
            "enum": [
              "AM",
              "AN",
              "GM",
              "LC",
              "LE",
              "LH",
              "LM",
              "LO",
              "LS",
              "PH",
              "PK",
              "PM",
              "PS",
              "PZ",
              "SL"
            ],
            "type": "string",
            "description": "Marine area code as defined in NWS Directive 10-302:\n* AM: Western North Atlantic Ocean and along U.S. East Coast south of Currituck Beach Light NC following the coastline into Gulf of Mexico to Ocean Reef FL including the Caribbean\n* AN: Western North Atlantic Ocean and along U.S. East Coast from Canadian border south to Currituck Beach Light NC\n* GM: Gulf of Mexico and along the U.S. Gulf Coast from the Mexican border to Ocean Reef FL\n* LC: Lake St. Clair\n* LE: Lake Erie\n* LH: Lake Huron\n* LM: Lake Michigan\n* LO: Lake Ontario\n* LS: Lake Superior\n* PH: Central Pacific Ocean including Hawaiian waters\n* PK: North Pacific Ocean near Alaska and along Alaska coastline including the Bering Sea and the Gulf of Alaska\n* PM: Western Pacific Ocean including Mariana Island waters\n* PS: South Central Pacific Ocean including American Samoa waters\n* PZ: Eastern North Pacific Ocean and along U.S. West Coast from Canadian border to Mexican border\n* SL: St. Lawrence River above St. Regis\n"
          }
        ],
        "description": "State/territory codes and marine area codes"
      }
    },
    "point": {
      "description": "Point (latitude,longitude)\nThis parameter is incompatible with the following parameters: area, region, region_type, zone\n",
      "pattern": "^(-?\\d+(?:\\.\\d+)?),(-?\\d+(?:\\.\\d+)?)$",
      "type": "string"
    },
    "region": {
      "description": "Marine region code\nThis parameter is incompatible with the following parameters: area, point, region_type, zone\n",
      "type": "array",
      "items": {
        "enum": [
          "AL",
          "AT",
          "GL",
          "GM",
          "PA",
          "PI"
        ],
        "type": "string",
        "description": "Marine region code. These are groups of marine areas combined.\n* AL: Alaska waters (PK)\n* AT: Atlantic Ocean (AM, AN)\n* GL: Great Lakes (LC, LE, LH, LM, LO, LS, SL)\n* GM: Gulf of Mexico (GM)\n* PA: Eastern Pacific Ocean and U.S. West Coast (PZ)\n* PI: Central and Western Pacific (PH, PM, PS)\n"
      }
    },
    "region_type": {
      "description": "Region type (land or marine)\nThis parameter is incompatible with the following parameters: area, point, region, zone\n",
      "enum": [
        "land",
        "marine"
      ],
      "type": "string"
    },
    "zone": {
      "description": "Zone ID (forecast or county)\nThis parameter is incompatible with the following parameters: area, point, region, region_type\n",
      "type": "array",
      "items": {
        "pattern": "^(A[KLMNRSZ]|C[AOT]|D[CE]|F[LM]|G[AMU]|I[ADLN]|K[SY]|L[ACEHMOS]|M[ADEHINOPST]|N[CDEHJMVY]|O[HKR]|P[AHKMRSWZ]|S[CDL]|T[NX]|UT|V[AIT]|W[AIVY]|[HR]I)[CZ]\\d{3}$",
        "type": "string",
        "description": "UGC identifier for a NWS forecast zone or county.\nThe first two letters will correspond to either a state code or marine area code (see #/components/schemas/StateTerritoryCode and #/components/schemas/MarineAreaCode for lists of valid letter combinations).\nThe third letter will be Z for public/fire zone or C for county.\n"
      }
    },
    "urgency": {
      "description": "Urgency (immediate, expected, future, past, unknown)",
      "type": "array",
      "items": {
        "enum": [
          "Immediate",
          "Expected",
          "Future",
          "Past",
          "Unknown"
        ],
        "type": "string"
      }
    },
    "severity": {
      "description": "Severity (extreme, severe, moderate, minor, unknown)",
      "type": "array",
      "items": {
        "enum": [
          "Extreme",
          "Severe",
          "Moderate",
          "Minor",
          "Unknown"
        ],
        "type": "string"
      }
    },
    "certainty": {
      "description": "Certainty (observed, likely, possible, unlikely, unknown)",
      "type": "array",
      "items": {
        "enum": [
          "Observed",
          "Likely",
          "Possible",
          "Unlikely",
          "Unknown"
        ],
        "type": "string"
      }
    },
    "limit": {
      "description": "Limit",
      "maximum": 500,
      "minimum": 1,
      "type": "integer",
      "default": 500
    },
    "cursor": {
      "description": "Pagination cursor",
      "type": "string"
    }
  },
  "required": []
}