{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://velox.dev/schema/methods/grabber.status.schema.json", "title": "grabber.status", "description": "Poll one crawl. Also delivered as event.grabber.progress; the poll exists so the wizard can be reopened on a job it did not start and still catch up.", "x-privileged": true, "x-transports": [ "uds" ], "x-deadlineMs": 5000, "x-errors": [ -32003, -32602 ], "type": "object", "properties": { "params": { "type": "object", "additionalProperties": false, "required": [ "jobId" ], "properties": { "jobId": { "type": "string" } } }, "result": { "type": "object", "additionalProperties": false, "required": [ "jobId", "state", "crawled", "found", "files" ], "properties": { "jobId": { "type": "string" }, "state": { "type": "string", "enum": [ "crawling", "done", "failed", "cancelled" ] }, "crawled": { "type": "integer", "minimum": 0 }, "found": { "type": "integer", "minimum": 0 }, "files": { "type": "array", "items": { "$ref": "https://velox.dev/schema/types/GrabberFile.schema.json" } }, "error": { "type": [ "string", "null" ] } } } } }