Ontology Version: 3.1.0

cacontology-physical-shapes:EvidenceCustodianRoleShape leaf node


URI

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

Label

Evidence Custodian Role Shape

Description

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

Targets (1)

Property Constraints (3)

Focus nodes of this shape (cacontology-physical:EvidenceCustodianRole) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-physical:hasCustodyIntegrity Integrity level of chain of custody (gUFO quality aspect).
sh:message Custody integrity must be from allowed values (gUFO quality aspect).
0 1 xsd:string
sh:in compromised, questionable, acceptable, secure, pristine
cacontology-physical:hasDocumentationCompleteness Completeness of custody documentation (gUFO quality aspect).
sh:message Documentation completeness must be between 0.0 and 1.0 (gUFO quality aspect).
0 1 xsd:double
sh:minInclusive 0.0
sh:maxInclusive 1.0
rdfs:label
sh:message Evidence custodian role label should be between 5 and 100 characters when provided.
0 1 xsd:string
sh:minLength 5
sh:maxLength 100

Implementation

@prefix cacontology-physical: <https://cacontology.projectvic.org/physical#> .
@prefix cacontology-physical-shapes: <https://cacontology.projectvic.org/physical/shapes#> .
@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-physical: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-physical:hasDocumentationCompleteness ] ;
    sh:targetClass cacontology-physical:EvidenceCustodianRole .