Ontology Version: 3.1.0

cacontology-forensics:EvidenceCustodianRoleShape leaf node


URI

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

Label

Evidence Custodian Role Shape

Targets (1)

Property Constraints (5)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-forensics:accessLevel
sh:message Access level must be full, limited, read-only, or none (gUFO mode aspect)
0 1 xsd:string
sh:in full, limited, read-only, none
cacontology-forensics:custodyAuthority
sh:message Custody authority should be specified (gUFO quality aspect)
0 1 xsd:string
gufo:hasBeginPointInXSDDateTimeStamp
sh:message Evidence custodian role must have begin timestamp (gUFO temporal)
1 1 xsd:dateTimeStamp
gufo:hasEndPointInXSDDateTimeStamp
sh:message Evidence custodian role may have end timestamp (gUFO temporal)
0 1 xsd:dateTimeStamp
uco-core:kindOfRelationship
sh:message An evidence custodian role must have kindOfRelationship value 'custodian'
0 *
sh:hasValue custodian

Implementation

@prefix cacontology-forensics: <https://cacontology.projectvic.org/forensics#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@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 uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-forensics:EvidenceCustodianRoleShape a sh:NodeShape ;
    rdfs:label "Evidence Custodian Role Shape"@en ;
    sh:property [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Evidence custodian role must have begin timestamp (gUFO temporal)"@en ;
            sh:minCount 1 ;
            sh:path gufo:hasBeginPointInXSDDateTimeStamp ],
        [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Evidence custodian role may have end timestamp (gUFO temporal)"@en ;
            sh:path gufo:hasEndPointInXSDDateTimeStamp ],
        [ sh:hasValue "custodian" ;
            sh:message "An evidence custodian role must have kindOfRelationship value 'custodian'"@en ;
            sh:path uco-core:kindOfRelationship ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "Custody authority should be specified (gUFO quality aspect)"@en ;
            sh:path cacontology-forensics:custodyAuthority ],
        [ sh:datatype xsd:string ;
            sh:in ( "full" "limited" "read-only" "none" ) ;
            sh:maxCount 1 ;
            sh:message "Access level must be full, limited, read-only, or none (gUFO mode aspect)"@en ;
            sh:path cacontology-forensics:accessLevel ] ;
    sh:targetClass cacontology-forensics:EvidenceCustodianRole .