https://cacontology.projectvic.org/prevention#SafetyGuidelineShape
Validation shape for safety guideline instances.
Focus nodes of this shape (cacontology-prevention:SafetyGuideline) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-prevention:targetAudience | Target audience for educational resource. sh:message Safety guideline must specify target audience. |
1 | 1 | xsd:string |
sh:in
children, parents, educators, healthcare_providers, community_members, professionals, general_public
|
@prefix cacontology-prevention: <https://cacontology.projectvic.org/prevention#> .
@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-prevention:SafetyGuidelineShape a sh:NodeShape ;
rdfs:label "Safety Guideline Shape"@en ;
rdfs:comment "Validation shape for safety guideline instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "children" "parents" "educators" "healthcare_providers" "community_members" "professionals" "general_public" ) ;
sh:maxCount 1 ;
sh:message "Safety guideline must specify target audience."@en ;
sh:minCount 1 ;
sh:path cacontology-prevention:targetAudience ] ;
sh:targetClass cacontology-prevention:SafetyGuideline .