core:LifecycleScopedRelationship leaf node


URI

https://spdx.org/rdf/3.0.1/terms/Core/LifecycleScopedRelationship

Label

LifecycleScopedRelationship

Description

Provide context for a relationship that occurs in the lifecycle.

Superclasses (2)

Targets (1)

Node Constraints

value type sh:IRI

Property Constraints (1)

Focus nodes of this shape (core:LifecycleScopedRelationship) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
core:scope Capture the scope of information about a specific relationship between elements. 0 1 core:LifecycleScopeType
sh:IRI
sh:in core:LifecycleScopeType/design, core:LifecycleScopeType/development, core:LifecycleScopeType/build, core:LifecycleScopeType/test, core:LifecycleScopeType/runtime, core:LifecycleScopeType/other

Implementation

@prefix core: <https://spdx.org/rdf/3.0.1/terms/Core/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

core:LifecycleScopedRelationship a owl:Class,
        sh:NodeShape ;
    rdfs:comment "Provide context for a relationship that occurs in the lifecycle."@en ;
    rdfs:subClassOf core:Relationship ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:class core:LifecycleScopeType ;
            sh:in ( <https://spdx.org/rdf/3.0.1/terms/Core/LifecycleScopeType/design> <https://spdx.org/rdf/3.0.1/terms/Core/LifecycleScopeType/development> <https://spdx.org/rdf/3.0.1/terms/Core/LifecycleScopeType/build> <https://spdx.org/rdf/3.0.1/terms/Core/LifecycleScopeType/test> <https://spdx.org/rdf/3.0.1/terms/Core/LifecycleScopeType/runtime> <https://spdx.org/rdf/3.0.1/terms/Core/LifecycleScopeType/other> ) ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:path core:scope ] .