https://cacontology.projectvic.org/victim-impact#TraumaTherapyShape
Validation shape for trauma therapy instances.
Focus nodes of this shape (cacontology-impact:TraumaTherapy) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
cacontology-impact:evidenceBased |
sh:message Trauma therapy must specify if it is evidence-based. |
1 | 1 | xsd:boolean | |
cacontology-impact:traumaFocused |
sh:message Trauma therapy must be trauma-focused. |
1 | 1 | xsd:boolean |
sh:hasValue
true
|
@prefix cacontology-impact: <https://cacontology.projectvic.org/victim-impact#> .
@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:TraumaTherapyShape a sh:NodeShape ;
rdfs:label "Trauma Therapy Shape"@en ;
rdfs:comment "Validation shape for trauma therapy instances."@en ;
sh:property [ sh:datatype xsd:boolean ;
sh:hasValue true ;
sh:maxCount 1 ;
sh:message "Trauma therapy must be trauma-focused."@en ;
sh:minCount 1 ;
sh:path cacontology-impact:traumaFocused ],
[ sh:datatype xsd:boolean ;
sh:maxCount 1 ;
sh:message "Trauma therapy must specify if it is evidence-based."@en ;
sh:minCount 1 ;
sh:path cacontology-impact:evidenceBased ] ;
sh:targetClass cacontology-impact:TraumaTherapy .