Back to index

Business Capability Map

Diagram kind
Editorial Diagram Product — Capability MapLow importanceMedium importanceHigh importanceSCOPECapabilities required to author, govern, and distribute trustworthy editorial diagrams.PRODUCT STRATEGYChoose valuable diagram problems and direct the product portfolio.DIAGRAM AUTHORINGTurn communication intent into explicit, editable diagram meaning.QUALITY & TRUSTKeep semantics, layout, output, and managed changes reviewable.DISTRIBUTION & ADOPTIONPublish useful formats and help authors choose the right view.CAPABILITYHIGHOpportunity DiscoveryIdentify distinct communication jobsworth supporting.CAPABILITYHIGHPortfolio DirectionSequence profile investments arounddemonstrated value.CAPABILITYHIGHSemantic ModelingCapture diagram meaning asstable, typed source data.CAPABILITYHIGHLayout GovernanceKeep intentional geometryseparate andmachine-checkable.CAPABILITYMEDIUMAssisted AuthoringHelp authors proposechanges against explicitcontracts.CAPABILITYHIGHContract ValidationReject incomplete orcontradictory diagraminputs.CAPABILITYHIGHVisual VerificationDetect unintended renderedchanges before release.CAPABILITYHIGHManaged Change ControlRound-trip known edits withstale-state and deletionguards.CAPABILITYMEDIUMMulti-format PublishingProduce consistenteditable and renderedartifacts.CAPABILITYMEDIUMCatalog DiscoveryHelp authors select adiagram type for their job.CAPABILITYLOWEcosystem IntegrationExchange governed diagramdata with adjacent tools.

Examples: capability-map-diagram-product

Take it with you

Copy and paste, or save a file and hand it over. For a machine with no network, one “Everything” file is enough.

Everything

diagram-capability-map-everything.md

Everything in this panel, including the contents behind each URL, in one Markdown file

Prompt

2.5 KB
I need a "Business Capability Map" diagram. It is published as text and vectors, so taking the published one and editing it beats redrawing it.
## What this diagram says
Lays out what an organization or product is able to do, as capabilities inside domains inside a scope.
## When it fits
- Showing strategic importance per capability, to decide where to invest.
- Looking at the whole by capability rather than by org chart.
## When it does not
- Going deeper than two levels: this profile holds exactly two.
- When how a capability is delivered is the subject — use Architecture.
## What this kind validates
- Validates the scope, domains, capabilities, strategic importance, and the two-level containment.
- `placeCapability` addresses membership of a domain.
## What it does not
- Does not check that the capabilities listed are all of them.
## What you can take
- https://design-vault.pages.dev/designs/diagram-capability-map/samples/capability-map-diagram-product/capability-map.drawio
- https://design-vault.pages.dev/designs/diagram-capability-map/samples/capability-map-diagram-product/capability-map.png
- https://design-vault.pages.dev/designs/diagram-capability-map/samples/capability-map-diagram-product/capability-map.svg
- https://design-vault.pages.dev/designs/diagram-capability-map/samples/capability-map-diagram-product/diagram-spec.json
- https://design-vault.pages.dev/designs/diagram-capability-map/samples/capability-map-diagram-product/layout.json
- https://design-vault.pages.dev/ai/assets/diagram-capability-map.json
## What you can edit
The published `.drawio` is uncompressed XML. Open it in draw.io and edit it, or diff it as text.

Operations this kind accepts through the engine: moveNode, placeCapability

> Mermaid: a Capability means the Domain that contains it
## Writing a new one
A `diagram-spec.json` can be written against the schema below.

- https://design-vault.pages.dev/schemas/diagram-spec.schema.json
- https://design-vault.pages.dev/schemas/layout.schema.json
## What cannot be done here
**A spec you write cannot be validated here, and `layout.json` cannot be computed here.** The generator that does both is not published; what is published is the artifacts, the inputs and the schemas. Place the geometry yourself, or hand the spec to someone who has the engine.
## Licence
The diagram and its inputs are CC BY 4.0 — carry the credit when you use them.

> "Business Capability Map" by zawa, licensed under CC BY 4.0. https://creativecommons.org/licenses/by/4.0/

The schemas are MIT.

Files

capability-map-diagram-product/capability-map.drawio

36.0 KB

/designs/diagram-capability-map/samples/capability-map-diagram-product/capability-map.drawio — Large, so it goes as a file (copy is for 32 KB and under)

