https://cacontology.projectvic.org/analyst-wellbeing#OccupationalHarmShape
Validates occupational harm situations with optional harmSeverity.
Focus nodes of this shape (cacontology-analyst:OccupationalHarm) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-analyst:harmSeverity | Severity of occupational harm (low, medium, high) when captured. sh:message Occupational harm severity must be from allowed list when present. |
0 | 1 | xsd:string |
sh:in
low, medium, high, unknown
|
@prefix cacontology-analyst: <https://cacontology.projectvic.org/analyst-wellbeing#> .
@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-analyst:OccupationalHarmShape a sh:NodeShape ;
rdfs:label "Occupational Harm Shape"@en ;
rdfs:comment "Validates occupational harm situations with optional harmSeverity."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "low" "medium" "high" "unknown" ) ;
sh:maxCount 1 ;
sh:message "Occupational harm severity must be from allowed list when present."@en ;
sh:minCount 0 ;
sh:path cacontology-analyst:harmSeverity ] ;
sh:targetClass cacontology-analyst:OccupationalHarm .