|
| 1 | +{ |
| 2 | + "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | + "$id": "https://schemas.coding-autopilot.dev/v1.1/sdlc-profile.schema.json", |
| 4 | + "title": "SdlcProfile", |
| 5 | + "type": "object", |
| 6 | + "allOf": [ |
| 7 | + { "$ref": "common.schema.json#/$defs/lifecycleMetadata" }, |
| 8 | + { |
| 9 | + "type": "object", |
| 10 | + "required": ["kind", "profileId", "profileVersion", "phases", "goalBudget"], |
| 11 | + "properties": { |
| 12 | + "kind": { "const": "SdlcProfile" }, |
| 13 | + "profileId": { "type": "string", "minLength": 1, "maxLength": 128 }, |
| 14 | + "profileVersion": { "type": "string", "pattern": "^v1\\.1$" }, |
| 15 | + "goalBudget": { "type": "integer", "minimum": 1 }, |
| 16 | + "phases": { |
| 17 | + "type": "array", |
| 18 | + "minItems": 12, |
| 19 | + "maxItems": 12, |
| 20 | + "items": { |
| 21 | + "type": "object", |
| 22 | + "additionalProperties": false, |
| 23 | + "required": ["id", "name", "batch", "dependencies", "verifier"], |
| 24 | + "properties": { |
| 25 | + "id": { "$ref": "common.schema.json#/$defs/phaseId" }, |
| 26 | + "name": { "type": "string", "minLength": 1, "maxLength": 128 }, |
| 27 | + "batch": { "$ref": "common.schema.json#/$defs/executionBatch" }, |
| 28 | + "dependencies": { |
| 29 | + "type": "array", |
| 30 | + "items": { "$ref": "common.schema.json#/$defs/phaseId" }, |
| 31 | + "uniqueItems": true |
| 32 | + }, |
| 33 | + "verifier": { "type": "string", "minLength": 1, "maxLength": 256 }, |
| 34 | + "requiredArtifacts": { |
| 35 | + "type": "array", |
| 36 | + "items": { "type": "string", "minLength": 1, "maxLength": 256 } |
| 37 | + }, |
| 38 | + "successCriteria": { |
| 39 | + "type": "array", |
| 40 | + "minItems": 1, |
| 41 | + "items": { "type": "string", "minLength": 1, "maxLength": 1000 } |
| 42 | + }, |
| 43 | + "rollbackTo": { "$ref": "common.schema.json#/$defs/phaseId" }, |
| 44 | + "maxAttempts": { "type": "integer", "minimum": 1 } |
| 45 | + } |
| 46 | + } |
| 47 | + }, |
| 48 | + "goalAttempts": { "type": "integer", "minimum": 1 }, |
| 49 | + "iterations": { "type": "integer", "minimum": 1 }, |
| 50 | + "runtimeMinutes": { "type": "integer", "minimum": 1 }, |
| 51 | + "modelCalls": { "type": "integer", "minimum": 1 }, |
| 52 | + "noProgressLimit": { "type": "integer", "minimum": 1 }, |
| 53 | + "repositoryOverrides": { |
| 54 | + "type": "object", |
| 55 | + "additionalProperties": false, |
| 56 | + "properties": { |
| 57 | + "promptFragments": { "type": "object" }, |
| 58 | + "verifierCommands": { "type": "object" }, |
| 59 | + "requiredArtifacts": { "type": "object" }, |
| 60 | + "phaseLimits": { "type": "object" } |
| 61 | + } |
| 62 | + } |
| 63 | + } |
| 64 | + } |
| 65 | + ], |
| 66 | + "unevaluatedProperties": false |
| 67 | +} |
0 commit comments