https://spdx.org/rdf/3.0.1/terms/Software/ContentIdentifier
A canonical, unique, immutable identifier
Focus nodes of this shape (software:ContentIdentifier) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| software:contentIdentifierType | Specifies the type of the content identifier. | 1 | 1 | software:ContentIdentifierType sh:IRI |
sh:in
software:ContentIdentifierType/gitoid, software:ContentIdentifierType/swhid
|
| software:contentIdentifierValue | Specifies the value of the content identifier. | 1 | 1 | xsd:anyURI sh:Literal |
@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/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
software:ContentIdentifier a owl:Class,
sh:NodeShape ;
rdfs:comment "A canonical, unique, immutable identifier"@en ;
rdfs:subClassOf core:IntegrityMethod ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:property [ sh:datatype xsd:anyURI ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:nodeKind sh:Literal ;
sh:path software:contentIdentifierValue ],
[ sh:class software:ContentIdentifierType ;
sh:in ( <https://spdx.org/rdf/3.0.1/terms/Software/ContentIdentifierType/gitoid> <https://spdx.org/rdf/3.0.1/terms/Software/ContentIdentifierType/swhid> ) ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:nodeKind sh:IRI ;
sh:path software:contentIdentifierType ] .