model-capabilities schema (v0.1)
The model-capabilities file is validated by the normative JSON Schema published at its canonical URL:
- $id: https://contextbrew.dev/schemas/model-capabilities/v0.1/schema.json
- Format version:
0.1.0 - Schema dialect: draft-07
- Validate with:
ctx schema model-capabilitiesor any JSON Schema validator (ajv, VS Code, …)
Root object: FamilyCapabilityDescriptor
Section titled “Root object: FamilyCapabilityDescriptor”| Property | Type | Required | Description |
|---|---|---|---|
descriptorVersion | "1" | yes | |
family | StandardModelFamilyId | yes | |
label | string | yes | |
status | FamilyImplementationStatus | yes | |
schemaVersions | object | yes | |
standard | object | no | Compatibility baseline of the external standard (SM-STD-02). Absent for families without a single governing standard (ER, DFD). |
profiles | ProfileDeclaration[] | yes | |
author | object | yes | |
view | object | yes | |
imports | AdapterCapability[] | yes | |
exports | AdapterCapability[] | yes | |
analyses | AnalysisCapability[] | yes | |
requiredLibraries | RequiredLibrary[] | yes | |
sourceTools | SourceToolProfile[] | yes | |
registrations | object | yes | SM-TECH-03 release-descriptor slots; registered: false until D/E tasks. |
requiredCapabilities | CapabilityKey[] | yes | Capability keys a client must understand to open or save this family. |
deploymentFlag | string | no | Deployment flag that may restrict the family, when one is declared. |
entitlement | string | no | Entitlement that may restrict the family, when one is required. |
Definitions
Section titled “Definitions”AdapterCapability
Section titled “AdapterCapability”| Property | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
version | string | yes | |
direction | "import" | "export" | yes | |
format | object | yes | External format identity — e.g. { name: "BPMN", version: "2.0.2" }. |
fidelity | FidelityDimension[] | yes |
AnalysisCapability
Section titled “AnalysisCapability”An evaluator is a separately released, separately authorized capability (AD-09). Its absence never affects native authoring.
| Property | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
version | string | yes | |
evaluatorId | string | yes | |
profileId | string | yes | |
enabled | boolean | yes |
CapabilityKey
Section titled “CapabilityKey”Type: string
FamilyImplementationStatus
Section titled “FamilyImplementationStatus”Implementation status of a family (master spec §3.1 capability levels). reserved — contracts only; nothing is importable, viewable or editable. reference — source retention/inspection only, labelled as such. native — the native profile and all common release gates passed (E task).
Type: "reserved" | "reference" | "native"
FidelityDimension
Section titled “FidelityDimension”Fidelity dimensions an adapter preserves (interchange spec; kept separate).
Type: "semantic" | "identity" | "geometry" | "extension"
ProfileCapabilityLevel
Section titled “ProfileCapabilityLevel”Type: "reference" | "native" | "analysis"
ProfileDeclaration
Section titled “ProfileDeclaration”| Property | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
version | string | yes | |
level | ProfileCapabilityLevel | yes |
RegistrationState
Section titled “RegistrationState”Type: object
RequiredLibrary
Section titled “RequiredLibrary”Third-party dependency the family needs; headless only (SM-STD-05, AD-10).
| Property | Type | Required | Description |
|---|---|---|---|
name | string | yes | |
version | string | yes | |
license | string | yes | |
role | "headless-parser" | "headless-serializer" | "metamodel" | yes |
SourceToolProfile
Section titled “SourceToolProfile”Tested source-tool compatibility profile (SM-STD-01).
| Property | Type | Required | Description |
|---|---|---|---|
tool | string | yes | |
version | string | yes | |
formats | | yes | |
status | "tested" | "untested" | yes |
StandardModelFamilyId
Section titled “StandardModelFamilyId”Type: "bpmn" | "seq" | "uml-class" | "er" | "stm" | "dmn" | "use-case" | "activity" | "dfd" | "uml-component" | "deployment" | "archimate" | "sysml" | "cmmn" | "timing" | "petri" | "api-contracts"
See the schemas overview for the versioning policy and how these files are generated and kept in sync.
