{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/tomorrow/refs/heads/main/json-structure/alert-create-request-structure.json", "name": "AlertCreateRequest", "description": "Payload to create or update an alert.", "type": "object", "properties": { "name": { "type": "string", "example": "Hail Watch \u2014 Northeast Region" }, "description": { "type": "string" }, "insightIds": { "type": "array", "items": { "type": "string" } }, "locationIds": { "type": "array", "items": { "type": "string" } }, "notifications": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "webhook" ] }, "url": { "type": "uri" } } } }, "active": { "type": "boolean", "default": true } }, "required": [ "name", "insightIds" ] }