Ontology Version: 2.2.0

cacontology-forensics:RecoveredFileShape leaf node


URI

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

Label

Recovered File Shape

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-forensics:RecoveredFile
1 xsd:string
1 xsd:double
cacontology-forensics:recoveryMethod 1 1 xsd:string
1 xsd:dateTimeStamp
0 1 xsd:dateTime
0 1 xsd:dateTime
1 1 xsd:string
1 1 xsd:string

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 xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-forensics:RecoveredFileShape a sh:NodeShape ;
    rdfs:label "Recovered File Shape"@en ;
    sh:property [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Recovery confidence must be between 0.0 and 1.0 (gUFO quality aspect)"@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-forensics:recoveryConfidence ],
        [ sh:datatype xsd:string ;
            sh:in ( "complete" "partial" "corrupted" ) ;
            sh:maxCount 1 ;
            sh:message "Data integrity must be complete, partial, or corrupted (gUFO quality aspect)"@en ;
            sh:path cacontology-forensics:dataIntegrity ],
        [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Recovered file may have recovery timestamp (gUFO temporal)"@en ;
            sh:path gufo:hasBeginPointInXSDDateTimeStamp ],
        [ sh:datatype xsd:string ;
            sh:in ( "undelete" "carving" "slack-space" "unallocated-space" "registry-recovery" ) ;
            sh:maxCount 1 ;
            sh:message "Recovery method must be from allowed list: undelete, carving, slack-space, unallocated-space, registry-recovery"@en ;
            sh:minCount 1 ;
            sh:path cacontology-forensics:recoveryMethod ] ;
    sh:targetClass cacontology-forensics:RecoveredFile .