Show contents
<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="app.diagrams.net" compressed="false">
<diagram id="diagram-product-capability-map" name="Business Capability Map" syncFormat="1.0" diagramKind="capability-map" capabilityScope="Capabilities required to author, govern, and distribute trustworthy editorial diagrams." inputHash="66a58f7bd968f71e2e1961ad78073049573a02167f388421726183e1397c7b14" generatorVersion="0.8.2">
<mxGraphModel dx="1200" dy="820" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1600" pageHeight="980" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="diagram-title" value="Editorial Diagram Product — Capability Map" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=23;fontStyle=1;fontColor=#292E35;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="32" y="22" width="720" height="42" as="geometry"/></mxCell>
<mxCell id="legend-0-mark" value="" style="ellipse;html=1;aspect=fixed;fillColor=#FFFFFF;strokeColor=#69717D;strokeWidth=1.6;" vertex="1" parent="1"><mxGeometry x="32" y="85" width="10" height="10" as="geometry"/></mxCell>
<mxCell id="legend-0-text" value="Low importance" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=13;fontStyle=0;fontColor=#292E35;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="49" y="77" width="170" height="28" as="geometry"/></mxCell>
<mxCell id="legend-1-mark" value="" style="ellipse;html=1;aspect=fixed;fillColor=#FFFFFF;strokeColor=#C58A21;strokeWidth=1.6;" vertex="1" parent="1"><mxGeometry x="254" y="85" width="10" height="10" as="geometry"/></mxCell>
<mxCell id="legend-1-text" value="Medium importance" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=13;fontStyle=0;fontColor=#292E35;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="271" y="77" width="170" height="28" as="geometry"/></mxCell>
<mxCell id="legend-2-mark" value="" style="ellipse;html=1;aspect=fixed;fillColor=#FFFFFF;strokeColor=#B44343;strokeWidth=1.6;" vertex="1" parent="1"><mxGeometry x="476" y="85" width="10" height="10" as="geometry"/></mxCell>
<mxCell id="legend-2-text" value="High importance" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=13;fontStyle=0;fontColor=#292E35;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="493" y="77" width="170" height="28" as="geometry"/></mxCell>
<mxCell id="capability-scope" value="SCOPE  Capabilities required to author, govern, and distribute trustworthy editorial diagrams." style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=13;fontStyle=1;fontColor=#292E35;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="1" syncRole="capability-scope"><mxGeometry x="32" y="116" width="1536" height="30" as="geometry"/></mxCell>
<object id="product-strategy" label="" componentId="product-strategy" capabilityItemType="boundary" capabilityBoundaryType="domain" variant="external" description="Choose valuable diagram problems and direct the product portfolio."><mxCell style="rounded=1;arcSize=6;whiteSpace=wrap;html=1;fillColor=none;strokeColor=#69717D;strokeWidth=1.4;dashed=1;dashPattern=7 5;connectable=0;" vertex="1" parent="1"><mxGeometry x="32" y="180" width="752" height="360" as="geometry"/></mxCell></object>
<mxCell id="product-strategy--title" value="PRODUCT STRATEGY" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=12;fontStyle=1;fontColor=#69717D;spacing=0;align=left;verticalAlign=middle;labelBackgroundColor=#FFFFFF;" vertex="1" parent="product-strategy" syncRole="boundary-title" ownerId="product-strategy"><mxGeometry x="9" y="4" width="131.8" height="22" as="geometry"/></mxCell>
<mxCell id="product-strategy--description" value="Choose valuable diagram problems and direct the product portfolio." style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=10;fontStyle=0;fontColor=#58616C;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="product-strategy" syncRole="boundary-description" ownerId="product-strategy"><mxGeometry x="14" y="31" width="724" height="22" as="geometry"/></mxCell>
<object id="diagram-authoring" label="" componentId="diagram-authoring" capabilityItemType="boundary" capabilityBoundaryType="domain" variant="external" description="Turn communication intent into explicit, editable diagram meaning."><mxCell style="rounded=1;arcSize=6;whiteSpace=wrap;html=1;fillColor=none;strokeColor=#69717D;strokeWidth=1.4;dashed=1;dashPattern=7 5;connectable=0;" vertex="1" parent="1"><mxGeometry x="816" y="180" width="752" height="360" as="geometry"/></mxCell></object>
<mxCell id="diagram-authoring--title" value="DIAGRAM AUTHORING" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=12;fontStyle=1;fontColor=#69717D;spacing=0;align=left;verticalAlign=middle;labelBackgroundColor=#FFFFFF;" vertex="1" parent="diagram-authoring" syncRole="boundary-title" ownerId="diagram-authoring"><mxGeometry x="9" y="4" width="139.24" height="22" as="geometry"/></mxCell>
<mxCell id="diagram-authoring--description" value="Turn communication intent into explicit, editable diagram meaning." style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=10;fontStyle=0;fontColor=#58616C;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="diagram-authoring" syncRole="boundary-description" ownerId="diagram-authoring"><mxGeometry x="14" y="31" width="724" height="22" as="geometry"/></mxCell>
<object id="quality-trust" label="" componentId="quality-trust" capabilityItemType="boundary" capabilityBoundaryType="domain" variant="external" description="Keep semantics, layout, output, and managed changes reviewable."><mxCell style="rounded=1;arcSize=6;whiteSpace=wrap;html=1;fillColor=none;strokeColor=#69717D;strokeWidth=1.4;dashed=1;dashPattern=7 5;connectable=0;" vertex="1" parent="1"><mxGeometry x="32" y="570" width="752" height="360" as="geometry"/></mxCell></object>
<mxCell id="quality-trust--title" value="QUALITY &amp; TRUST" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=12;fontStyle=1;fontColor=#69717D;spacing=0;align=left;verticalAlign=middle;labelBackgroundColor=#FFFFFF;" vertex="1" parent="quality-trust" syncRole="boundary-title" ownerId="quality-trust"><mxGeometry x="9" y="4" width="121.12" height="22" as="geometry"/></mxCell>
<mxCell id="quality-trust--description" value="Keep semantics, layout, output, and managed changes reviewable." style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=10;fontStyle=0;fontColor=#58616C;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="quality-trust" syncRole="boundary-description" ownerId="quality-trust"><mxGeometry x="14" y="31" width="724" height="22" as="geometry"/></mxCell>
<object id="distribution-adoption" label="" componentId="distribution-adoption" capabilityItemType="boundary" capabilityBoundaryType="domain" variant="external" description="Publish useful formats and help authors choose the right view."><mxCell style="rounded=1;arcSize=6;whiteSpace=wrap;html=1;fillColor=none;strokeColor=#69717D;strokeWidth=1.4;dashed=1;dashPattern=7 5;connectable=0;" vertex="1" parent="1"><mxGeometry x="816" y="570" width="752" height="360" as="geometry"/></mxCell></object>
<mxCell id="distribution-adoption--title" value="DISTRIBUTION &amp; ADOPTION" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=12;fontStyle=1;fontColor=#69717D;spacing=0;align=left;verticalAlign=middle;labelBackgroundColor=#FFFFFF;" vertex="1" parent="distribution-adoption" syncRole="boundary-title" ownerId="distribution-adoption"><mxGeometry x="9" y="4" width="180.64" height="22" as="geometry"/></mxCell>
<mxCell id="distribution-adoption--description" value="Publish useful formats and help authors choose the right view." style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=10;fontStyle=0;fontColor=#58616C;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="distribution-adoption" syncRole="boundary-description" ownerId="distribution-adoption"><mxGeometry x="14" y="31" width="724" height="22" as="geometry"/></mxCell>
<object id="opportunity-discovery" label="" componentId="opportunity-discovery" capabilityItemType="capability" variant="critical" domainId="product-strategy" strategicImportance="high" description="Identify distinct communication jobs worth supporting."><mxCell style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#FFF0F0;strokeColor=#B44343;strokeWidth=1.6;" vertex="1" parent="1"><mxGeometry x="72" y="270" width="320" height="125" as="geometry"/></mxCell></object>
<mxCell id="opportunity-discovery--accent" value="" style="rounded=1;arcSize=4;fillColor=#B44343;strokeColor=none;" vertex="1" parent="opportunity-discovery" syncRole="capability-accent"><mxGeometry x="0" y="0" width="6" height="125" as="geometry"/></mxCell>
<mxCell id="opportunity-discovery--kind" value="CAPABILITY" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#B44343;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="opportunity-discovery" syncRole="capability-kind" ownerId="opportunity-discovery"><mxGeometry x="17" y="13" width="221" height="22" as="geometry"/></mxCell>
<mxCell id="opportunity-discovery--title" value="Opportunity Discovery" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=15;fontStyle=1;fontColor=#292E35;spacing=0;align=left;verticalAlign=middle;whiteSpace=wrap;" vertex="1" parent="opportunity-discovery" syncRole="title" ownerId="opportunity-discovery"><mxGeometry x="17" y="38" width="286" height="28" as="geometry"/></mxCell>
<mxCell id="opportunity-discovery--importance" value="HIGH" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#B44343;spacing=0;align=center;verticalAlign=middle;rounded=1;arcSize=10;strokeColor=#B44343;strokeWidth=1;fillColor=#FFFFFF;" vertex="1" parent="opportunity-discovery" syncRole="capability-importance" ownerId="opportunity-discovery"><mxGeometry x="244" y="14" width="64" height="22" as="geometry"/></mxCell>
<mxCell id="opportunity-discovery--description" value="Identify distinct communication jobs worth supporting." style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=12;fontStyle=0;fontColor=#58616C;spacing=0;align=left;verticalAlign=top;whiteSpace=wrap;" vertex="1" parent="opportunity-discovery" syncRole="description" ownerId="opportunity-discovery"><mxGeometry x="17" y="70" width="286" height="46" as="geometry"/></mxCell>
<object id="portfolio-direction" label="" componentId="portfolio-direction" capabilityItemType="capability" variant="critical" domainId="product-strategy" strategicImportance="high" description="Sequence profile investments around demonstrated value."><mxCell style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#FFF0F0;strokeColor=#B44343;strokeWidth=1.6;" vertex="1" parent="1"><mxGeometry x="424" y="270" width="320" height="125" as="geometry"/></mxCell></object>
<mxCell id="portfolio-direction--accent" value="" style="rounded=1;arcSize=4;fillColor=#B44343;strokeColor=none;" vertex="1" parent="portfolio-direction" syncRole="capability-accent"><mxGeometry x="0" y="0" width="6" height="125" as="geometry"/></mxCell>
<mxCell id="portfolio-direction--kind" value="CAPABILITY" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#B44343;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="portfolio-direction" syncRole="capability-kind" ownerId="portfolio-direction"><mxGeometry x="17" y="13" width="221" height="22" as="geometry"/></mxCell>
<mxCell id="portfolio-direction--title" value="Portfolio Direction" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=15;fontStyle=1;fontColor=#292E35;spacing=0;align=left;verticalAlign=middle;whiteSpace=wrap;" vertex="1" parent="portfolio-direction" syncRole="title" ownerId="portfolio-direction"><mxGeometry x="17" y="38" width="286" height="28" as="geometry"/></mxCell>
<mxCell id="portfolio-direction--importance" value="HIGH" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#B44343;spacing=0;align=center;verticalAlign=middle;rounded=1;arcSize=10;strokeColor=#B44343;strokeWidth=1;fillColor=#FFFFFF;" vertex="1" parent="portfolio-direction" syncRole="capability-importance" ownerId="portfolio-direction"><mxGeometry x="244" y="14" width="64" height="22" as="geometry"/></mxCell>
<mxCell id="portfolio-direction--description" value="Sequence profile investments around demonstrated value." style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=12;fontStyle=0;fontColor=#58616C;spacing=0;align=left;verticalAlign=top;whiteSpace=wrap;" vertex="1" parent="portfolio-direction" syncRole="description" ownerId="portfolio-direction"><mxGeometry x="17" y="70" width="286" height="46" as="geometry"/></mxCell>
<object id="semantic-modeling" label="" componentId="semantic-modeling" capabilityItemType="capability" variant="critical" domainId="diagram-authoring" strategicImportance="high" description="Capture diagram meaning as stable, typed source data."><mxCell style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#FFF0F0;strokeColor=#B44343;strokeWidth=1.6;" vertex="1" parent="1"><mxGeometry x="848" y="270" width="216" height="125" as="geometry"/></mxCell></object>
<mxCell id="semantic-modeling--accent" value="" style="rounded=1;arcSize=4;fillColor=#B44343;strokeColor=none;" vertex="1" parent="semantic-modeling" syncRole="capability-accent"><mxGeometry x="0" y="0" width="6" height="125" as="geometry"/></mxCell>
<mxCell id="semantic-modeling--kind" value="CAPABILITY" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#B44343;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="semantic-modeling" syncRole="capability-kind" ownerId="semantic-modeling"><mxGeometry x="17" y="13" width="117" height="22" as="geometry"/></mxCell>
<mxCell id="semantic-modeling--title" value="Semantic Modeling" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=15;fontStyle=1;fontColor=#292E35;spacing=0;align=left;verticalAlign=middle;whiteSpace=wrap;" vertex="1" parent="semantic-modeling" syncRole="title" ownerId="semantic-modeling"><mxGeometry x="17" y="38" width="182" height="28" as="geometry"/></mxCell>
<mxCell id="semantic-modeling--importance" value="HIGH" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#B44343;spacing=0;align=center;verticalAlign=middle;rounded=1;arcSize=10;strokeColor=#B44343;strokeWidth=1;fillColor=#FFFFFF;" vertex="1" parent="semantic-modeling" syncRole="capability-importance" ownerId="semantic-modeling"><mxGeometry x="140" y="14" width="64" height="22" as="geometry"/></mxCell>
<mxCell id="semantic-modeling--description" value="Capture diagram meaning as stable, typed source data." style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=12;fontStyle=0;fontColor=#58616C;spacing=0;align=left;verticalAlign=top;whiteSpace=wrap;" vertex="1" parent="semantic-modeling" syncRole="description" ownerId="semantic-modeling"><mxGeometry x="17" y="70" width="182" height="46" as="geometry"/></mxCell>
<object id="layout-governance" label="" componentId="layout-governance" capabilityItemType="capability" variant="critical" domainId="diagram-authoring" strategicImportance="high" description="Keep intentional geometry separate and machine-checkable."><mxCell style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#FFF0F0;strokeColor=#B44343;strokeWidth=1.6;" vertex="1" parent="1"><mxGeometry x="1084" y="270" width="216" height="125" as="geometry"/></mxCell></object>
<mxCell id="layout-governance--accent" value="" style="rounded=1;arcSize=4;fillColor=#B44343;strokeColor=none;" vertex="1" parent="layout-governance" syncRole="capability-accent"><mxGeometry x="0" y="0" width="6" height="125" as="geometry"/></mxCell>
<mxCell id="layout-governance--kind" value="CAPABILITY" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#B44343;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="layout-governance" syncRole="capability-kind" ownerId="layout-governance"><mxGeometry x="17" y="13" width="117" height="22" as="geometry"/></mxCell>
<mxCell id="layout-governance--title" value="Layout Governance" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=15;fontStyle=1;fontColor=#292E35;spacing=0;align=left;verticalAlign=middle;whiteSpace=wrap;" vertex="1" parent="layout-governance" syncRole="title" ownerId="layout-governance"><mxGeometry x="17" y="38" width="182" height="28" as="geometry"/></mxCell>
<mxCell id="layout-governance--importance" value="HIGH" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#B44343;spacing=0;align=center;verticalAlign=middle;rounded=1;arcSize=10;strokeColor=#B44343;strokeWidth=1;fillColor=#FFFFFF;" vertex="1" parent="layout-governance" syncRole="capability-importance" ownerId="layout-governance"><mxGeometry x="140" y="14" width="64" height="22" as="geometry"/></mxCell>
<mxCell id="layout-governance--description" value="Keep intentional geometry separate and machine-checkable." style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=12;fontStyle=0;fontColor=#58616C;spacing=0;align=left;verticalAlign=top;whiteSpace=wrap;" vertex="1" parent="layout-governance" syncRole="description" ownerId="layout-governance"><mxGeometry x="17" y="70" width="182" height="46" as="geometry"/></mxCell>
<object id="assisted-authoring" label="" componentId="assisted-authoring" capabilityItemType="capability" variant="warning" domainId="diagram-authoring" strategicImportance="medium" description="Help authors propose changes against explicit contracts."><mxCell style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#FFF8E8;strokeColor=#C58A21;strokeWidth=1.6;" vertex="1" parent="1"><mxGeometry x="1320" y="270" width="216" height="125" as="geometry"/></mxCell></object>
<mxCell id="assisted-authoring--accent" value="" style="rounded=1;arcSize=4;fillColor=#C58A21;strokeColor=none;" vertex="1" parent="assisted-authoring" syncRole="capability-accent"><mxGeometry x="0" y="0" width="6" height="125" as="geometry"/></mxCell>
<mxCell id="assisted-authoring--kind" value="CAPABILITY" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#C58A21;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="assisted-authoring" syncRole="capability-kind" ownerId="assisted-authoring"><mxGeometry x="17" y="13" width="117" height="22" as="geometry"/></mxCell>
<mxCell id="assisted-authoring--title" value="Assisted Authoring" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=15;fontStyle=1;fontColor=#292E35;spacing=0;align=left;verticalAlign=middle;whiteSpace=wrap;" vertex="1" parent="assisted-authoring" syncRole="title" ownerId="assisted-authoring"><mxGeometry x="17" y="38" width="182" height="28" as="geometry"/></mxCell>
<mxCell id="assisted-authoring--importance" value="MEDIUM" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#C58A21;spacing=0;align=center;verticalAlign=middle;rounded=1;arcSize=10;strokeColor=#C58A21;strokeWidth=1;fillColor=#FFFFFF;" vertex="1" parent="assisted-authoring" syncRole="capability-importance" ownerId="assisted-authoring"><mxGeometry x="140" y="14" width="64" height="22" as="geometry"/></mxCell>
<mxCell id="assisted-authoring--description" value="Help authors propose changes against explicit contracts." style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=12;fontStyle=0;fontColor=#58616C;spacing=0;align=left;verticalAlign=top;whiteSpace=wrap;" vertex="1" parent="assisted-authoring" syncRole="description" ownerId="assisted-authoring"><mxGeometry x="17" y="70" width="182" height="46" as="geometry"/></mxCell>
<object id="contract-validation" label="" componentId="contract-validation" capabilityItemType="capability" variant="critical" domainId="quality-trust" strategicImportance="high" description="Reject incomplete or contradictory diagram inputs."><mxCell style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#FFF0F0;strokeColor=#B44343;strokeWidth=1.6;" vertex="1" parent="1"><mxGeometry x="64" y="660" width="216" height="125" as="geometry"/></mxCell></object>
<mxCell id="contract-validation--accent" value="" style="rounded=1;arcSize=4;fillColor=#B44343;strokeColor=none;" vertex="1" parent="contract-validation" syncRole="capability-accent"><mxGeometry x="0" y="0" width="6" height="125" as="geometry"/></mxCell>
<mxCell id="contract-validation--kind" value="CAPABILITY" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#B44343;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="contract-validation" syncRole="capability-kind" ownerId="contract-validation"><mxGeometry x="17" y="13" width="117" height="22" as="geometry"/></mxCell>
<mxCell id="contract-validation--title" value="Contract Validation" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=15;fontStyle=1;fontColor=#292E35;spacing=0;align=left;verticalAlign=middle;whiteSpace=wrap;" vertex="1" parent="contract-validation" syncRole="title" ownerId="contract-validation"><mxGeometry x="17" y="38" width="182" height="28" as="geometry"/></mxCell>
<mxCell id="contract-validation--importance" value="HIGH" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#B44343;spacing=0;align=center;verticalAlign=middle;rounded=1;arcSize=10;strokeColor=#B44343;strokeWidth=1;fillColor=#FFFFFF;" vertex="1" parent="contract-validation" syncRole="capability-importance" ownerId="contract-validation"><mxGeometry x="140" y="14" width="64" height="22" as="geometry"/></mxCell>
<mxCell id="contract-validation--description" value="Reject incomplete or contradictory diagram inputs." style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=12;fontStyle=0;fontColor=#58616C;spacing=0;align=left;verticalAlign=top;whiteSpace=wrap;" vertex="1" parent="contract-validation" syncRole="description" ownerId="contract-validation"><mxGeometry x="17" y="70" width="182" height="46" as="geometry"/></mxCell>
<object id="visual-verification" label="" componentId="visual-verification" capabilityItemType="capability" variant="critical" domainId="quality-trust" strategicImportance="high" description="Detect unintended rendered changes before release."><mxCell style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#FFF0F0;strokeColor=#B44343;strokeWidth=1.6;" vertex="1" parent="1"><mxGeometry x="300" y="660" width="216" height="125" as="geometry"/></mxCell></object>
<mxCell id="visual-verification--accent" value="" style="rounded=1;arcSize=4;fillColor=#B44343;strokeColor=none;" vertex="1" parent="visual-verification" syncRole="capability-accent"><mxGeometry x="0" y="0" width="6" height="125" as="geometry"/></mxCell>
<mxCell id="visual-verification--kind" value="CAPABILITY" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#B44343;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="visual-verification" syncRole="capability-kind" ownerId="visual-verification"><mxGeometry x="17" y="13" width="117" height="22" as="geometry"/></mxCell>
<mxCell id="visual-verification--title" value="Visual Verification" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=15;fontStyle=1;fontColor=#292E35;spacing=0;align=left;verticalAlign=middle;whiteSpace=wrap;" vertex="1" parent="visual-verification" syncRole="title" ownerId="visual-verification"><mxGeometry x="17" y="38" width="182" height="28" as="geometry"/></mxCell>
<mxCell id="visual-verification--importance" value="HIGH" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#B44343;spacing=0;align=center;verticalAlign=middle;rounded=1;arcSize=10;strokeColor=#B44343;strokeWidth=1;fillColor=#FFFFFF;" vertex="1" parent="visual-verification" syncRole="capability-importance" ownerId="visual-verification"><mxGeometry x="140" y="14" width="64" height="22" as="geometry"/></mxCell>
<mxCell id="visual-verification--description" value="Detect unintended rendered changes before release." style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=12;fontStyle=0;fontColor=#58616C;spacing=0;align=left;verticalAlign=top;whiteSpace=wrap;" vertex="1" parent="visual-verification" syncRole="description" ownerId="visual-verification"><mxGeometry x="17" y="70" width="182" height="46" as="geometry"/></mxCell>
<object id="managed-change-control" label="" componentId="managed-change-control" capabilityItemType="capability" variant="critical" domainId="quality-trust" strategicImportance="high" description="Round-trip known edits with stale-state and deletion guards."><mxCell style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#FFF0F0;strokeColor=#B44343;strokeWidth=1.6;" vertex="1" parent="1"><mxGeometry x="536" y="660" width="216" height="125" as="geometry"/></mxCell></object>
<mxCell id="managed-change-control--accent" value="" style="rounded=1;arcSize=4;fillColor=#B44343;strokeColor=none;" vertex="1" parent="managed-change-control" syncRole="capability-accent"><mxGeometry x="0" y="0" width="6" height="125" as="geometry"/></mxCell>
<mxCell id="managed-change-control--kind" value="CAPABILITY" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#B44343;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="managed-change-control" syncRole="capability-kind" ownerId="managed-change-control"><mxGeometry x="17" y="13" width="117" height="22" as="geometry"/></mxCell>
<mxCell id="managed-change-control--title" value="Managed Change Control" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=15;fontStyle=1;fontColor=#292E35;spacing=0;align=left;verticalAlign=middle;whiteSpace=wrap;" vertex="1" parent="managed-change-control" syncRole="title" ownerId="managed-change-control"><mxGeometry x="17" y="38" width="182" height="28" as="geometry"/></mxCell>
<mxCell id="managed-change-control--importance" value="HIGH" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#B44343;spacing=0;align=center;verticalAlign=middle;rounded=1;arcSize=10;strokeColor=#B44343;strokeWidth=1;fillColor=#FFFFFF;" vertex="1" parent="managed-change-control" syncRole="capability-importance" ownerId="managed-change-control"><mxGeometry x="140" y="14" width="64" height="22" as="geometry"/></mxCell>
<mxCell id="managed-change-control--description" value="Round-trip known edits with stale-state and deletion guards." style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=12;fontStyle=0;fontColor=#58616C;spacing=0;align=left;verticalAlign=top;whiteSpace=wrap;" vertex="1" parent="managed-change-control" syncRole="description" ownerId="managed-change-control"><mxGeometry x="17" y="70" width="182" height="46" as="geometry"/></mxCell>
<object id="multi-format-publishing" label="" componentId="multi-format-publishing" capabilityItemType="capability" variant="warning" domainId="distribution-adoption" strategicImportance="medium" description="Produce consistent editable and rendered artifacts."><mxCell style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#FFF8E8;strokeColor=#C58A21;strokeWidth=1.6;" vertex="1" parent="1"><mxGeometry x="848" y="660" width="216" height="125" as="geometry"/></mxCell></object>
<mxCell id="multi-format-publishing--accent" value="" style="rounded=1;arcSize=4;fillColor=#C58A21;strokeColor=none;" vertex="1" parent="multi-format-publishing" syncRole="capability-accent"><mxGeometry x="0" y="0" width="6" height="125" as="geometry"/></mxCell>
<mxCell id="multi-format-publishing--kind" value="CAPABILITY" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#C58A21;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="multi-format-publishing" syncRole="capability-kind" ownerId="multi-format-publishing"><mxGeometry x="17" y="13" width="117" height="22" as="geometry"/></mxCell>
<mxCell id="multi-format-publishing--title" value="Multi-format Publishing" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=15;fontStyle=1;fontColor=#292E35;spacing=0;align=left;verticalAlign=middle;whiteSpace=wrap;" vertex="1" parent="multi-format-publishing" syncRole="title" ownerId="multi-format-publishing"><mxGeometry x="17" y="38" width="182" height="28" as="geometry"/></mxCell>
<mxCell id="multi-format-publishing--importance" value="MEDIUM" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#C58A21;spacing=0;align=center;verticalAlign=middle;rounded=1;arcSize=10;strokeColor=#C58A21;strokeWidth=1;fillColor=#FFFFFF;" vertex="1" parent="multi-format-publishing" syncRole="capability-importance" ownerId="multi-format-publishing"><mxGeometry x="140" y="14" width="64" height="22" as="geometry"/></mxCell>
<mxCell id="multi-format-publishing--description" value="Produce consistent editable and rendered artifacts." style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=12;fontStyle=0;fontColor=#58616C;spacing=0;align=left;verticalAlign=top;whiteSpace=wrap;" vertex="1" parent="multi-format-publishing" syncRole="description" ownerId="multi-format-publishing"><mxGeometry x="17" y="70" width="182" height="46" as="geometry"/></mxCell>
<object id="catalog-discovery" label="" componentId="catalog-discovery" capabilityItemType="capability" variant="warning" domainId="distribution-adoption" strategicImportance="medium" description="Help authors select a diagram type for their job."><mxCell style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#FFF8E8;strokeColor=#C58A21;strokeWidth=1.6;" vertex="1" parent="1"><mxGeometry x="1084" y="660" width="216" height="125" as="geometry"/></mxCell></object>
<mxCell id="catalog-discovery--accent" value="" style="rounded=1;arcSize=4;fillColor=#C58A21;strokeColor=none;" vertex="1" parent="catalog-discovery" syncRole="capability-accent"><mxGeometry x="0" y="0" width="6" height="125" as="geometry"/></mxCell>
<mxCell id="catalog-discovery--kind" value="CAPABILITY" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#C58A21;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="catalog-discovery" syncRole="capability-kind" ownerId="catalog-discovery"><mxGeometry x="17" y="13" width="117" height="22" as="geometry"/></mxCell>
<mxCell id="catalog-discovery--title" value="Catalog Discovery" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=15;fontStyle=1;fontColor=#292E35;spacing=0;align=left;verticalAlign=middle;whiteSpace=wrap;" vertex="1" parent="catalog-discovery" syncRole="title" ownerId="catalog-discovery"><mxGeometry x="17" y="38" width="182" height="28" as="geometry"/></mxCell>
<mxCell id="catalog-discovery--importance" value="MEDIUM" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#C58A21;spacing=0;align=center;verticalAlign=middle;rounded=1;arcSize=10;strokeColor=#C58A21;strokeWidth=1;fillColor=#FFFFFF;" vertex="1" parent="catalog-discovery" syncRole="capability-importance" ownerId="catalog-discovery"><mxGeometry x="140" y="14" width="64" height="22" as="geometry"/></mxCell>
<mxCell id="catalog-discovery--description" value="Help authors select a diagram type for their job." style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=12;fontStyle=0;fontColor=#58616C;spacing=0;align=left;verticalAlign=top;whiteSpace=wrap;" vertex="1" parent="catalog-discovery" syncRole="description" ownerId="catalog-discovery"><mxGeometry x="17" y="70" width="182" height="46" as="geometry"/></mxCell>
<object id="ecosystem-integration" label="" componentId="ecosystem-integration" capabilityItemType="capability" variant="external" domainId="distribution-adoption" strategicImportance="low" description="Exchange governed diagram data with adjacent tools."><mxCell style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#69717D;strokeWidth=1.6;" vertex="1" parent="1"><mxGeometry x="1320" y="660" width="216" height="125" as="geometry"/></mxCell></object>
<mxCell id="ecosystem-integration--accent" value="" style="rounded=1;arcSize=4;fillColor=#69717D;strokeColor=none;" vertex="1" parent="ecosystem-integration" syncRole="capability-accent"><mxGeometry x="0" y="0" width="6" height="125" as="geometry"/></mxCell>
<mxCell id="ecosystem-integration--kind" value="CAPABILITY" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#69717D;spacing=0;align=left;verticalAlign=middle;" vertex="1" parent="ecosystem-integration" syncRole="capability-kind" ownerId="ecosystem-integration"><mxGeometry x="17" y="13" width="117" height="22" as="geometry"/></mxCell>
<mxCell id="ecosystem-integration--title" value="Ecosystem Integration" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=15;fontStyle=1;fontColor=#292E35;spacing=0;align=left;verticalAlign=middle;whiteSpace=wrap;" vertex="1" parent="ecosystem-integration" syncRole="title" ownerId="ecosystem-integration"><mxGeometry x="17" y="38" width="182" height="28" as="geometry"/></mxCell>
<mxCell id="ecosystem-integration--importance" value="LOW" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=9;fontStyle=1;fontColor=#69717D;spacing=0;align=center;verticalAlign=middle;rounded=1;arcSize=10;strokeColor=#69717D;strokeWidth=1;fillColor=#FFFFFF;" vertex="1" parent="ecosystem-integration" syncRole="capability-importance" ownerId="ecosystem-integration"><mxGeometry x="140" y="14" width="64" height="22" as="geometry"/></mxCell>
<mxCell id="ecosystem-integration--description" value="Exchange governed diagram data with adjacent tools." style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;rounded=0;fontFamily=Meiryo UI;fontSize=12;fontStyle=0;fontColor=#58616C;spacing=0;align=left;verticalAlign=top;whiteSpace=wrap;" vertex="1" parent="ecosystem-integration" syncRole="description" ownerId="ecosystem-integration"><mxGeometry x="17" y="70" width="182" height="46" as="geometry"/></mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

