build:Build leaf node


URI

https://spdx.org/rdf/3.0.1/terms/Build/Build

Label

Build

Description

Class that describes a build instance of software/artifacts.

Superclasses (1)

Shapes (1)

Property Shapes

By the associated SHACL property shapes, instances of build:Build can have the following properties:

PROPERTY PROPERTY TYPE DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS GLOBAL RANGE
build:Build
build:buildEndTime owl:DatatypeProperty Property that describes the time at which a build stops. 0 1 xsd:dateTimeStamp
sh:Literal
sh:pattern ^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\dZ$
xsd:dateTimeStamp
build:buildId owl:DatatypeProperty A buildId is a locally unique identifier used by a builder to identify a unique instance of a build produced by it. 0 1 xsd:string
sh:Literal
xsd:string
build:buildStartTime owl:DatatypeProperty Property describing the start time of a build. 0 1 xsd:dateTimeStamp
sh:Literal
sh:pattern ^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\dZ$
xsd:dateTimeStamp
build:buildType owl:DatatypeProperty A buildType is a hint that is used to indicate the toolchain, platform, or infrastructure that the build was invoked on. 1 1 xsd:anyURI
sh:Literal
xsd:anyURI
build:configSourceDigest owl:ObjectProperty Property that describes the digest of the build configuration file used to invoke a build. 0 * core:Hash
sh:BlankNodeOrIRI
core:Hash
build:configSourceEntrypoint owl:DatatypeProperty Property describes the invocation entrypoint of a build. 0 * xsd:string
sh:Literal
xsd:string
build:configSourceUri owl:DatatypeProperty Property that describes the URI of the build configuration source file. 0 * xsd:anyURI
sh:Literal
xsd:anyURI
build:environment owl:ObjectProperty Property describing the session in which a build is invoked. 0 * core:DictionaryEntry
sh:BlankNodeOrIRI
core:DictionaryEntry
build:parameter owl:ObjectProperty Property describing a parameter used in an instance of a build. 0 * core:DictionaryEntry
sh:BlankNodeOrIRI
core:DictionaryEntry
core:Element
core:comment owl:DatatypeProperty Provide consumers with comments by the creator of the Element about the Element. 0 1 xsd:string
sh:Literal
xsd:string
core:creationInfo owl:ObjectProperty Provides information about the creation of the Element. 1 1 core:CreationInfo
sh:BlankNodeOrIRI
core:CreationInfo
core:description owl:DatatypeProperty Provides a detailed description of the Element. 0 1 xsd:string
sh:Literal
xsd:string
core:extension owl:ObjectProperty Specifies an Extension characterization of some aspect of an Element.
sh:message Class is known to not derive from Extension and cannot be used
0 * sh:BlankNodeOrIRI
sh:not sh:or (security:SsvcVulnAssessmentRelationship, security:CvssV2VulnAssessmentRelationship, security:ExploitCatalogVulnAssessmentRelationship, security:CvssV4VulnAssessmentRelationship, security:VexAffectedVulnAssessmentRelationship, security:VexNotAffectedVulnAssessmentRelationship, security:CvssV3VulnAssessmentRelationship, security:Vulnerability, security:VexUnderInvestigationVulnAssessmentRelationship, security:EpssVulnAssessmentRelationship, security:VexFixedVulnAssessmentRelationship, core:NamespaceMap, core:LifecycleScopedRelationship, core:Hash, core:Agent, core:CreationInfo, core:ExternalRef, core:Bom, core:IndividualElement, core:Relationship, core:PositiveIntegerRange, core:DictionaryEntry, core:ExternalMap, core:Annotation, core:SpdxDocument, core:Person, core:Organization, core:Bundle, core:Tool, core:ExternalIdentifier, core:SoftwareAgent, core:PackageVerificationCode, ai:AIPackage, ai:EnergyConsumptionDescription, ai:EnergyConsumption, build:Build, dataset:DatasetPackage, expandedlicensing:CustomLicense, expandedlicensing:OrLaterOperator, expandedlicensing:ListedLicense, expandedlicensing:DisjunctiveLicenseSet, expandedlicensing:ListedLicenseException, expandedlicensing:WithAdditionOperator, expandedlicensing:IndividualLicensingInfo, expandedlicensing:CustomLicenseAddition, expandedlicensing:ConjunctiveLicenseSet, simplelicensing:LicenseExpression, simplelicensing:SimpleLicensingText, extension:CdxPropertyEntry, software:Package, software:File, software:Sbom, software:Snippet, software:ContentIdentifier)
extension:Extension
core:externalIdentifier owl:ObjectProperty Provides a reference to a resource outside the scope of SPDX-3.0 content that uniquely identifies an Element. 0 * core:ExternalIdentifier
sh:BlankNodeOrIRI
core:ExternalIdentifier
core:externalRef owl:ObjectProperty Points to a resource outside the scope of the SPDX-3.0 content that provides additional characteristics of an Element. 0 * core:ExternalRef
sh:BlankNodeOrIRI
core:ExternalRef
core:name owl:DatatypeProperty Identifies the name of an Element as designated by the creator. 0 1 xsd:string
sh:Literal
xsd:string
core:summary owl:DatatypeProperty A short description of an Element. 0 1 xsd:string
sh:Literal
xsd:string
core:verifiedUsing owl:ObjectProperty Provides an IntegrityMethod with which the integrity of an Element can be asserted. 0 * core:IntegrityMethod
sh:BlankNodeOrIRI
core:IntegrityMethod
rdf:type --
sh:message https://spdx.org/rdf/3.0.1/terms/Core/Element is an abstract class and should not be instantiated directly. Instantiate a subclass instead.
0 *
sh:not sh:hasValue core:Element
--

Implementation

@prefix build: <https://spdx.org/rdf/3.0.1/terms/Build/> .
@prefix core: <https://spdx.org/rdf/3.0.1/terms/Core/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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#> .

build:Build a owl:Class,
        sh:NodeShape ;
    rdfs:comment "Class that describes a build instance of software/artifacts."@en ;
    rdfs:subClassOf core:Element ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:datatype xsd:anyURI ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path build:buildType ],
        [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path build:buildEndTime ;
            sh:pattern "^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\dZ$" ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path build:buildId ],
        [ sh:class core:Hash ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path build:configSourceDigest ],
        [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path build:buildStartTime ;
            sh:pattern "^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\dZ$" ],
        [ sh:datatype xsd:anyURI ;
            sh:nodeKind sh:Literal ;
            sh:path build:configSourceUri ],
        [ sh:class core:DictionaryEntry ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path build:parameter ],
        [ sh:datatype xsd:string ;
            sh:nodeKind sh:Literal ;
            sh:path build:configSourceEntrypoint ],
        [ sh:class core:DictionaryEntry ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path build:environment ] .