{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://ag-kit.local/schemas/manifest.schema.json", "title": "AG Kit Component Manifest", "type": "object", "required": [ "schemaVersion", "kitVersion", "contracts", "agents", "skills", "workflows", "rules" ], "properties": { "schemaVersion": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$" }, "kitVersion": { "type": "string", "pattern": "^[0-9]{4}\\.[0-9]+\\.[0-9]+$" }, "contracts": { "type": "object", "additionalProperties": { "type": "string" } }, "support": { "type": "object" }, "runtimes": { "type": "object" }, "agents": { "type": "object", "additionalProperties": { "$ref": "#/$defs/component" } }, "skills": { "type": "object", "additionalProperties": { "$ref": "#/$defs/component" } }, "workflows": { "type": "object", "additionalProperties": { "$ref": "#/$defs/component" } }, "rules": { "type": "object", "additionalProperties": { "$ref": "#/$defs/component" } } }, "$defs": { "component": { "type": "object", "required": [ "path", "version" ], "properties": { "path": { "type": "string" }, "version": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+(?:-[0-9A-Za-z.-]+)?(?:\\+[0-9A-Za-z.-]+)?$" } }, "additionalProperties": true } }, "additionalProperties": true }