SHACL Shapes
https://meta.linked.archi/backstage/shapes#
SHACL shapes for validating Backstage catalog data. Imports core-shapes for base QualifiedRelationship validation. Adds Backstage-specific domain/range constraints per relationship type.
| Property | Constraint | Value | Severity | Message |
|---|---|---|---|---|
source |
class | Component | Violation | |
target |
class | API | Violation |
| Property | Constraint | Value | Severity | Message |
|---|---|---|---|---|
source |
class | Component | Violation | |
target |
class | API | Violation |
| 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 |
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 |
| Property | Constraint | Value | Severity | Message |
|---|---|---|---|---|
source |
class | Element | Violation | |
target |
class | Domain | Violation |
| Property | Constraint | Value | Severity | Message |
|---|---|---|---|---|
source |
class | User | Violation | |
target |
class | Group | Violation |
| Property | Constraint | Value | Severity | Message |
|---|---|---|---|---|
source |
class | Element | Violation | |
target |
class | Group | Violation |
| Property | Constraint | Value | Severity | Message |
|---|---|---|---|---|
target |
class | Resource | Violation | |
source |
sh:or class | Component | Resource | Violation | ResourceUsage source must be a Component or a Resource. |
| Property | Constraint | Value | Severity | Message |
|---|---|---|---|---|
target |
class | System | Violation | |
source |
sh:or class | API | Component | Resource | Violation | SystemMembership source must be a Component, an API, or a Resource. |