https://spdx.org/rdf/3.0.1/terms/Core/PackageVerificationCode
An SPDX version 2.X compatible verification method for software packages.
By the associated SHACL property shapes, instances of core:PackageVerificationCode can have the following properties:
| PROPERTY | PROPERTY TYPE | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS | GLOBAL RANGE |
|---|---|---|---|---|---|---|---|
| core:PackageVerificationCode | |||||||
| core:algorithm | owl:ObjectProperty | Specifies the algorithm used for calculating the hash value. | 1 | 1 | core:HashAlgorithm sh:IRI |
sh:in
core:HashAlgorithm/adler32, core:HashAlgorithm/blake2b256, core:HashAlgorithm/blake2b384, core:HashAlgorithm/blake2b512, core:HashAlgorithm/blake3, core:HashAlgorithm/crystalsDilithium, core:HashAlgorithm/crystalsKyber, core:HashAlgorithm/falcon, core:HashAlgorithm/md2, core:HashAlgorithm/md4, core:HashAlgorithm/md5, core:HashAlgorithm/md6, core:HashAlgorithm/other, core:HashAlgorithm/sha1, core:HashAlgorithm/sha224, core:HashAlgorithm/sha256, core:HashAlgorithm/sha384, core:HashAlgorithm/sha512, core:HashAlgorithm/sha3_224, core:HashAlgorithm/sha3_256, core:HashAlgorithm/sha3_384, core:HashAlgorithm/sha3_512
|
core:HashAlgorithm |
| core:hashValue | owl:DatatypeProperty | The result of applying a hash algorithm to an Element. | 1 | 1 | xsd:string sh:Literal |
xsd:string | |
| core:packageVerificationCodeExcludedFile | owl:DatatypeProperty | The relative file name of a file to be excluded from the `PackageVerificationCode`. | 0 | * | xsd:string sh:Literal |
xsd:string | |
| core:IntegrityMethod | |||||||
| 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 | |
rdf:type |
-- | sh:message https://spdx.org/rdf/3.0.1/terms/Core/IntegrityMethod is an abstract class and should not be instantiated directly. Instantiate a subclass instead. |
0 | * |
sh:not
sh:hasValue core:IntegrityMethod
|
-- | |
@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:PackageVerificationCode a owl:Class,
sh:NodeShape ;
rdfs:comment "An SPDX version 2.X compatible verification method for software packages."@en ;
rdfs:subClassOf core:IntegrityMethod ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:property [ sh:datatype xsd:string ;
sh:nodeKind sh:Literal ;
sh:path core:packageVerificationCodeExcludedFile ],
[ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:nodeKind sh:Literal ;
sh:path core:hashValue ],
[ sh:class core:HashAlgorithm ;
sh:in ( <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/adler32> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/blake2b256> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/blake2b384> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/blake2b512> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/blake3> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/crystalsDilithium> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/crystalsKyber> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/falcon> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/md2> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/md4> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/md5> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/md6> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/other> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/sha1> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/sha224> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/sha256> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/sha384> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/sha512> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/sha3_224> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/sha3_256> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/sha3_384> <https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/sha3_512> ) ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:nodeKind sh:IRI ;
sh:path core:algorithm ] .