{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://velox.dev/schema/methods/schedule.set.schema.json", "title": "schedule.set", "description": "Set or clear a queue's schedule. A null schedule clears it and leaves the queue under manual control. Times are local wall-clock and are re-evaluated on a DST change rather than being resolved to absolute instants at set time.", "x-privileged": true, "x-transports": [ "uds" ], "x-deadlineMs": 5000, "x-errors": [ -32003, -32602 ], "type": "object", "properties": { "params": { "type": "object", "additionalProperties": false, "required": [ "queueId", "schedule" ], "properties": { "queueId": { "type": "string" }, "schedule": { "oneOf": [ { "$ref": "https://velox.dev/schema/types/Schedule.schema.json" }, { "type": "null" } ] } } }, "result": { "type": "object", "additionalProperties": false, "required": [ "queueId", "schedule" ], "properties": { "queueId": { "type": "string" }, "schedule": { "oneOf": [ { "$ref": "https://velox.dev/schema/types/Schedule.schema.json" }, { "type": "null" } ] }, "nextRunAt": { "type": [ "string", "null" ], "format": "date-time" } } } } }