capability-map-diagram-product/diagram-spec.json

4.8 KB

/designs/diagram-capability-map/samples/capability-map-diagram-product/diagram-spec.json

Show contents
{
    "$schema": "../../../../schemas/diagram-spec.schema.json",
    "schemaVersion": "2.0",
    "diagramKind": "capability-map",
    "id": "diagram-product-capability-map",
    "title": "Editorial Diagram Product — Capability Map",
    "description": "An illustrative, scoped view of the business capabilities required to author, govern, and distribute trustworthy diagrams.",
    "language": "en",
    "scope": "Capabilities required to author, govern, and distribute trustworthy editorial diagrams.",
    "domains": [
        {
            "id": "product-strategy",
            "type": "domain",
            "title": "PRODUCT STRATEGY",
            "description": "Choose valuable diagram problems and direct the product portfolio."
        },
        {
            "id": "diagram-authoring",
            "type": "domain",
            "title": "DIAGRAM AUTHORING",
            "description": "Turn communication intent into explicit, editable diagram meaning."
        },
        {
            "id": "quality-trust",
            "type": "domain",
            "title": "QUALITY & TRUST",
            "description": "Keep semantics, layout, output, and managed changes reviewable."
        },
        {
            "id": "distribution-adoption",
            "type": "domain",
            "title": "DISTRIBUTION & ADOPTION",
            "description": "Publish useful formats and help authors choose the right view."
        }
    ],
    "nodes": [
        {
            "id": "opportunity-discovery",
            "type": "capability",
            "title": "Opportunity Discovery",
            "description": "Identify distinct communication jobs worth supporting.",
            "domainId": "product-strategy",
            "strategicImportance": "high"
        },
        {
            "id": "portfolio-direction",
            "type": "capability",
            "title": "Portfolio Direction",
            "description": "Sequence profile investments around demonstrated value.",
            "domainId": "product-strategy",
            "strategicImportance": "high"
        },
        {
            "id": "semantic-modeling",
            "type": "capability",
            "title": "Semantic Modeling",
            "description": "Capture diagram meaning as stable, typed source data.",
            "domainId": "diagram-authoring",
            "strategicImportance": "high"
        },
        {
            "id": "layout-governance",
            "type": "capability",
            "title": "Layout Governance",
            "description": "Keep intentional geometry separate and machine-checkable.",
            "domainId": "diagram-authoring",
            "strategicImportance": "high"
        },
        {
            "id": "assisted-authoring",
            "type": "capability",
            "title": "Assisted Authoring",
            "description": "Help authors propose changes against explicit contracts.",
            "domainId": "diagram-authoring",
            "strategicImportance": "medium"
        },
        {
            "id": "contract-validation",
            "type": "capability",
            "title": "Contract Validation",
            "description": "Reject incomplete or contradictory diagram inputs.",
            "domainId": "quality-trust",
            "strategicImportance": "high"
        },
        {
            "id": "visual-verification",
            "type": "capability",
            "title": "Visual Verification",
            "description": "Detect unintended rendered changes before release.",
            "domainId": "quality-trust",
            "strategicImportance": "high"
        },
        {
            "id": "managed-change-control",
            "type": "capability",
            "title": "Managed Change Control",
            "description": "Round-trip known edits with stale-state and deletion guards.",
            "domainId": "quality-trust",
            "strategicImportance": "high"
        },
        {
            "id": "multi-format-publishing",
            "type": "capability",
            "title": "Multi-format Publishing",
            "description": "Produce consistent editable and rendered artifacts.",
            "domainId": "distribution-adoption",
            "strategicImportance": "medium"
        },
        {
            "id": "catalog-discovery",
            "type": "capability",
            "title": "Catalog Discovery",
            "description": "Help authors select a diagram type for their job.",
            "domainId": "distribution-adoption",
            "strategicImportance": "medium"
        },
        {
            "id": "ecosystem-integration",
            "type": "capability",
            "title": "Ecosystem Integration",
            "description": "Exchange governed diagram data with adjacent tools.",
            "domainId": "distribution-adoption",
            "strategicImportance": "low"
        }
    ],
    "edges": []
}

