Linked.Archi

Linked.Archi UML Publication SHACL Shapes

SHACL Shapes

https://meta.linked.archi/uml/publication-shapes#

v0.1.0 draft umlpubsh: Kalin Maldzhanski Linked.Archi Modified: 2026-08-13 License

Opt-in SHACL shapes for UML models that are going to be read by someone. Requires a language-tagged skos:prefLabel on the UML constructs a reader needs named — classifiers, packages, features, actors, use cases, lifelines — and leaves out the constructs UML draws rather than names. This document is deliberately NOT part of uml/shapes#. UML 2.5.1 §7.4 makes NamedElement::name [0..1], so nothing in UML must be named, and uml/shapes# says what UML is. A naming requirement is a publication policy: reasonable to hold, but not a fact about the language, and not something a conformance check should assert on a modeller's behalf. Load this only when unnamed elements really are a defect for your purpose — generating a document, building a palette, populating a catalogue.

Contents

ClassifierLabelShape — target: Artifact

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 maxCount 1 Violation
prefLabel maxCount 1 Violation
prefLabel maxCount 1 Violation
prefLabel maxCount 1 Violation
prefLabel maxCount 1 Violation
prefLabel maxCount 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

EnumerationLiteralLabelShape — target: EnumerationLiteral

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

FeatureLabelShape — target: Operation

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

LifelineLabelShape — target: Lifeline

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

PackageLabelShape — target: Package

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