com.mytinygiraffe.wx.alert.v1
A weather alert issued by the US National Weather Service
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | alert.wx.mytinygiraffe.com |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.geometry.properties.typeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.parsed.properties.area.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.parsed.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.parsed.properties.instructionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.parsed.properties.locations.properties.cities.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.parsed.properties.locations.properties.regions.items.properties.areaNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.parsed.properties.locations.properties.regions.items.properties.counties.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.areaDescNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.categoryNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.certaintyNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.codeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.eventNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.geocode.properties.SAME.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.geocode.properties.UGC.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.headlineNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.instructionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.languageNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.messageTypeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.noteNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.references.items.properties.identifierNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.references.items.properties.senderNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.responseNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.scopeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.senderNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.senderNameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.severityNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.statusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.urgencyNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.properties.properties.webNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A weather alert issued by the US National Weather Service",
"key": "any",
"record": {
"properties": {
"geometry": {
"description": "GeoJSON polygon or multipolygon",
"properties": {
"coordinates": {
"description": "A GeoJSON polygon or multipolygon. Please refer to IETF RFC 7946 for information on the GeoJSON format. To comply with the AT Proto Lexicon schema, the coordinates are floating-point numbers encoded as decimal strings.",
"type": "unknown"
},
"type": {
"enum": [
"Polygon",
"MultiPolygon"
],
"type": "string"
}
},
"required": [
"type",
"coordinates"
],
"type": "object"
},
"parsed": {
"description": "Text fields from the original alert, parsed",
"properties": {
"area": {
"description": "The original alert area split into individual locations instead of a single long string",
"items": {
"description": "One place covered by this area",
"type": "string"
},
"type": "array"
},
"description": {
"description": "The original alert description parsed into Markdown, with locations moved to the locations property",
"type": "string"
},
"instruction": {
"instruction": "The original alert instruction with extraneous whitespace removed",
"type": "string"
},
"locations": {
"description": "The regions and counties affected by this alert, extracted from the original alert description",
"properties": {
"cities": {
"description": "A list of cities affected by the alert, extracted from the original alert description",
"items": {
"type": "string"
},
"type": "array"
},
"regions": {
"items": {
"properties": {
"area": {
"description": "A description of a geographical region, such as 'northeastern Iowa'",
"type": "string"
},
"counties": {
"description": "A list of counties or county-equivalents in the region",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"properties": {
"description": "Alert properties, precisely as provided by api.weather.gov",
"properties": {
"affectedZones": {
"description": "An array of API links for zones affected by the alert. This is an API-specific extension field and is not part of the CAP specification.\n",
"items": {
"format": "uri",
"type": "string"
},
"type": "array"
},
"areaDesc": {
"description": "A textual description of the area affected by the alert.",
"type": "string"
},
"category": {
"description": "The code denoting the category of the subject event of the alert message.",
"enum": [
"Met",
"Geo",
"Safety",
"Security",
"Rescue",
"Fire",
"Health",
"Env",
"Transport",
"Infra",
"CBRNE",
"Other"
],
"type": "string"
},
"certainty": {
"enum": [
"Observed",
"Likely",
"Possible",
"Unlikely",
"Unknown"
],
"type": "string"
},
"code": {
"description": "The code denoting the special handling of the alert message.",
"type": "string"
},
"description": {
"description": "The text describing the subject event of the alert message.",
"type": "string"
},
"effective": {
"description": "The effective time of the information of the alert message.",
"format": "datetime",
"type": "string"
},
"ends": {
"description": "The expected end time of the subject event of the alert message.",
"format": "datetime",
"type": "string"
},
"event": {
"description": "The text denoting the type of the subject event of the alert message.",
"type": "string"
},
"eventCode": {
"additionalProperties": {
"items": {},
"type": "array"
},
"description": "System-specific code identifiying the event type of the alert message The keys in this object correspond to eventCode definitions in the NWS CAP specification.\n",
"type": "object"
},
"expires": {
"description": "The expiry time of the information of the alert message.",
"format": "datetime",
"type": "string"
},
"geocode": {
"description": "Lists of codes for NWS public zones and counties affected by the alert.",
"properties": {
"SAME": {
"description": "A list of SAME (Specific Area Message Encoding) codes for affected counties.",
"items": {
"pattern": "^\\d{6}$",
"type": "string"
},
"type": "array"
},
"UGC": {
"description": "A list of NWS public zone or county identifiers.",
"items": {
"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.",
"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"
},
"type": "array"
}
},
"type": "object"
},
"headline": {
"description": "The text headline of the alert message.",
"type": "string"
},
"id": {
"description": "The identifier of the alert message.",
"type": "string"
},
"instruction": {
"description": "The text describing the recommended action to be taken by recipients of the alert message.\n",
"type": "string"
},
"language": {
"description": "The code denoting the language of the info sub-element of the alert message.",
"type": "string"
},
"messageType": {
"enum": [
"Alert",
"Update",
"Cancel",
"Ack",
"Error"
],
"type": "string"
},
"note": {
"description": "The text note accompanying the alert message. Per CAP spec, this should accompany alerts with a status of \"Test\".\n",
"type": "string"
},
"onset": {
"description": "The expected time of the beginning of the subject event of the alert message.",
"format": "datetime",
"type": "string"
},
"parameters": {
"additionalProperties": {
"items": {},
"type": "array"
},
"description": "System-specific additional parameters associated with the alert message.\nThe keys in this object correspond to parameter definitions in the NWS CAP specification.\n",
"type": "object"
},
"references": {
"description": "A list of prior alerts that this alert updates or replaces.",
"items": {
"properties": {
"id": {
"description": "An API link to the prior alert.",
"format": "uri",
"type": "string"
},
"identifier": {
"description": "The identifier of the alert message.",
"type": "string"
},
"sender": {
"description": "The sender of the prior alert.",
"type": "string"
},
"sent": {
"description": "The time the prior alert was sent.",
"format": "datetime",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"response": {
"description": "The code denoting the type of action recommended for the target audience.\nThis corresponds to responseType in the CAP specification.\n",
"enum": [
"Shelter",
"Evacuate",
"Prepare",
"Execute",
"Avoid",
"Monitor",
"Assess",
"AllClear",
"None"
],
"type": "string"
},
"scope": {
"description": "The code denoting the intended distribution of the alert message.",
"enum": [
"Public",
"Restricted",
"Private"
],
"type": "string"
},
"sender": {
"description": "Email address of the NWS webmaster.",
"type": "string"
},
"senderName": {
"description": "The text naming the originator of the alert message.",
"type": "string"
},
"sent": {
"description": "The time of the origination of the alert message.",
"format": "datetime",
"type": "string"
},
"severity": {
"enum": [
"Extreme",
"Severe",
"Moderate",
"Minor",
"Unknown"
],
"type": "string"
},
"status": {
"enum": [
"Actual",
"Exercise",
"System",
"Test",
"Draft"
],
"type": "string"
},
"urgency": {
"enum": [
"Immediate",
"Expected",
"Future",
"Past",
"Unknown"
],
"type": "string"
},
"web": {
"description": "The identifier of the hyperlink associating additional information within the alert message.",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"geometry",
"properties",
"parsed"
],
"type": "object"
},
"type": "record"
}
},
"id": "com.mytinygiraffe.wx.alert.v1",
"lexicon": 1
}