|
| 1 | +{ |
| 2 | + "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | + "$id": "https://schemas.coding-autopilot.dev/v1.1/phase-execution-request.schema.json", |
| 4 | + "title": "PhaseExecutionRequest", |
| 5 | + "type": "object", |
| 6 | + "allOf": [ |
| 7 | + { "$ref": "common.schema.json#/$defs/lifecycleMetadata" }, |
| 8 | + { |
| 9 | + "type": "object", |
| 10 | + "required": ["kind", "profileVersion", "phase", "batch", "goal", "constraints"], |
| 11 | + "properties": { |
| 12 | + "kind": { "const": "PhaseExecutionRequest" }, |
| 13 | + "profileVersion": { "type": "string", "const": "v1.1" }, |
| 14 | + "phase": { "$ref": "common.schema.json#/$defs/phaseId" }, |
| 15 | + "batch": { "$ref": "common.schema.json#/$defs/executionBatch" }, |
| 16 | + "goal": { "type": "string", "minLength": 1, "maxLength": 5000 }, |
| 17 | + "constraints": { |
| 18 | + "type": "array", |
| 19 | + "items": { "type": "string", "minLength": 1, "maxLength": 1000 } |
| 20 | + }, |
| 21 | + "validatedInputs": { "type": "array", "items": { "type": "string" } }, |
| 22 | + "priorEvidence": { "type": "array", "items": { "$ref": "common.schema.json#/$defs/evidence" } }, |
| 23 | + "requiredOutputSchema": { "type": "string", "minLength": 1, "maxLength": 256 }, |
| 24 | + "requiredArtifacts": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 256 } }, |
| 25 | + "successCriteria": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 1000 } }, |
| 26 | + "verifier": { "type": "string", "minLength": 1, "maxLength": 256 }, |
| 27 | + "failureBehavior": { "type": "string", "minLength": 1, "maxLength": 5000 }, |
| 28 | + "rollbackBehavior": { "type": "string", "minLength": 1, "maxLength": 5000 }, |
| 29 | + "memoryCandidateFields": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 256 } }, |
| 30 | + "humanEscalationConditions": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 1000 } } |
| 31 | + } |
| 32 | + } |
| 33 | + ], |
| 34 | + "unevaluatedProperties": false |
| 35 | +} |
0 commit comments