Ontology Version: 3.1.0

cacontology-impact:ComplexTraumaShape leaf node


URI

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

Label

Complex Trauma Shape

Description

Validation shape for complex trauma instances.

Targets (1)

Property Constraints (3)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-impact:attachmentDisruption
sh:message Complex trauma may specify attachment disruption.
0 1 xsd:boolean
cacontology-impact:developmentalImpact
sh:message Complex trauma must specify if there is developmental impact.
1 1 xsd:boolean
cacontology-impact:traumaType Type of trauma experienced (acute, chronic, complex, developmental).
sh:message Complex trauma must specify trauma type from the allowed list.
1 1 xsd:string
sh:in complex, developmental, relational, attachment, chronic, repeated

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:ComplexTraumaShape a sh:NodeShape ;
    rdfs:label "Complex Trauma Shape"@en ;
    rdfs:comment "Validation shape for complex trauma instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "complex" "developmental" "relational" "attachment" "chronic" "repeated" ) ;
            sh:maxCount 1 ;
            sh:message "Complex trauma must specify trauma type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-impact:traumaType ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Complex trauma must specify if there is developmental impact."@en ;
            sh:minCount 1 ;
            sh:path cacontology-impact:developmentalImpact ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Complex trauma may specify attachment disruption."@en ;
            sh:minCount 0 ;
            sh:path cacontology-impact:attachmentDisruption ] ;
    sh:targetClass cacontology-impact:ComplexTrauma .