| { |
| "$schema": "https://json-schema.org/draft/2020-12/schema", |
| "$id": "https://huggingface.co/Brazenle/dom-capability-handoff-lab/resolve/main/capability-packs/domcap.schema.json", |
| "title": "DOMCAP1 Capability Container", |
| "type": "object", |
| "additionalProperties": false, |
| "required": ["format", "id", "version", "title", "status", "baseModel", "purpose", "expertBriefing", "toolIds", "sourcePolicy", "probes"], |
| "properties": { |
| "format": { "const": "DOMCAP1" }, |
| "id": { "type": "string", "minLength": 1 }, |
| "version": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$" }, |
| "title": { "type": "string", "minLength": 1 }, |
| "status": { "enum": ["prototype", "validated"] }, |
| "baseModel": { "type": "string", "minLength": 1 }, |
| "purpose": { "type": "string", "minLength": 1 }, |
| "expertBriefing": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } }, |
| "toolIds": { "type": "array", "uniqueItems": true, "items": { "type": "string", "minLength": 1 } }, |
| "sourcePolicy": { "type": "string", "minLength": 1 }, |
| "probes": { |
| "type": "array", |
| "minItems": 1, |
| "items": { |
| "type": "object", |
| "additionalProperties": false, |
| "required": ["id", "request", "successCriterion"], |
| "properties": { |
| "id": { "type": "string", "minLength": 1 }, |
| "request": { "type": "string", "minLength": 1 }, |
| "successCriterion": { "type": "string", "minLength": 1 } |
| } |
| } |
| } |
| } |
| } |
|
|