Ontology Version: 2.2.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.

Shape Properties

Instances of cacontology-forensics:ElectronicStorageDeviceDetection can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-forensics:ElectronicStorageDeviceDetection
cacontology-forensics:detectionAccuracy 0 1 xsd:decimal
cacontology-forensics:detectionMethod 1 1 xsd:string

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 .