Ontology Version: 3.1.0

cacontology-impact:PsychologicalHarmShape leaf node


URI

https://cacontology.projectvic.org/victim-impact#PsychologicalHarmShape

Label

Psychological Harm Shape

Description

Validation shape for psychological harm instances.

Targets (1)

Property Constraints (4)

Focus nodes of this shape (cacontology-impact:PsychologicalHarm) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-impact:duration Duration of psychological harm in months.
sh:message Harm duration must be between 0 and 20 years.
0 1 xsd:decimal
sh:minInclusive 0.0
sh:maxInclusive 20.0
cacontology-impact:harmType
sh:message Psychological harm must specify harm type from the allowed list.
1 1 xsd:string
sh:in trauma, anxiety, depression, ptsd, complex_trauma, behavioral_changes, emotional_dysregulation, attachment_disruption
cacontology-impact:onsetTiming
sh:message Onset timing must be from the allowed list.
0 1 xsd:string
sh:in immediate, delayed, gradual, episodic, chronic, progressive
cacontology-impact:severity Severity of psychological harm (mild, moderate, severe, extreme).
sh:message Psychological harm must specify severity from the allowed list.
1 1 xsd:string
sh:in mild, moderate, severe, extreme, debilitating, life_threatening

Implementation

@prefix cacontology-impact: <https://cacontology.projectvic.org/victim-impact#> .
@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-impact:PsychologicalHarmShape a sh:NodeShape ;
    rdfs:label "Psychological Harm Shape"@en ;
    rdfs:comment "Validation shape for psychological harm instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "trauma" "anxiety" "depression" "ptsd" "complex_trauma" "behavioral_changes" "emotional_dysregulation" "attachment_disruption" ) ;
            sh:maxCount 1 ;
            sh:message "Psychological harm must specify harm type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-impact:harmType ],
        [ sh:datatype xsd:string ;
            sh:in ( "mild" "moderate" "severe" "extreme" "debilitating" "life_threatening" ) ;
            sh:maxCount 1 ;
            sh:message "Psychological harm must specify severity from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-impact:severity ],
        [ sh:datatype xsd:string ;
            sh:in ( "immediate" "delayed" "gradual" "episodic" "chronic" "progressive" ) ;
            sh:maxCount 1 ;
            sh:message "Onset timing must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-impact:onsetTiming ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 20.0 ;
            sh:message "Harm duration must be between 0 and 20 years."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-impact:duration ] ;
    sh:targetClass cacontology-impact:PsychologicalHarm .