{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://velox.dev/schema/events/event.notify.schema.json", "title": "event.notify", "description": "Something the user should see: a completion, a failure, a queue finishing. The client decides between a toast, a tray balloon and a sound; the daemon does not assume a GUI is running.", "x-direction": "server-to-client", "type": "object", "properties": { "params": { "type": "object", "additionalProperties": false, "required": [ "level", "title", "body" ], "properties": { "level": { "type": "string", "enum": [ "info", "success", "warning", "error" ] }, "title": { "type": "string", "maxLength": 128 }, "body": { "type": "string", "maxLength": 1024 }, "taskId": { "type": [ "string", "null" ], "format": "uuid" }, "sound": { "type": [ "string", "null" ], "enum": [ "complete", "queueComplete", "error", null ] } } } } }