The model-workspace file is validated by the normative JSON Schema published at its canonical URL:
Parser/exporter adapter identity — distinct from standard and schema versions.
| Property | Type | Required | Description |
|---|
id | string | yes | |
version | string | yes | |
| Property | Type | Required | Description |
|---|
annotationId | string | yes | |
target | MappingEndpoint | yes | |
targetRevision | RevisionPolicy | yes | |
text | string | yes | |
author | string | yes | |
visibility | "private" | "project" | yes | |
| Property | Type | Required | Description |
|---|
profiles | string[] | yes | |
adapters | AdapterRef[] | yes | |
libraryDependencies | object[] | yes | |
Type: "ddd" | "dsm" | "c4" | "context-map" | "state-lens"
| Property | Type | Required | Description |
|---|
projectId | string | yes | |
family | OwnerFamilyId | yes | |
artifactId | string | yes | |
elementId | string | no | |
Type: "suggested" | "accepted" | "rejected"
Type: StandardModelFamilyId | LegacyOwnerModelId
| Property | Type | Required | Description |
|---|
transferId | string | yes | |
artifactId | string | yes | |
legacyOwner | OwnerFamilyId | yes | |
newOwnerFamily | OwnerFamilyId | yes | |
migrationCommandId | string | yes | |
aliasMap | Record<string, string> | yes | |
preservedSourceSha256 | string | yes | |
status | "proposed" | "applied" | "rolled-back" | yes | |
Revision policy of a reference (technical contracts §2.3). pinned carries the revision and optionally the content hash it was pinned against.
Type: object
| Property | Type | Required | Description |
|---|
artifactId | string | yes | |
resourceId | string | yes | |
baselineSha256 | string | yes | Immutable baseline hash the artifact was imported against. |
adapter | AdapterRef | yes | |
externalIdMap | Record<string, string> | yes | external element id → internal element UUID. |
reimportState | "never" | "staged" | "applied" | yes | |
Type: "bpmn" | "seq" | "uml-class" | "er" | "stm" | "dmn" | "use-case" | "activity" | "dfd" | "uml-component" | "deployment" | "archimate" | "sysml" | "cmmn" | "timing" | "petri" | "api-contracts"
| Property | Type | Required | Description |
|---|
viewId | string | yes | |
artifactId | string | yes | |
profileId | string | yes | |
includedElementIds | string[] | yes | |
presentationType | string | yes | |
layoutRevision | number | yes | Bumped whenever saved layout changes; layout is view content. |
settings | Record<string, string> | no | |
| Property | Type | Required | Description |
|---|
resourceId | string | yes | |
sha256 | string | yes | |
mediaType | string | yes | |
byteLength | number | yes | |
originalFilename | string | yes | |
namespaceDetection | object | no | |
accessScope | "project" | "org" | yes | |
blobRef | string | yes | |
See the schemas overview for the versioning policy and how these files are generated and kept in sync.