23 lines
1.1 KiB
JSON
23 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "kb://schemas/composition.schema.json",
|
|
"title": "Mechanism composition knowledge entry",
|
|
"type": "object",
|
|
"required": ["schema_version", "id", "version", "composition_type", "source_port_types", "target_port_types", "connection_relation", "constraint_rules", "capability_refs", "execution_support", "maturity"],
|
|
"properties": {
|
|
"schema_version": {"const": "1.0"},
|
|
"id": {"type": "string", "pattern": "^composition\\."},
|
|
"version": {"type": "string"},
|
|
"composition_type": {"type": "string"},
|
|
"source_port_types": {"type": "array", "items": {"type": "string"}},
|
|
"target_port_types": {"type": "array", "items": {"type": "string"}},
|
|
"connection_relation": {"type": "string"},
|
|
"allowed_role_pairs": {"type": "array", "items": {"type": "object"}},
|
|
"constraint_rules": {"type": "array", "items": {"type": "string"}},
|
|
"capability_refs": {"type": "array", "items": {"type": "string"}},
|
|
"execution_support": {"type": "object"},
|
|
"maturity": {"type": "string"}
|
|
},
|
|
"additionalProperties": false
|
|
}
|