Ontology Version: 2.2.0

cacontology-forensics:CustodyDocumentShape leaf node


URI

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

Label

Custody Document Shape

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

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:CustodyDocumentShape a sh:NodeShape ;
    rdfs:label "Custody Document Shape"@en ;
    sh:property [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "A custody document must have exactly one creation time"@en ;
            sh:minCount 1 ;
            sh:path uco-core:createdTime ],
        [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Custody document must have creation timestamp (gUFO temporal)"@en ;
            sh:minCount 1 ;
            sh:path gufo:hasBeginPointInXSDDateTimeStamp ],
        [ sh:datatype xsd:string ;
            sh:in ( "evidence-receipt" "custody-transfer" "examination-log" "disposal-certificate" ) ;
            sh:maxCount 1 ;
            sh:message "Document type must be evidence-receipt, custody-transfer, examination-log, or disposal-certificate"@en ;
            sh:path cacontology-forensics:documentType ],
        [ sh:datatype xsd:string ;
            sh:in ( "draft" "final" "archived" "destroyed" ) ;
            sh:maxCount 1 ;
            sh:message "Document status must be draft, final, archived, or destroyed (gUFO mode aspect)"@en ;
            sh:path cacontology-forensics:documentStatus ] ;
    sh:targetClass cacontology-forensics:CustodyDocument .