software:Sbom leaf node


URI

https://spdx.org/rdf/3.0.1/terms/Software/Sbom

Label

Sbom

Description

A collection of SPDX Elements describing a single package.

Targets (1)

Node Constraints

value type sh:IRI

Property Constraints (1)

Focus nodes of this shape (software:Sbom) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
software:sbomType Provides information about the type of an SBOM. 0 * software:SbomType
sh:IRI
sh:in software:SbomType/design, software:SbomType/source, software:SbomType/build, software:SbomType/deployed, software:SbomType/runtime, software:SbomType/analyzed

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 software: <https://spdx.org/rdf/3.0.1/terms/Software/> .

software:Sbom a owl:Class,
        sh:NodeShape ;
    rdfs:comment "A collection of SPDX Elements describing a single package."@en ;
    rdfs:subClassOf core:Bom ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:class software:SbomType ;
            sh:in ( <https://spdx.org/rdf/3.0.1/terms/Software/SbomType/design> <https://spdx.org/rdf/3.0.1/terms/Software/SbomType/source> <https://spdx.org/rdf/3.0.1/terms/Software/SbomType/build> <https://spdx.org/rdf/3.0.1/terms/Software/SbomType/deployed> <https://spdx.org/rdf/3.0.1/terms/Software/SbomType/runtime> <https://spdx.org/rdf/3.0.1/terms/Software/SbomType/analyzed> ) ;
            sh:nodeKind sh:IRI ;
            sh:path software:sbomType ] .