core:CreationInfo leaf node


URI

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

Label

CreationInfo

Description

Provides information about the creation of the Element.

Shapes (1)

Property Shapes

By the associated SHACL property shapes, instances of core:CreationInfo can have the following properties:

PROPERTY PROPERTY TYPE DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS GLOBAL RANGE
core:CreationInfo
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:created owl:DatatypeProperty Identifies when the Element was originally created. 1 1 xsd:dateTimeStamp
sh:Literal
sh:pattern ^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\dZ$
xsd:dateTimeStamp
core:createdBy owl:ObjectProperty Identifies who or what created the Element. 1 * core:Agent
sh:IRI
core:Agent
core:createdUsing owl:ObjectProperty Identifies the tooling that was used during the creation of the Element. 0 * core:Tool
sh:IRI
core:Tool
core:specVersion owl:DatatypeProperty Provides a reference number that can be used to understand how to parse and interpret an Element. 1 1 xsd:string
sh:Literal
sh:pattern ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
xsd:string

Implementation

@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#> .

core:CreationInfo a owl:Class,
        sh:NodeShape ;
    rdfs:comment "Provides information about the creation of the Element."@en ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:property [ sh:class core:Agent ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:path core:createdBy ],
        [ sh:class core:Tool ;
            sh:nodeKind sh:IRI ;
            sh:path core:createdUsing ],
        [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path core:created ;
            sh:pattern "^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\dZ$" ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path core:specVersion ;
            sh:pattern "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$" ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path core:comment ] .