|
5 | 5 | "required": ["schema_version", "process", "repository"], |
6 | 6 | "additionalProperties": false, |
7 | 7 | "properties": { |
8 | | - "schema_version": {"const": 1}, |
| 8 | + "schema_version": {"enum": [1, 2]}, |
9 | 9 | "process": { |
10 | 10 | "type": "object", "additionalProperties": false, |
11 | 11 | "required": ["source", "version", "revision", "profile"], |
|
17 | 17 | } |
18 | 18 | }, |
19 | 19 | "repository": { |
20 | | - "type": "object", "required": ["name"], "additionalProperties": true, |
| 20 | + "type": "object", "required": ["name"], "additionalProperties": false, |
21 | 21 | "properties": { |
22 | 22 | "name": {"type": "string", "minLength": 1}, |
23 | 23 | "trusted_ci_workflows": {"type": "array", "items": {"type": "string", "minLength": 1}, "uniqueItems": true}, |
|
44 | 44 | "overrides": { |
45 | 45 | "type": "object", "additionalProperties": false, |
46 | 46 | "properties": { |
47 | | - "technology": {"type": "object"}, |
48 | | - "validation": {"type": "object", "properties": {"commands": {"type": "array", "items": {"type": ["string", "object"]}}}}, |
49 | | - "classification": {"type": "object", "properties": {"protected_path_hints": {"type": "array", "items": {"type": "string"}}, "dependency_path_hints": {"type": "array", "items": {"type": "string"}}, "additional_protected_characteristics": {"type": "array", "items": {"type": "string"}}}}, |
50 | | - "ux": {"type": "object", "properties": {"additional_required_when": {"type": "array", "items": {"type": "string"}}}}, |
| 47 | + "extensions": {"type": "array", "items": {"type": "object", "additionalProperties": false, "required": ["namespace", "schema_version", "configuration"], "properties": {"namespace": {"type": "string"}, "schema_version": {"type": "integer"}, "configuration": {"type": "object"}}}}, |
| 48 | + "validation": {"type": "object", "additionalProperties": false, "properties": {"commands": {"type": "array", "items": {"type": ["string", "object"]}}}}, |
| 49 | + "classification": {"type": "object", "additionalProperties": false, "properties": {"protected_path_hints": {"type": "array", "items": {"type": "string"}}, "dependency_path_hints": {"type": "array", "items": {"type": "string"}}, "additional_protected_characteristics": {"type": "array", "items": {"type": "string"}}}}, |
| 50 | + "ux": {"type": "object", "additionalProperties": false, "properties": {"additional_required_when": {"type": "array", "items": {"type": "string"}}}}, |
51 | 51 | "controls": {"type": "object"}, |
52 | 52 | "native_enforcement": {"type": "object"} |
53 | 53 | ,"agent_execution": { |
|
62 | 62 | } |
63 | 63 | } |
64 | 64 | } |
65 | | - } |
| 65 | + }, |
| 66 | + "adoption": {"type": "object", "additionalProperties": false, "properties": {"target_mode": {"enum": ["Foundation", "Assured", "Protected", "Governed"]}, "metrics_enabled": {"type": "boolean"}}}, |
| 67 | + "adapters": {"type": "object", "additionalProperties": false, "properties": { |
| 68 | + "github": {"type": "object", "additionalProperties": false, "properties": {"readiness_status": {"type": "string"}, "protected_branch": {"type": "string"}, "production_environment": {"type": "string"}, "runner_labels": {"type": "array", "items": {"type": "string"}}}}, |
| 69 | + "github_copilot": {"type": "object", "additionalProperties": false, "properties": {"scoped_instructions": {"type": "array", "items": {"type": "object", "additionalProperties": false, "required": ["name", "apply_to", "context_paths"], "properties": {"name": {"type": "string", "pattern": "^[a-z0-9-]+$"}, "apply_to": {"type": "string", "pattern": "^[^\\r\\n\"]+$"}, "context_paths": {"type": "array", "items": {"type": "string"}}}}}}} |
| 70 | + }} |
66 | 71 | } |
67 | 72 | } |
0 commit comments