Ontology Version: 2.2.0

cacontology-forensics:VictimIdentificationProcessShape leaf node


URI

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

Label

Victim Identification Process Shape

Description

Validation shape for victim identification process instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-forensics:VictimIdentificationProcess
cacontology-forensics:victimAgeRange 0 1 xsd:string
cacontology-forensics:victimGeographicOrigin 0 1 xsd:string
cacontology-forensics:victimsIdentifiedCount 0 1 xsd:nonNegativeInteger
1 1 xsd:dateTime

Implementation

@prefix cacontology-forensics: <https://cacontology.projectvic.org/forensics#> .
@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:VictimIdentificationProcessShape a sh:NodeShape ;
    rdfs:label "Victim Identification Process Shape"@en ;
    rdfs:comment "Validation shape for victim identification process instances."@en ;
    sh:property [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 10000 ;
            sh:message "Victims identified count must be between 0 and 10000."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0 ;
            sh:path cacontology-forensics:victimsIdentifiedCount ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 100 ;
            sh:message "Victim geographic origin should be 2-100 characters when provided."@en ;
            sh:minCount 0 ;
            sh:minLength 2 ;
            sh:path cacontology-forensics:victimGeographicOrigin ],
        [ sh:datatype xsd:string ;
            sh:in ( "toddlers" "children" "teenagers" "toddlers_to_children" "children_to_teenagers" "toddlers_to_teenagers" "unknown" ) ;
            sh:maxCount 1 ;
            sh:message "Victim age range must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-forensics:victimAgeRange ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Victim identification process must specify start time."@en ;
            sh:minCount 1 ;
            sh:path uco-core:startTime ] ;
    sh:targetClass cacontology-forensics:VictimIdentificationProcess .