Ontology Version: 3.1.0

cacontology-forensics:ElectronicStorageDeviceDetectionShape leaf node


URI

https://cacontology.projectvic.org/forensics#ElectronicStorageDeviceDetectionShape

Label

Electronic Storage Device Detection Shape

Description

Validation shape for electronic storage device detection instances.

Property Constraints (2)

Focus nodes of this shape (cacontology-forensics:ElectronicStorageDeviceDetection) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-forensics:detectionAccuracy Accuracy rate of detection method (0.0-1.0).
sh:message Detection accuracy must be between 0.0 and 1.0.
0 1 xsd:decimal
sh:minInclusive 0.0
sh:maxInclusive 1.0
cacontology-forensics:detectionMethod Method used for device detection (K9, manual, electronic scanning).
sh:message Detection method must be from the allowed list.
1 1 xsd:string
sh:in k9_detection, manual_search, electronic_scanning, x_ray_scanning, metal_detection, thermal_imaging

Implementation

@prefix cacontology-forensics: <https://cacontology.projectvic.org/forensics#> .
@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#> .
cacontology-forensics:ElectronicStorageDeviceDetectionShape a sh:NodeShape ;
    rdfs:label "Electronic Storage Device Detection Shape"@en ;
    rdfs:comment "Validation shape for electronic storage device detection instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "k9_detection" "manual_search" "electronic_scanning" "x_ray_scanning" "metal_detection" "thermal_imaging" ) ;
            sh:maxCount 1 ;
            sh:message "Detection method must be from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-forensics:detectionMethod ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Detection accuracy must be between 0.0 and 1.0."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-forensics:detectionAccuracy ] ;
    sh:targetClass cacontology-forensics:ElectronicStorageDeviceDetection .