Linked.Archi C4 Model SHACL Shapes
type: Ontology
imports: onto#
imports: core-shapes#
license: http://creativecommons.org/licenses/by/4.0/
preferred namespace prefix: c4sh
creator: Kalin Maldzhanski
description: SHACL shapes for validating C4 model data. Covers the abstract C4 model relationships (Using, ContainerContainment, ComponentContainment). For Structurizr deployment shapes, see structurizr-shapes.ttl.
created: 2026-04-12
modified: 2026-04-20
publisher: Linked.Archi
publisher: linked.archi
status: draft
version IRI: 0.2.0#
version info: 0.2.0

UsingShape
type: NodeShape
target class: Using
property:
  path: source
  class: Element
  message: Using source must be an Element.
property:
  path: target
  class: Element
  message: Using target must be an Element.

ContainerContainmentShape
type: NodeShape
target class: ContainerContainment
property:
  path: source
  class: SoftwareSystem
  message: ContainerContainment source must be a SoftwareSystem.
property:
  path: target
  class: Container
  message: ContainerContainment target must be a Container.

ComponentContainmentShape
type: NodeShape
target class: ComponentContainment
property:
  path: source
  class: Container
  message: ComponentContainment source must be a Container.
property:
  path: target
  class: Component
  message: ComponentContainment target must be a Component.