{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://velox.dev/schema/methods/queue.reorder.schema.json", "title": "queue.reorder", "description": "Rewrite a queue's run order. taskIds must be a permutation of the queue's current membership; anything else is -32602 rather than a partial reorder, so a stale drag from an out-of-date view cannot quietly reshuffle the queue.", "x-privileged": true, "x-transports": [ "uds" ], "x-deadlineMs": 5000, "x-errors": [ -32003, -32602 ], "type": "object", "properties": { "params": { "type": "object", "additionalProperties": false, "required": [ "queueId", "taskIds" ], "properties": { "queueId": { "type": "string" }, "taskIds": { "type": "array", "items": { "type": "string", "format": "uuid" } } } }, "result": { "type": "object", "additionalProperties": false, "required": [ "queue" ], "properties": { "queue": { "$ref": "https://velox.dev/schema/types/Queue.schema.json" } } } } }