SHACL Shapes
https://meta.linked.archi/uml/publication-shapes#
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.
| Property | Constraint | Value | Severity | Message |
|---|---|---|---|---|
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 |
| Property | Constraint | Value | Severity | Message |
|---|---|---|---|---|
prefLabel |
datatype | langString | Violation | |
prefLabel |
maxCount | 1 |
Violation | |
prefLabel |
minCount | 1 |
Violation |
| Property | Constraint | Value | Severity | Message |
|---|---|---|---|---|
prefLabel |
datatype | langString | Violation | |
prefLabel |
datatype | langString | Violation | |
prefLabel |
maxCount | 1 |
Violation | |
prefLabel |
maxCount | 1 |
Violation | |
prefLabel |
minCount | 1 |
Violation | |
prefLabel |
minCount | 1 |
Violation |
| Property | Constraint | Value | Severity | Message |
|---|---|---|---|---|
prefLabel |
datatype | langString | Violation | |
prefLabel |
maxCount | 1 |
Violation | |
prefLabel |
minCount | 1 |
Violation |
| Property | Constraint | Value | Severity | Message |
|---|---|---|---|---|
prefLabel |
datatype | langString | Violation | |
prefLabel |
maxCount | 1 |
Violation | |
prefLabel |
minCount | 1 |
Violation |