feat: add knowledge-driven joint design studio
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$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
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "kb://schemas/component.schema.json",
|
||||
"title": "Mechanical component knowledge entry",
|
||||
"type": "object",
|
||||
"required": ["schema_version", "id", "version", "kind", "parameters", "ports", "capability_refs", "maturity"],
|
||||
"properties": {
|
||||
"schema_version": {"const": "1.0"},
|
||||
"id": {"type": "string", "pattern": "^component\\."},
|
||||
"version": {"type": "string"},
|
||||
"kind": {"type": "string"},
|
||||
"virtual": {"type": "boolean", "default": false},
|
||||
"roles": {"type": "array", "items": {"type": "string"}, "uniqueItems": true},
|
||||
"parameters": {"type": "object"},
|
||||
"ports": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["id", "type"],
|
||||
"properties": {
|
||||
"id": {"type": "string"},
|
||||
"type": {"type": "string"},
|
||||
"multiplicity": {"type": "string", "enum": ["one", "many"]}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"capability_refs": {"type": "array", "items": {"type": "string"}, "uniqueItems": true},
|
||||
"applicability": {"type": "object"},
|
||||
"maturity": {"type": "string"}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$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
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "kb://schemas/evidence.schema.json",
|
||||
"title": "Knowledge evidence entry",
|
||||
"type": "object",
|
||||
"required": ["schema_version", "id", "version", "evidence_type", "subject_refs", "artifacts", "maturity"],
|
||||
"properties": {
|
||||
"schema_version": {"const": "1.0"},
|
||||
"id": {"type": "string", "pattern": "^evidence\\."},
|
||||
"version": {"type": "string"},
|
||||
"evidence_type": {"type": "string"},
|
||||
"subject_refs": {"type": "array", "items": {"type": "string"}},
|
||||
"artifacts": {"type": "array", "items": {"type": "object"}},
|
||||
"claims": {"type": "array", "items": {"type": "string"}},
|
||||
"maturity": {"type": "string"}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "kb://schemas/mechanism.schema.json",
|
||||
"title": "Mechanism knowledge entry",
|
||||
"type": "object",
|
||||
"required": ["schema_version", "id", "version", "legacy_family", "members", "relations", "external_ports", "boundary_profiles", "constraint_rules", "capability_refs", "maturity"],
|
||||
"properties": {
|
||||
"schema_version": {"const": "1.0"},
|
||||
"id": {"type": "string", "pattern": "^mechanism\\."},
|
||||
"version": {"type": "string"},
|
||||
"legacy_family": {"type": ["string", "null"]},
|
||||
"description": {"type": "string"},
|
||||
"members": {"type": "array", "items": {"type": "object"}},
|
||||
"relations": {"type": "array", "items": {"type": "object"}},
|
||||
"external_ports": {"type": "array", "items": {"type": "object"}},
|
||||
"boundary_profiles": {"type": "array", "items": {"type": "object"}},
|
||||
"constraint_rules": {"type": "array", "items": {"type": "string"}},
|
||||
"capability_refs": {"type": "array", "items": {"type": "string"}, "uniqueItems": true},
|
||||
"source_topology": {"type": "object"},
|
||||
"limitations": {"type": "array", "items": {"type": "string"}},
|
||||
"maturity": {"type": "string"}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "kb://schemas/relation.schema.json",
|
||||
"title": "Mechanical relation knowledge entry",
|
||||
"type": "object",
|
||||
"required": ["schema_version", "id", "version", "relation_type", "endpoint_rules", "constraint_rules", "capability_refs", "maturity"],
|
||||
"properties": {
|
||||
"schema_version": {"const": "1.0"},
|
||||
"id": {"type": "string", "pattern": "^relation\\."},
|
||||
"version": {"type": "string"},
|
||||
"relation_type": {"type": "string"},
|
||||
"endpoint_rules": {"type": "object"},
|
||||
"constraint_rules": {"type": "array", "items": {"type": "string"}},
|
||||
"kinematic_effect": {"type": ["object", "null"]},
|
||||
"capability_refs": {"type": "array", "items": {"type": "string"}, "uniqueItems": true},
|
||||
"maturity": {"type": "string"}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in New Issue
Block a user