https://cacontology.projectvic.org/detection#HashFormatValidationShape
Validates hash format and consistency.
Focus nodes of this shape (cacontology-detection:PerceptualHash, cacontology-detection:PhotoDNAHash) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
uco-core:createdTime |
sh:message Hash creation time should be specified when available |
0 | 1 | xsd:dateTime |
@prefix cacontology-detection: <https://cacontology.projectvic.org/detection#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-detection:HashFormatValidationShape a sh:NodeShape ;
rdfs:label "Hash Format Validation Shape"@en ;
rdfs:comment "Validates hash format and consistency."@en ;
sh:property [ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Hash creation time should be specified when available"@en ;
sh:minCount 0 ;
sh:path uco-core:createdTime ] ;
sh:targetClass cacontology-detection:PerceptualHash,
cacontology-detection:PhotoDNAHash .