{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Webhook", "title": "Webhook", "type": "object", "properties": { "id": { "type": "string", "format": "uuid" }, "org_id": { "type": "string", "format": "uuid" }, "site_id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "enabled": { "type": "boolean" }, "topics": { "type": "array", "items": { "type": "string", "enum": [ "device-events", "alarms", "audits", "client-sessions", "device-updowns", "location" ] } }, "type": { "type": "string", "enum": [ "http-post", "splunk", "google-pubsub" ] }, "secret": { "type": "string", "description": "Secret for webhook signature verification" }, "created_time": { "type": "number" }, "modified_time": { "type": "number" } } }