28 lines
981 B
JSON
28 lines
981 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "kb://schemas/capability.schema.json",
|
|
"title": "Executable capability binding",
|
|
"type": "object",
|
|
"required": ["schema_version", "id", "version", "kind", "implementation", "supports", "maturity"],
|
|
"properties": {
|
|
"schema_version": {"const": "1.0"},
|
|
"id": {"type": "string", "pattern": "^capability\\."},
|
|
"version": {"type": "string"},
|
|
"kind": {"type": "string"},
|
|
"implementation": {
|
|
"type": "object",
|
|
"required": ["mode", "source_path"],
|
|
"properties": {
|
|
"mode": {"enum": ["legacy_binding", "declarative"]},
|
|
"source_path": {"type": "string"},
|
|
"symbol": {"type": ["string", "null"]}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"supports": {"type": "array", "items": {"type": "string"}},
|
|
"limitations": {"type": "array", "items": {"type": "string"}},
|
|
"maturity": {"type": "string"}
|
|
},
|
|
"additionalProperties": false
|
|
}
|