capability-map-diagram-product/layout.json

2.3 KB

/designs/diagram-capability-map/samples/capability-map-diagram-product/layout.json

Show contents
{
    "$schema": "../../../../schemas/layout.schema.json",
    "schemaVersion": "1.0",
    "canvas": {
        "width": 1600,
        "height": 980
    },
    "boundaries": {
        "product-strategy": {
            "x": 32,
            "y": 180,
            "width": 752,
            "height": 360
        },
        "diagram-authoring": {
            "x": 816,
            "y": 180,
            "width": 752,
            "height": 360
        },
        "quality-trust": {
            "x": 32,
            "y": 570,
            "width": 752,
            "height": 360
        },
        "distribution-adoption": {
            "x": 816,
            "y": 570,
            "width": 752,
            "height": 360
        }
    },
    "nodes": {
        "opportunity-discovery": {
            "x": 72,
            "y": 270,
            "width": 320,
            "height": 125
        },
        "portfolio-direction": {
            "x": 424,
            "y": 270,
            "width": 320,
            "height": 125
        },
        "semantic-modeling": {
            "x": 848,
            "y": 270,
            "width": 216,
            "height": 125
        },
        "layout-governance": {
            "x": 1084,
            "y": 270,
            "width": 216,
            "height": 125
        },
        "assisted-authoring": {
            "x": 1320,
            "y": 270,
            "width": 216,
            "height": 125
        },
        "contract-validation": {
            "x": 64,
            "y": 660,
            "width": 216,
            "height": 125
        },
        "visual-verification": {
            "x": 300,
            "y": 660,
            "width": 216,
            "height": 125
        },
        "managed-change-control": {
            "x": 536,
            "y": 660,
            "width": 216,
            "height": 125
        },
        "multi-format-publishing": {
            "x": 848,
            "y": 660,
            "width": 216,
            "height": 125
        },
        "catalog-discovery": {
            "x": 1084,
            "y": 660,
            "width": 216,
            "height": 125
        },
        "ecosystem-integration": {
            "x": 1320,
            "y": 660,
            "width": 216,
            "height": 125
        }
    },
    "edges": {}
}

