{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/tomorrow/refs/heads/main/json-schema/alert-create-request-schema.json", "title": "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": "string", "format": "uri" } } } }, "active": { "type": "boolean", "default": true } }, "required": [ "name", "insightIds" ] }