{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://aps.local/contracts/capability.schema.json", "title": "CapabilitySummary", "description": "按身份过滤后交给客户端与引擎的能力条目。描述七要素见 docs/spec/capability-description.md。", "$ref": "#/$defs/CapabilitySummary", "$defs": { "CapabilitySummary": { "type": "object", "required": ["id", "providerId", "title", "purpose", "effect"], "properties": { "id": { "type": "string", "pattern": "^[a-z0-9]+(\\.[a-z0-9-]+)+$" }, "providerId": { "type": "string" }, "title": { "type": "string" }, "purpose": { "type": "string", "description": "一句话用途,40 字以内" }, "effect": { "type": "string", "enum": ["read", "draft", "write"] }, "inputSchema": { "type": "object" }, "synonyms": { "type": "array", "items": { "type": "string" }, "description": "业务黑话与同义词" } }, "additionalProperties": false } } }