{ "$id": "https://c-git.crosscode.co.za/joshua/crosscode-platform/raw/branch/main/packages/contracts/schemas/agent-poll-request.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "agentApiVersion": { "type": "number", "const": 1 }, "agentVersion": { "type": "string", "maxLength": 40 }, "mode": { "type": "string", "enum": [ "church", "central" ] }, "runningJobId": { "anyOf": [ { "type": "string", "pattern": "^job_[A-Za-z0-9_-]{8,64}$" }, { "type": "null" } ] } }, "required": [ "agentApiVersion", "agentVersion", "mode", "runningJobId" ] }