Ontology Version: 2.2.0

cacontology-physical-shapes:EvidenceCustodianRoleShape leaf node


URI

https://cacontology.projectvic.org/physical-evidence/shapes#EvidenceCustodianRoleShape

Label

Evidence Custodian Role Shape

Description

Enhanced validation shape for evidence custodian role instances with gUFO quality aspects.

Implementation

@prefix cacontology-physical-shapes: <https://cacontology.projectvic.org/physical-evidence/shapes#> .
@prefix cacontology-physical1: <https://cacontology.projectvic.org/physical-evidence#> .
@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-physical-shapes:EvidenceCustodianRoleShape a sh:NodeShape ;
    rdfs:label "Evidence Custodian Role Shape"@en ;
    rdfs:comment "Enhanced validation shape for evidence custodian role instances with gUFO quality aspects."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 100 ;
            sh:message "Evidence custodian role label should be between 5 and 100 characters when provided."@en ;
            sh:minCount 0 ;
            sh:minLength 5 ;
            sh:path rdfs:label ],
        [ sh:datatype xsd:string ;
            sh:in ( "compromised" "questionable" "acceptable" "secure" "pristine" ) ;
            sh:maxCount 1 ;
            sh:message "Custody integrity must be from allowed values (gUFO quality aspect)."@en ;
            sh:path cacontology-physical1:hasCustodyIntegrity ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Documentation completeness must be between 0.0 and 1.0 (gUFO quality aspect)."@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-physical1:hasDocumentationCompleteness ] ;
    sh:targetClass cacontology-physical1:EvidenceCustodianRole .