core:Artifact


URI

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

Label

Artifact

Description

A distinct article or unit within the digital domain.

Superclasses (1)

Targets (1)

Node Constraints

value type sh:IRI

Property Constraints (8)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
core:builtTime Specifies the time an artifact was built. 0 1 xsd:dateTimeStamp
sh:Literal
sh:pattern ^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\dZ$
core:originatedBy Identifies from where or whom the Element originally came. 0 * core:Agent
sh:IRI
core:releaseTime Specifies the time an artifact was released. 0 1 xsd:dateTimeStamp
sh:Literal
sh:pattern ^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\dZ$
core:standardName The name of a relevant standard that may apply to an artifact. 0 * xsd:string
sh:Literal
core:suppliedBy Identifies who or what supplied the artifact or VulnAssessmentRelationship referenced by the Element. 0 1 core:Agent
sh:IRI
core:supportLevel Specifies the level of support associated with an artifact. 0 * core:SupportType
sh:IRI
sh:in core:SupportType/development, core:SupportType/support, core:SupportType/deployed, core:SupportType/limitedSupport, core:SupportType/endOfSupport, core:SupportType/noSupport, core:SupportType/noAssertion
core:validUntilTime Specifies until when the artifact can be used before its usage needs to be reassessed. 0 1 xsd:dateTimeStamp
sh:Literal
sh:pattern ^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\dZ$
rdf:type
sh:message https://spdx.org/rdf/3.0.1/terms/Core/Artifact is an abstract class and should not be instantiated directly. Instantiate a subclass instead.
0 *
sh:not sh:hasValue core:Artifact

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:Artifact a owl:Class,
        sh:NodeShape ;
    rdfs:comment "A distinct article or unit within the digital domain."@en ;
    rdfs:subClassOf core:Element ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:datatype xsd:string ;
            sh:nodeKind sh:Literal ;
            sh:path core:standardName ],
        [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path core:builtTime ;
            sh:pattern "^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\dZ$" ],
        [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path core:validUntilTime ;
            sh:pattern "^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\dZ$" ],
        [ sh:message "https://spdx.org/rdf/3.0.1/terms/Core/Artifact is an abstract class and should not be instantiated directly. Instantiate a subclass instead."@en ;
            sh:not [ sh:hasValue core:Artifact ] ;
            sh:path rdf:type ],
        [ sh:class core:SupportType ;
            sh:in ( <https://spdx.org/rdf/3.0.1/terms/Core/SupportType/development> <https://spdx.org/rdf/3.0.1/terms/Core/SupportType/support> <https://spdx.org/rdf/3.0.1/terms/Core/SupportType/deployed> <https://spdx.org/rdf/3.0.1/terms/Core/SupportType/limitedSupport> <https://spdx.org/rdf/3.0.1/terms/Core/SupportType/endOfSupport> <https://spdx.org/rdf/3.0.1/terms/Core/SupportType/noSupport> <https://spdx.org/rdf/3.0.1/terms/Core/SupportType/noAssertion> ) ;
            sh:nodeKind sh:IRI ;
            sh:path core:supportLevel ],
        [ sh:class core:Agent ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:path core:suppliedBy ],
        [ sh:class core:Agent ;
            sh:nodeKind sh:IRI ;
            sh:path core:originatedBy ],
        [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path core:releaseTime ;
            sh:pattern "^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\dZ$" ] .