https://cacontology.projectvic.org/training#ChildProtectionTrainingShape
Validation shape for child protection training instances.
Focus nodes of this shape (cacontology-training:ChildProtectionTraining) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-training:trainingDuration | Duration of training program from start to completion. sh:message Child protection training duration should be between 2 and 200 hours. |
0 | 1 | xsd:decimal |
sh:minInclusive
2.0
sh:maxInclusive
200.0
|
@prefix cacontology-training: <https://cacontology.projectvic.org/training#> .
@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-training:ChildProtectionTrainingShape a sh:NodeShape ;
rdfs:label "Child Protection Training Shape"@en ;
rdfs:comment "Validation shape for child protection training instances."@en ;
sh:property [ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 200.0 ;
sh:message "Child protection training duration should be between 2 and 200 hours."@en ;
sh:minCount 0 ;
sh:minInclusive 2.0 ;
sh:path cacontology-training:trainingDuration ] ;
sh:targetClass cacontology-training:ChildProtectionTraining .