Linked.Archi

Linked.Archi Backstage SHACL Shapes

SHACL Shapes

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

v0.1.0 draft bssh: Kalin Maldzhanski Linked.Archi Modified: 2026-08-09 License

SHACL shapes for validating Backstage catalog data. Imports core-shapes for base QualifiedRelationship validation. Adds Backstage-specific domain/range constraints per relationship type.

Contents

APIConsumptionShape — target: APIConsumption

PropertyConstraintValueSeverityMessage
source class Component Violation
target class API Violation

APIProvisionShape — target: APIProvision

PropertyConstraintValueSeverityMessage
source class Component Violation
target class API Violation

BackstageElementLabelShape — target: API

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 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

DomainMembershipShape — target: DomainMembership

PropertyConstraintValueSeverityMessage
source class Element Violation
target class Domain Violation

GroupMembershipShape — target: GroupMembership

PropertyConstraintValueSeverityMessage
source class User Violation
target class Group Violation

OwnershipShape — target: Ownership

PropertyConstraintValueSeverityMessage
source class Element Violation
target class Group Violation

ResourceUsageShape — target: ResourceUsage

PropertyConstraintValueSeverityMessage
target class Resource Violation
source sh:or class Component | Resource Violation ResourceUsage source must be a Component or a Resource.

SystemMembershipShape — target: SystemMembership

PropertyConstraintValueSeverityMessage
target class System Violation
source sh:or class API | Component | Resource Violation SystemMembership source must be a Component, an API, or a Resource.