https://cacontology.projectvic.org/detection#PhotoDNAHashGUFOShape
Validates PhotoDNA hash instances with gUFO foundational constraints.
Focus nodes of this shape (cacontology-detection:PhotoDNAHash) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-detection:photoDNAValue | The PhotoDNA hash value as a hexadecimal string. sh:message PhotoDNA value must be a hexadecimal string (32-128 characters) |
1 | 1 | xsd:string |
sh:pattern
^[0-9A-Fa-f]+$
sh:minLength
32
sh:maxLength
128
|
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-detection:PhotoDNAHashGUFOShape a sh:NodeShape ;
rdfs:label "gUFO PhotoDNA Hash Shape"@en ;
rdfs:comment "Validates PhotoDNA hash instances with gUFO foundational constraints."@en ;
sh:property [ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 128 ;
sh:message "PhotoDNA value must be a hexadecimal string (32-128 characters)"@en ;
sh:minCount 1 ;
sh:minLength 32 ;
sh:path cacontology-detection:photoDNAValue ;
sh:pattern "^[0-9A-Fa-f]+$" ] ;
sh:targetClass cacontology-detection:PhotoDNAHash .