https://cacontology.projectvic.org/victim-impact#ComplexTraumaShape
Validation shape for complex trauma instances.
Instances of cacontology-impact:ComplexTrauma can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-impact:ComplexTrauma | ||||
| 0 | 1 |
xsd:boolean
|
||
| 1 | 1 |
xsd:boolean
|
||
| cacontology-impact:traumaType | 1 | 1 |
xsd:string
|
|
| cacontology-impact:PsychologicalHarm | ||||
| cacontology-impact:duration | 0 | 1 |
xsd:decimal
|
|
| 1 | 1 |
xsd:string
|
||
| 0 | 1 |
xsd:string
|
||
| cacontology-impact:severity | 1 | 1 |
xsd:string
|
|
@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 .