{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ExecutionSpec v1", "type": "object", "additionalProperties": false, "required": [ "protocolVersion", "runId", "agentRevisionId", "templateVersionId", "packages", "configSchemaDigest", "config", "input", "connections", "limits", "requiredCapabilities", "entrypoint" ], "properties": { "protocolVersion": { "const": "1" }, "runId": { "type": "string", "minLength": 1, "maxLength": 128 }, "agentRevisionId": { "type": "string", "minLength": 1, "maxLength": 128 }, "templateVersionId": { "type": "string", "minLength": 1, "maxLength": 128 }, "packages": { "type": "array", "minItems": 1, "items": { "type": "object", "additionalProperties": false, "required": [ "packageVersionId", "kind", "digest", "artifactRef" ], "properties": { "packageVersionId": { "type": "string", "minLength": 1, "maxLength": 128 }, "kind": { "enum": [ "harness", "plugin", "skill", "template" ] }, "digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" }, "artifactRef": { "type": "string", "minLength": 1 } } } }, "configSchemaDigest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" }, "config": { "type": "object" }, "input": {}, "connections": { "type": "object", "additionalProperties": { "type": "string", "minLength": 1, "maxLength": 128 } }, "limits": { "type": "object", "additionalProperties": false, "required": [ "cpuMillis", "memoryBytes", "timeoutSeconds", "outputBytes" ], "properties": { "cpuMillis": { "type": "integer", "minimum": 1 }, "memoryBytes": { "type": "integer", "minimum": 1 }, "timeoutSeconds": { "type": "integer", "minimum": 1 }, "outputBytes": { "type": "integer", "minimum": 1 } } }, "requiredCapabilities": { "type": "array", "uniqueItems": true, "items": { "type": "string", "minLength": 1 } }, "entrypoint": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } }, "checkpointRef": { "type": "string", "minLength": 1, "maxLength": 128 }, "resumeInput": {} } }