diagram-spec.schema.json

45.7 KB

/schemas/diagram-spec.schema.json — Large, so it goes as a file (copy is for 32 KB and under)

Show contents
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://example.local/schemas/diagram-spec.schema.json",
  "title": "Editorial diagram semantic specification",
  "oneOf": [
    { "$ref": "#/$defs/legacyArchitectureSpec" },
    { "$ref": "#/$defs/architectureSpec" },
    { "$ref": "#/$defs/c4SystemContextSpec" },
    { "$ref": "#/$defs/c4ContainerSpec" },
    { "$ref": "#/$defs/dataFlowSpec" },
    { "$ref": "#/$defs/deploymentSpec" },
    { "$ref": "#/$defs/bpmnLiteSpec" },
    { "$ref": "#/$defs/sequenceSpec" },
    { "$ref": "#/$defs/erSpec" },
    { "$ref": "#/$defs/stateSpec" },
    { "$ref": "#/$defs/decisionTreeSpec" },
    { "$ref": "#/$defs/timelineSpec" },
    { "$ref": "#/$defs/roadmapSpec" },
    { "$ref": "#/$defs/capabilityMapSpec" },
    { "$ref": "#/$defs/executiveViewSpec" }
  ],
  "$defs": {
    "baseSpec": {
      "type": "object",
      "required": ["schemaVersion", "id", "title", "language", "legend", "nodes", "edges"],
      "properties": {
        "$schema": { "type": "string" },
        "schemaVersion": { "type": "string" },
        "id": { "$ref": "#/$defs/id" },
        "title": { "type": "string", "minLength": 1, "maxLength": 120 },
        "description": { "type": "string", "maxLength": 500 },
        "language": { "enum": ["en", "ja", "mixed"] },
        "metadata": { "$ref": "#/$defs/metadata" },
        "legend": {
          "type": "array",
          "maxItems": 8,
          "items": {
            "type": "object",
            "additionalProperties": false,
            "required": ["label", "variant"],
            "properties": {
              "label": { "type": "string", "minLength": 1, "maxLength": 60 },
              "variant": { "$ref": "#/$defs/variant" }
            }
          }
        },
        "boundaries": {
          "type": "array",
          "maxItems": 50,
          "items": { "$ref": "#/$defs/boundary" }
        },
        "nodes": {
          "type": "array",
          "minItems": 1,
          "items": { "$ref": "#/$defs/node" }
        },
        "edges": {
          "type": "array",
          "items": { "$ref": "#/$defs/edge" }
        }
      }
    },
    "legacyArchitectureSpec": {
      "type": "object",
      "allOf": [
        { "$ref": "#/$defs/baseSpec" },
        {
          "type": "object",
          "properties": {
            "schemaVersion": { "const": "1.0" }
          }
        }
      ],
      "unevaluatedProperties": false
    },
    "architectureSpec": {
      "type": "object",
      "allOf": [
        { "$ref": "#/$defs/baseSpec" },
        {
          "type": "object",
          "required": ["diagramKind"],
          "properties": {
            "schemaVersion": { "const": "2.0" },
            "diagramKind": { "const": "architecture" }
          }
        }
      ],
      "unevaluatedProperties": false
    },
    "c4SystemContextSpec": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "schemaVersion", "diagramKind", "id", "title", "language", "scopeSystemId",
        "scopeBoundaryId", "boundaries", "nodes", "edges"
      ],
      "properties": {
        "$schema": { "type": "string" },
        "schemaVersion": { "const": "2.0" },
        "diagramKind": { "const": "c4-system-context" },
        "id": { "$ref": "#/$defs/id" },
        "title": { "type": "string", "minLength": 1, "maxLength": 120 },
        "description": { "type": "string", "maxLength": 500 },
        "language": { "enum": ["en", "ja", "mixed"] },
        "metadata": { "$ref": "#/$defs/metadata" },
        "scopeSystemId": { "$ref": "#/$defs/id" },
        "scopeBoundaryId": { "$ref": "#/$defs/id" },
        "boundaries": {
          "type": "array",
          "minItems": 1,
          "maxItems": 8,
          "items": { "$ref": "#/$defs/c4SystemBoundary" }
        },
        "nodes": {
          "type": "array",
          "minItems": 2,
          "maxItems": 50,
          "items": { "$ref": "#/$defs/c4Element" }
        },
        "edges": {
          "type": "array",
          "minItems": 1,
          "maxItems": 100,
          "items": { "$ref": "#/$defs/c4Relationship" }
        }
      }
    },
    "c4SystemBoundary": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "system-boundary" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "c4Element": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "description"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "enum": ["person", "software-system", "external-system"] },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "description": { "type": "string", "minLength": 3, "maxLength": 240 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "c4Relationship": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "from", "to", "type", "description"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "from": { "$ref": "#/$defs/id" },
        "to": { "$ref": "#/$defs/id" },
        "type": { "const": "relationship" },
        "description": { "type": "string", "minLength": 3, "maxLength": 160 },
        "technology": { "type": "string", "minLength": 1, "maxLength": 64 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "c4ContainerSpec": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "schemaVersion", "diagramKind", "id", "title", "language", "contextDiagramId",
        "scopeSystemId", "scopeBoundaryId", "boundaries", "nodes", "edges"
      ],
      "properties": {
        "$schema": { "type": "string" },
        "schemaVersion": { "const": "2.0" },
        "diagramKind": { "const": "c4-container" },
        "id": { "$ref": "#/$defs/id" },
        "title": { "type": "string", "minLength": 1, "maxLength": 120 },
        "description": { "type": "string", "maxLength": 500 },
        "language": { "enum": ["en", "ja", "mixed"] },
        "metadata": { "$ref": "#/$defs/metadata" },
        "contextDiagramId": { "$ref": "#/$defs/id" },
        "scopeSystemId": { "$ref": "#/$defs/id" },
        "scopeBoundaryId": { "$ref": "#/$defs/id" },
        "boundaries": {
          "type": "array",
          "minItems": 1,
          "maxItems": 8,
          "items": { "$ref": "#/$defs/c4SystemBoundary" }
        },
        "nodes": {
          "type": "array",
          "minItems": 1,
          "maxItems": 80,
          "items": { "$ref": "#/$defs/c4ContainerElement" }
        },
        "edges": {
          "type": "array",
          "minItems": 1,
          "maxItems": 160,
          "items": { "$ref": "#/$defs/c4Relationship" }
        }
      }
    },
    "c4ContainerElement": {
      "oneOf": [
        { "$ref": "#/$defs/c4ContainerPrimary" },
        { "$ref": "#/$defs/c4ContainerSupportingElement" }
      ]
    },
    "c4ContainerPrimary": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "containerKind", "title", "description", "technology"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "container" },
        "containerKind": { "enum": ["application", "data-store"] },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "description": { "type": "string", "minLength": 3, "maxLength": 240 },
        "technology": { "type": "string", "minLength": 1, "maxLength": 80 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "c4ContainerSupportingElement": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "description"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "enum": ["person", "external-system"] },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "description": { "type": "string", "minLength": 3, "maxLength": 240 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "bpmnLiteSpec": {
      "type": "object",
      "additionalProperties": false,
      "required": ["schemaVersion", "diagramKind", "id", "title", "language", "pool", "lanes", "nodes", "edges"],
      "properties": {
        "$schema": { "type": "string" },
        "schemaVersion": { "const": "2.0" },
        "diagramKind": { "const": "bpmn-lite" },
        "id": { "$ref": "#/$defs/id" },
        "title": { "type": "string", "minLength": 1, "maxLength": 120 },
        "description": { "type": "string", "maxLength": 500 },
        "language": { "enum": ["en", "ja", "mixed"] },
        "metadata": { "$ref": "#/$defs/metadata" },
        "pool": { "$ref": "#/$defs/bpmnPool" },
        "lanes": {
          "type": "array",
          "minItems": 2,
          "maxItems": 16,
          "items": { "$ref": "#/$defs/bpmnLane" }
        },
        "nodes": {
          "type": "array",
          "minItems": 4,
          "maxItems": 160,
          "items": { "$ref": "#/$defs/bpmnFlowNode" }
        },
        "edges": {
          "type": "array",
          "minItems": 3,
          "maxItems": 320,
          "items": { "$ref": "#/$defs/bpmnSequenceFlow" }
        }
      }
    },
    "bpmnPool": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "pool" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "bpmnLane": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "lane" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "bpmnFlowNode": {
      "oneOf": [
        { "$ref": "#/$defs/bpmnSimpleFlowNode" },
        { "$ref": "#/$defs/bpmnGateway" }
      ]
    },
    "bpmnSimpleFlowNode": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "laneId"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "enum": ["start-event", "end-event", "task"] },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "laneId": { "$ref": "#/$defs/id" },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "bpmnGateway": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "laneId", "gatewayRole"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "enum": ["exclusive-gateway", "parallel-gateway"] },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "laneId": { "$ref": "#/$defs/id" },
        "gatewayRole": { "enum": ["split", "join"] },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "bpmnSequenceFlow": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "from", "to"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "sequence-flow" },
        "from": { "$ref": "#/$defs/id" },
        "to": { "$ref": "#/$defs/id" },
        "condition": { "type": "string", "minLength": 1, "maxLength": 160 },
        "isDefault": { "type": "boolean" },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "sequenceSpec": {
      "type": "object",
      "additionalProperties": false,
      "required": ["schemaVersion", "diagramKind", "id", "title", "language", "nodes", "fragments", "edges"],
      "properties": {
        "$schema": { "type": "string" },
        "schemaVersion": { "const": "2.0" },
        "diagramKind": { "const": "sequence" },
        "id": { "$ref": "#/$defs/id" },
        "title": { "type": "string", "minLength": 1, "maxLength": 120 },
        "description": { "type": "string", "maxLength": 500 },
        "language": { "enum": ["en", "ja", "mixed"] },
        "metadata": { "$ref": "#/$defs/metadata" },
        "nodes": { "type": "array", "minItems": 2, "maxItems": 32, "items": { "$ref": "#/$defs/sequenceLifeline" } },
        "fragments": { "type": "array", "maxItems": 24, "items": { "$ref": "#/$defs/sequenceFragment" } },
        "edges": { "type": "array", "minItems": 1, "maxItems": 320, "items": { "$ref": "#/$defs/sequenceMessage" } }
      }
    },
    "sequenceLifeline": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "occurrenceIds"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "lifeline" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "occurrenceIds": { "type": "array", "minItems": 1, "maxItems": 320, "uniqueItems": true, "items": { "$ref": "#/$defs/id" } },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "sequenceFragment": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "operator", "title", "operands"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "combined-fragment" },
        "operator": { "enum": ["alt", "opt", "par"] },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "operands": { "type": "array", "minItems": 1, "maxItems": 8, "items": { "$ref": "#/$defs/sequenceOperand" } },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "sequenceOperand": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "occurrenceIds"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "guard": { "type": "string", "minLength": 1, "maxLength": 120 },
        "occurrenceIds": { "type": "array", "minItems": 1, "maxItems": 160, "uniqueItems": true, "items": { "$ref": "#/$defs/id" } }
      }
    },
    "sequenceMessage": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "from", "to", "title", "sendOccurrenceId", "receiveOccurrenceId"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "enum": ["sync-message", "async-message", "return-message"] },
        "from": { "$ref": "#/$defs/id" },
        "to": { "$ref": "#/$defs/id" },
        "title": { "type": "string", "minLength": 1, "maxLength": 120 },
        "sendOccurrenceId": { "$ref": "#/$defs/id" },
        "receiveOccurrenceId": { "$ref": "#/$defs/id" },
        "replyTo": { "$ref": "#/$defs/id" },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "erSpec": {
      "type": "object",
      "additionalProperties": false,
      "required": ["schemaVersion", "diagramKind", "id", "title", "language", "nodes", "edges"],
      "properties": {
        "$schema": { "type": "string" },
        "schemaVersion": { "const": "2.0" },
        "diagramKind": { "const": "er" },
        "id": { "$ref": "#/$defs/id" },
        "title": { "type": "string", "minLength": 1, "maxLength": 120 },
        "description": { "type": "string", "maxLength": 500 },
        "language": { "enum": ["en", "ja", "mixed"] },
        "metadata": { "$ref": "#/$defs/metadata" },
        "nodes": { "type": "array", "minItems": 2, "maxItems": 120, "items": { "$ref": "#/$defs/erEntity" } },
        "edges": { "type": "array", "maxItems": 240, "items": { "$ref": "#/$defs/erForeignKey" } }
      }
    },
    "erEntity": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "description", "attributes", "primaryKey", "uniqueKeys"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "entity" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "description": { "type": "string", "minLength": 3, "maxLength": 240 },
        "attributes": { "type": "array", "minItems": 1, "maxItems": 80, "items": { "$ref": "#/$defs/erAttribute" } },
        "primaryKey": { "$ref": "#/$defs/erKey" },
        "uniqueKeys": { "type": "array", "maxItems": 24, "items": { "$ref": "#/$defs/erKey" } },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "erAttribute": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "name", "dataType", "nullable"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "name": { "type": "string", "minLength": 1, "maxLength": 80 },
        "dataType": { "type": "string", "minLength": 1, "maxLength": 80 },
        "nullable": { "type": "boolean" }
      }
    },
    "erKey": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "attributeIds"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "attributeIds": { "type": "array", "maxItems": 16, "items": { "$ref": "#/$defs/id" } }
      }
    },
    "erForeignKey": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "from", "to", "fromAttributeIds", "toAttributeIds", "fromCardinality", "toCardinality", "identifying"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "foreign-key" },
        "from": { "$ref": "#/$defs/id" },
        "to": { "$ref": "#/$defs/id" },
        "title": { "type": "string", "minLength": 1, "maxLength": 120 },
        "fromAttributeIds": { "type": "array", "maxItems": 16, "items": { "$ref": "#/$defs/id" } },
        "toAttributeIds": { "type": "array", "maxItems": 16, "items": { "$ref": "#/$defs/id" } },
        "fromCardinality": { "$ref": "#/$defs/erCardinality" },
        "toCardinality": { "$ref": "#/$defs/erCardinality" },
        "identifying": { "type": "boolean" },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "erCardinality": { "enum": ["zero-or-one", "one", "zero-or-many", "one-or-many"] },
    "stateSpec": {
      "type": "object",
      "additionalProperties": false,
      "required": ["schemaVersion", "diagramKind", "id", "title", "language", "initialStateId", "nodes", "edges"],
      "properties": {
        "$schema": { "type": "string" },
        "schemaVersion": { "const": "2.0" },
        "diagramKind": { "const": "state" },
        "id": { "$ref": "#/$defs/id" },
        "title": { "type": "string", "minLength": 1, "maxLength": 120 },
        "description": { "type": "string", "maxLength": 500 },
        "language": { "enum": ["en", "ja", "mixed"] },
        "metadata": { "$ref": "#/$defs/metadata" },
        "initialStateId": { "$ref": "#/$defs/id" },
        "nodes": { "type": "array", "minItems": 2, "maxItems": 120, "items": { "$ref": "#/$defs/stateNode" } },
        "edges": { "type": "array", "minItems": 1, "maxItems": 240, "items": { "$ref": "#/$defs/stateTransition" } }
      }
    },
    "stateNode": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "description"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "enum": ["state", "final-state"] },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "description": { "type": "string", "minLength": 3, "maxLength": 240 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "stateTransition": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "from", "to", "event"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "transition" },
        "from": { "$ref": "#/$defs/id" },
        "to": { "$ref": "#/$defs/id" },
        "event": { "type": "string", "minLength": 1, "maxLength": 120 },
        "guard": { "type": "string", "minLength": 1, "maxLength": 160 },
        "action": { "type": "string", "minLength": 1, "maxLength": 160 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "decisionTreeSpec": {
      "type": "object",
      "additionalProperties": false,
      "required": ["schemaVersion", "diagramKind", "id", "title", "language", "rootNodeId", "nodes", "edges"],
      "properties": {
        "$schema": { "type": "string" },
        "schemaVersion": { "const": "2.0" },
        "diagramKind": { "const": "decision-tree" },
        "id": { "$ref": "#/$defs/id" },
        "title": { "type": "string", "minLength": 1, "maxLength": 120 },
        "description": { "type": "string", "maxLength": 500 },
        "language": { "enum": ["en", "ja", "mixed"] },
        "metadata": { "$ref": "#/$defs/metadata" },
        "rootNodeId": { "$ref": "#/$defs/id" },
        "nodes": { "type": "array", "minItems": 3, "maxItems": 160, "items": { "$ref": "#/$defs/decisionTreeNode" } },
        "edges": { "type": "array", "minItems": 2, "maxItems": 320, "items": { "$ref": "#/$defs/decisionBranch" } }
      }
    },
    "decisionTreeNode": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "description"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "enum": ["decision", "outcome"] },
        "title": { "type": "string", "minLength": 1, "maxLength": 120 },
        "description": { "type": "string", "minLength": 3, "maxLength": 240 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "decisionBranch": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "from", "to", "isDefault"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "branch" },
        "from": { "$ref": "#/$defs/id" },
        "to": { "$ref": "#/$defs/id" },
        "condition": { "type": "string", "minLength": 1, "maxLength": 160 },
        "isDefault": { "type": "boolean" },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "timelineSpec": {
      "type": "object",
      "additionalProperties": false,
      "required": ["schemaVersion", "diagramKind", "id", "title", "language", "windowStart", "windowEnd", "workstreams", "nodes", "edges"],
      "properties": {
        "$schema": { "type": "string" },
        "schemaVersion": { "const": "2.0" },
        "diagramKind": { "const": "timeline" },
        "id": { "$ref": "#/$defs/id" },
        "title": { "type": "string", "minLength": 1, "maxLength": 120 },
        "description": { "type": "string", "maxLength": 500 },
        "language": { "enum": ["en", "ja", "mixed"] },
        "metadata": { "$ref": "#/$defs/metadata" },
        "windowStart": { "$ref": "#/$defs/isoDate" },
        "windowEnd": { "$ref": "#/$defs/isoDate" },
        "workstreams": { "type": "array", "minItems": 1, "maxItems": 6, "items": { "$ref": "#/$defs/timelineWorkstream" } },
        "nodes": { "type": "array", "minItems": 1, "maxItems": 40, "items": { "$ref": "#/$defs/timelineItem" } },
        "edges": { "type": "array", "maxItems": 80, "items": { "$ref": "#/$defs/timelineDependency" } }
      }
    },
    "timelineWorkstream": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "workstream" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "timelineItem": {
      "oneOf": [
        { "$ref": "#/$defs/timelineTask" },
        { "$ref": "#/$defs/timelineMilestone" }
      ]
    },
    "timelineTask": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "description", "workstreamId", "startDate", "endDate", "status"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "task" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "description": { "type": "string", "minLength": 3, "maxLength": 240 },
        "workstreamId": { "$ref": "#/$defs/id" },
        "startDate": { "$ref": "#/$defs/isoDate" },
        "endDate": { "$ref": "#/$defs/isoDate" },
        "status": { "$ref": "#/$defs/timelineStatus" },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "timelineMilestone": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "description", "workstreamId", "date", "status"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "milestone" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "description": { "type": "string", "minLength": 3, "maxLength": 240 },
        "workstreamId": { "$ref": "#/$defs/id" },
        "date": { "$ref": "#/$defs/isoDate" },
        "status": { "$ref": "#/$defs/timelineStatus" },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "timelineDependency": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "from", "to"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "finish-to-start" },
        "from": { "$ref": "#/$defs/id" },
        "to": { "$ref": "#/$defs/id" },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "timelineStatus": { "enum": ["planned", "active", "blocked", "done"] },
    "isoDate": { "type": "string", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" },
    "roadmapSpec": {
      "type": "object",
      "additionalProperties": false,
      "required": ["schemaVersion", "diagramKind", "id", "title", "language", "vision", "horizons", "themes", "nodes", "edges"],
      "properties": {
        "$schema": { "type": "string" },
        "schemaVersion": { "const": "2.0" },
        "diagramKind": { "const": "roadmap" },
        "id": { "$ref": "#/$defs/id" },
        "title": { "type": "string", "minLength": 1, "maxLength": 120 },
        "description": { "type": "string", "maxLength": 500 },
        "language": { "enum": ["en", "ja", "mixed"] },
        "metadata": { "$ref": "#/$defs/metadata" },
        "vision": { "type": "string", "minLength": 8, "maxLength": 180 },
        "horizons": { "type": "array", "minItems": 3, "maxItems": 3, "items": { "$ref": "#/$defs/roadmapHorizon" } },
        "themes": { "type": "array", "minItems": 1, "maxItems": 5, "items": { "$ref": "#/$defs/roadmapTheme" } },
        "nodes": { "type": "array", "minItems": 1, "maxItems": 24, "items": { "$ref": "#/$defs/roadmapInitiative" } },
        "edges": { "type": "array", "maxItems": 0 }
      }
    },
    "roadmapHorizon": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "kind", "title", "description"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "kind": { "enum": ["now", "next", "later"] },
        "title": { "type": "string", "minLength": 1, "maxLength": 40 },
        "description": { "type": "string", "minLength": 3, "maxLength": 120 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "roadmapTheme": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "description"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "theme" },
        "title": { "type": "string", "minLength": 1, "maxLength": 60 },
        "description": { "type": "string", "minLength": 3, "maxLength": 160 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "roadmapInitiative": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "description", "outcome", "themeId", "horizonId", "status"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "initiative" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "description": { "type": "string", "minLength": 3, "maxLength": 200 },
        "outcome": { "type": "string", "minLength": 8, "maxLength": 220 },
        "themeId": { "$ref": "#/$defs/id" },
        "horizonId": { "$ref": "#/$defs/id" },
        "status": { "enum": ["exploring", "planned", "active", "delivered"] },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "capabilityMapSpec": {
      "type": "object",
      "additionalProperties": false,
      "required": ["schemaVersion", "diagramKind", "id", "title", "language", "scope", "domains", "nodes", "edges"],
      "properties": {
        "$schema": { "type": "string" },
        "schemaVersion": { "const": "2.0" },
        "diagramKind": { "const": "capability-map" },
        "id": { "$ref": "#/$defs/id" },
        "title": { "type": "string", "minLength": 1, "maxLength": 120 },
        "description": { "type": "string", "maxLength": 500 },
        "language": { "enum": ["en", "ja", "mixed"] },
        "metadata": { "$ref": "#/$defs/metadata" },
        "scope": { "type": "string", "minLength": 8, "maxLength": 220 },
        "domains": { "type": "array", "minItems": 2, "maxItems": 6, "items": { "$ref": "#/$defs/capabilityDomain" } },
        "nodes": { "type": "array", "minItems": 2, "maxItems": 30, "items": { "$ref": "#/$defs/capability" } },
        "edges": { "type": "array", "maxItems": 0 }
      }
    },
    "capabilityDomain": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "description"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "domain" },
        "title": { "type": "string", "minLength": 1, "maxLength": 60 },
        "description": { "type": "string", "minLength": 3, "maxLength": 160 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "capability": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "description", "domainId", "strategicImportance"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "capability" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "description": { "type": "string", "minLength": 3, "maxLength": 200 },
        "domainId": { "$ref": "#/$defs/id" },
        "strategicImportance": { "enum": ["low", "medium", "high"] },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "executiveViewSpec": {
      "type": "object",
      "additionalProperties": false,
      "required": ["schemaVersion", "diagramKind", "id", "title", "language", "asOfDate", "objective", "recommendation", "nodes", "edges"],
      "properties": {
        "$schema": { "type": "string" },
        "schemaVersion": { "const": "2.0" },
        "diagramKind": { "const": "executive-view" },
        "id": { "$ref": "#/$defs/id" },
        "title": { "type": "string", "minLength": 1, "maxLength": 120 },
        "description": { "type": "string", "maxLength": 500 },
        "language": { "enum": ["en", "ja", "mixed"] },
        "metadata": { "$ref": "#/$defs/metadata" },
        "asOfDate": { "$ref": "#/$defs/isoDate" },
        "objective": { "type": "string", "minLength": 8, "maxLength": 220 },
        "recommendation": { "type": "string", "minLength": 8, "maxLength": 240 },
        "nodes": { "type": "array", "minItems": 4, "maxItems": 13, "items": { "$ref": "#/$defs/executiveItem" } },
        "edges": { "type": "array", "maxItems": 0 }
      }
    },
    "executiveItem": {
      "oneOf": [
        { "$ref": "#/$defs/executiveIndicator" },
        { "$ref": "#/$defs/executiveRisk" },
        { "$ref": "#/$defs/executiveDecision" }
      ]
    },
    "executiveIndicator": {
      "type": "object", "additionalProperties": false,
      "required": ["id", "type", "title", "description", "value", "target", "trend", "status"],
      "properties": {
        "id": { "$ref": "#/$defs/id" }, "type": { "const": "indicator" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "description": { "type": "string", "minLength": 3, "maxLength": 200 },
        "value": { "type": "string", "minLength": 1, "maxLength": 60 },
        "target": { "type": "string", "minLength": 1, "maxLength": 60 },
        "trend": { "enum": ["improving", "steady", "declining"] },
        "status": { "enum": ["on-track", "at-risk", "off-track"] },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "executiveRisk": {
      "type": "object", "additionalProperties": false,
      "required": ["id", "type", "title", "description", "impact", "response", "status"],
      "properties": {
        "id": { "$ref": "#/$defs/id" }, "type": { "const": "risk" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "description": { "type": "string", "minLength": 3, "maxLength": 200 },
        "impact": { "enum": ["low", "medium", "high"] },
        "response": { "type": "string", "minLength": 3, "maxLength": 220 },
        "status": { "enum": ["open", "watch", "mitigated"] },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "executiveDecision": {
      "type": "object", "additionalProperties": false,
      "required": ["id", "type", "title", "description", "recommendation", "status"],
      "properties": {
        "id": { "$ref": "#/$defs/id" }, "type": { "const": "decision" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "description": { "type": "string", "minLength": 3, "maxLength": 200 },
        "recommendation": { "type": "string", "minLength": 3, "maxLength": 220 },
        "status": { "enum": ["open", "approved", "deferred"] },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "dataFlowSpec": {
      "type": "object",
      "additionalProperties": false,
      "required": ["schemaVersion", "diagramKind", "id", "title", "language", "boundaries", "nodes", "edges"],
      "properties": {
        "$schema": { "type": "string" },
        "schemaVersion": { "const": "2.0" },
        "diagramKind": { "const": "data-flow" },
        "id": { "$ref": "#/$defs/id" },
        "title": { "type": "string", "minLength": 1, "maxLength": 120 },
        "description": { "type": "string", "maxLength": 500 },
        "language": { "enum": ["en", "ja", "mixed"] },
        "metadata": { "$ref": "#/$defs/metadata" },
        "boundaries": {
          "type": "array",
          "maxItems": 32,
          "items": { "$ref": "#/$defs/dataFlowTrustBoundary" }
        },
        "nodes": {
          "type": "array",
          "minItems": 2,
          "maxItems": 120,
          "items": { "$ref": "#/$defs/dataFlowNode" }
        },
        "edges": {
          "type": "array",
          "minItems": 1,
          "maxItems": 240,
          "items": { "$ref": "#/$defs/dataFlowEdge" }
        }
      }
    },
    "dataFlowTrustBoundary": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "trustLevel"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "trust-boundary" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "trustLevel": { "enum": ["external", "controlled", "restricted"] },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "dataFlowNode": {
      "oneOf": [
        { "$ref": "#/$defs/dataFlowSimpleNode" },
        { "$ref": "#/$defs/dataFlowProcess" },
        { "$ref": "#/$defs/dataFlowDataStore" }
      ]
    },
    "dataFlowSimpleNode": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "description"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "enum": ["source", "sink", "external-system"] },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "description": { "type": "string", "minLength": 3, "maxLength": 240 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "dataFlowProcess": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "description", "transformation"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "process" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "description": { "type": "string", "minLength": 3, "maxLength": 240 },
        "transformation": { "type": "string", "minLength": 3, "maxLength": 160 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "dataFlowDataStore": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "description", "classification"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "data-store" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "description": { "type": "string", "minLength": 3, "maxLength": 240 },
        "classification": { "$ref": "#/$defs/dataClassification" },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "dataFlowEdge": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "from", "to", "type", "dataName", "format", "frequency", "mode", "classification"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "from": { "$ref": "#/$defs/id" },
        "to": { "$ref": "#/$defs/id" },
        "type": { "const": "data-flow" },
        "dataName": { "type": "string", "minLength": 1, "maxLength": 100 },
        "format": { "type": "string", "minLength": 1, "maxLength": 80 },
        "frequency": { "type": "string", "minLength": 1, "maxLength": 80 },
        "mode": { "enum": ["batch", "streaming", "request-response"] },
        "classification": { "$ref": "#/$defs/dataClassification" },
        "trustBoundaryIds": {
          "type": "array",
          "maxItems": 32,
          "uniqueItems": true,
          "items": { "$ref": "#/$defs/id" }
        },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "dataClassification": { "enum": ["public", "internal", "confidential", "restricted"] },
    "deploymentSpec": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "schemaVersion", "diagramKind", "id", "title", "language", "environment",
        "entryNodeIds", "boundaries", "nodes", "edges"
      ],
      "properties": {
        "$schema": { "type": "string" },
        "schemaVersion": { "const": "2.0" },
        "diagramKind": { "const": "deployment" },
        "id": { "$ref": "#/$defs/id" },
        "title": { "type": "string", "minLength": 1, "maxLength": 120 },
        "description": { "type": "string", "maxLength": 500 },
        "language": { "enum": ["en", "ja", "mixed"] },
        "metadata": { "$ref": "#/$defs/metadata" },
        "environment": { "type": "string", "minLength": 1, "maxLength": 80 },
        "entryNodeIds": {
          "type": "array",
          "minItems": 1,
          "maxItems": 32,
          "uniqueItems": true,
          "items": { "$ref": "#/$defs/id" }
        },
        "boundaries": {
          "type": "array",
          "minItems": 4,
          "maxItems": 64,
          "items": { "$ref": "#/$defs/deploymentBoundary" }
        },
        "nodes": {
          "type": "array",
          "minItems": 2,
          "maxItems": 160,
          "items": { "$ref": "#/$defs/deploymentNode" }
        },
        "edges": {
          "type": "array",
          "minItems": 1,
          "maxItems": 320,
          "items": { "$ref": "#/$defs/deploymentCommunication" }
        }
      }
    },
    "deploymentBoundary": {
      "oneOf": [
        { "$ref": "#/$defs/deploymentCloudProvider" },
        { "$ref": "#/$defs/deploymentRegion" },
        { "$ref": "#/$defs/deploymentNetworkBoundary" }
      ]
    },
    "deploymentCloudProvider": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "cloud-provider" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "deploymentRegion": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "parentId"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "region" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "parentId": { "$ref": "#/$defs/id" },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "deploymentNetworkBoundary": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "parentId", "exposure"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "enum": ["network", "subnet"] },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "parentId": { "$ref": "#/$defs/id" },
        "exposure": { "$ref": "#/$defs/networkExposure" },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "deploymentNode": {
      "oneOf": [
        { "$ref": "#/$defs/deploymentExternalSystem" },
        { "$ref": "#/$defs/deploymentManagedNode" }
      ]
    },
    "deploymentExternalSystem": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "description", "technology", "exposure"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "const": "external-system" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "description": { "type": "string", "minLength": 3, "maxLength": 240 },
        "technology": { "type": "string", "minLength": 1, "maxLength": 100 },
        "exposure": { "const": "public" },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "deploymentManagedNode": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "title", "description", "technology", "exposure", "boundaryId"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "enum": ["gateway", "load-balancer", "firewall", "host", "service", "database"] },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "description": { "type": "string", "minLength": 3, "maxLength": 240 },
        "technology": { "type": "string", "minLength": 1, "maxLength": 100 },
        "exposure": { "$ref": "#/$defs/networkExposure" },
        "boundaryId": { "$ref": "#/$defs/id" },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "deploymentCommunication": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "from", "to", "type", "description", "protocol", "port"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "from": { "$ref": "#/$defs/id" },
        "to": { "$ref": "#/$defs/id" },
        "type": { "const": "communication" },
        "description": { "type": "string", "minLength": 3, "maxLength": 160 },
        "protocol": { "type": "string", "minLength": 1, "maxLength": 40 },
        "port": { "type": "integer", "minimum": 1, "maximum": 65535 },
        "boundaryIds": {
          "type": "array",
          "maxItems": 64,
          "uniqueItems": true,
          "items": { "$ref": "#/$defs/id" }
        },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "networkExposure": { "enum": ["public", "private", "restricted"] },
    "id": { "type": "string", "pattern": "^[a-z][a-z0-9-]{1,63}$" },
    "variant": { "enum": ["realtime", "delegated", "external", "warning", "critical"] },
    "status": { "enum": ["planned", "experimental", "beta", "stable", "deprecated", "retired"] },
    "metadata": {
      "type": "object",
      "additionalProperties": { "type": "string", "maxLength": 200 }
    },
    "boundary": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "variant", "title"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": { "enum": ["system", "network", "trust", "organization", "runtime"] },
        "variant": { "$ref": "#/$defs/variant" },
        "title": { "type": "string", "minLength": 1, "maxLength": 80 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "node": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "type", "variant", "status", "title"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "type": {
          "enum": [
            "actor", "client", "frontend", "backend", "api", "service", "model", "agent",
            "tool", "database", "cache", "queue", "event-bus", "storage", "batch-job",
            "external-service", "observability", "security", "network", "note"
          ]
        },
        "variant": { "$ref": "#/$defs/variant" },
        "status": { "$ref": "#/$defs/status" },
        "title": { "type": "string", "minLength": 1, "maxLength": 60 },
        "subtitle": { "type": "string", "maxLength": 100 },
        "icon": { "$ref": "#/$defs/id" },
        "controls": {
          "type": "array",
          "maxItems": 8,
          "items": { "type": "string", "minLength": 1, "maxLength": 32 }
        },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    },
    "edge": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "from", "to", "type", "variant", "direction"],
      "properties": {
        "id": { "$ref": "#/$defs/id" },
        "from": { "$ref": "#/$defs/id" },
        "to": { "$ref": "#/$defs/id" },
        "type": {
          "enum": [
            "sync-request", "async-request", "realtime-stream", "event", "batch", "data-read",
            "data-write", "control", "monitoring", "authentication"
          ]
        },
        "variant": { "$ref": "#/$defs/variant" },
        "label": { "type": "string", "maxLength": 80 },
        "direction": { "enum": ["forward", "bidirectional"] },
        "protocol": { "type": "string", "maxLength": 32 },
        "metadata": { "$ref": "#/$defs/metadata" }
      }
    }
  }
}

layout.schema.json

2.9 KB

/schemas/layout.schema.json

Show contents
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://example.local/schemas/layout.schema.json",
  "title": "Architecture diagram layout",
  "type": "object",
  "additionalProperties": false,
  "required": ["schemaVersion", "canvas", "nodes", "edges"],
  "properties": {
    "$schema": { "type": "string" },
    "schemaVersion": { "const": "1.0" },
    "canvas": {
      "type": "object",
      "additionalProperties": false,
      "required": ["width", "height"],
      "properties": {
        "width": { "type": "integer", "minimum": 320, "maximum": 10000 },
        "height": { "type": "integer", "minimum": 240, "maximum": 10000 }
      }
    },
    "boundaries": {
      "type": "object",
      "additionalProperties": { "$ref": "#/$defs/boundaryGeometry" }
    },
    "nodes": {
      "type": "object",
      "additionalProperties": { "$ref": "#/$defs/nodeGeometry" }
    },
    "edges": {
      "type": "object",
      "additionalProperties": { "$ref": "#/$defs/edgeGeometry" }
    }
  },
  "$defs": {
    "point": {
      "type": "object",
      "additionalProperties": false,
      "required": ["x", "y"],
      "properties": {
        "x": { "type": "number", "minimum": 0, "maximum": 10000 },
        "y": { "type": "number", "minimum": 0, "maximum": 10000 }
      }
    },
    "port": {
      "type": "object",
      "additionalProperties": false,
      "required": ["side", "offset"],
      "properties": {
        "side": { "enum": ["top", "right", "bottom", "left"] },
        "offset": { "type": "number", "minimum": 0, "maximum": 1 }
      }
    },
    "nodeGeometry": {
      "type": "object",
      "additionalProperties": false,
      "required": ["x", "y", "width", "height"],
      "properties": {
        "x": { "type": "number", "minimum": 0, "maximum": 10000 },
        "y": { "type": "number", "minimum": 0, "maximum": 10000 },
        "width": { "type": "number", "minimum": 40, "maximum": 3000 },
        "height": { "type": "number", "minimum": 30, "maximum": 3000 }
      }
    },
    "boundaryGeometry": {
      "type": "object",
      "additionalProperties": false,
      "required": ["x", "y", "width", "height"],
      "properties": {
        "x": { "type": "number", "minimum": 0, "maximum": 10000 },
        "y": { "type": "number", "minimum": 0, "maximum": 10000 },
        "width": { "type": "number", "minimum": 120, "maximum": 10000 },
        "height": { "type": "number", "minimum": 80, "maximum": 10000 }
      }
    },
    "edgeGeometry": {
      "type": "object",
      "additionalProperties": false,
      "required": ["source", "target"],
      "properties": {
        "source": { "$ref": "#/$defs/port" },
        "target": { "$ref": "#/$defs/port" },
        "waypoints": {
          "type": "array",
          "maxItems": 20,
          "items": { "$ref": "#/$defs/point" }
        },
        "label": { "$ref": "#/$defs/point" }
      }
    }
  }
}