Linked.Archi

Linked.Archi C4 Model SHACL Shapes

SHACL Shapes

https://meta.linked.archi/c4/shapes#

v0.2.0 draft c4sh: Kalin Maldzhanski Linked.Archi Modified: 2026-10-10 License

SHACL shapes for validating C4 model data. Covers the abstract C4 model relationships (Using, ContainerContainment, ComponentContainment). For Structurizr deployment shapes, see structurizr-shapes.ttl.

Contents

C4ElementLabelShape — target: ClientSideWebApp

PropertyConstraintValueSeverityMessage
prefLabel datatype langString Violation
prefLabel datatype langString Violation
prefLabel datatype langString Violation
prefLabel datatype langString Violation
prefLabel datatype langString Violation
prefLabel datatype langString Violation
prefLabel datatype langString Violation
prefLabel datatype langString Violation
prefLabel datatype langString Violation
prefLabel minCount 1 Violation
prefLabel minCount 1 Violation
prefLabel minCount 1 Violation
prefLabel minCount 1 Violation
prefLabel minCount 1 Violation
prefLabel minCount 1 Violation
prefLabel minCount 1 Violation
prefLabel minCount 1 Violation
prefLabel minCount 1 Violation

ComponentContainmentShape — target: ComponentContainment

PropertyConstraintValueSeverityMessage
source class Container Violation
target class Component Violation

ContainerContainmentShape — target: ContainerContainment

PropertyConstraintValueSeverityMessage
source class SoftwareSystem Violation
target class Container Violation

UsingShape — target: Using

PropertyConstraintValueSeverityMessage
source class Element Violation
target class Element Violation