Ontology Version: 2.7.0

cacontology-analyst:OccupationalHarmShape leaf node


URI

https://cacontology.projectvic.org/analyst-wellbeing#OccupationalHarmShape

Label

Occupational Harm Shape

Description

Validates occupational harm situations with optional harmSeverity.

Shape Properties

Instances of cacontology-analyst:OccupationalHarm can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-analyst:OccupationalHarm
cacontology-analyst:harmSeverity 0 1 xsd:string

Implementation

@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 .