https://cacontology.projectvic.org/victim-impact#TraumaIndicatorShape
Validation shape for trauma indicator instances.
Focus nodes of this shape (cacontology-impact:TraumaIndicator) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-impact:frequency | Frequency of indicator occurrence (constant, frequent, occasional, rare). sh:message Indicator frequency must be from the allowed list. |
0 | 1 | xsd:string |
sh:in
rare, occasional, frequent, daily, constant, episodic
|
cacontology-impact:indicatorSeverity |
sh:message Trauma indicator must specify severity from the allowed list. |
1 | 1 | xsd:string |
sh:in
mild, moderate, severe, extreme, critical
|
| cacontology-impact:indicatorType | Type of trauma indicator (behavioral, emotional, physical, cognitive, social). sh:message Trauma indicator must specify indicator type from the allowed list. |
1 | 1 | xsd:string |
sh:in
behavioral, emotional, cognitive, physical, social, developmental, academic, relational
|
@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:TraumaIndicatorShape a sh:NodeShape ;
rdfs:label "Trauma Indicator Shape"@en ;
rdfs:comment "Validation shape for trauma indicator instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "behavioral" "emotional" "cognitive" "physical" "social" "developmental" "academic" "relational" ) ;
sh:maxCount 1 ;
sh:message "Trauma indicator must specify indicator type from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-impact:indicatorType ],
[ sh:datatype xsd:string ;
sh:in ( "mild" "moderate" "severe" "extreme" "critical" ) ;
sh:maxCount 1 ;
sh:message "Trauma indicator must specify severity from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-impact:indicatorSeverity ],
[ sh:datatype xsd:string ;
sh:in ( "rare" "occasional" "frequent" "daily" "constant" "episodic" ) ;
sh:maxCount 1 ;
sh:message "Indicator frequency must be from the allowed list."@en ;
sh:minCount 0 ;
sh:path cacontology-impact:frequency ] ;
sh:targetClass cacontology-impact:TraumaIndicator .