Ontology Version: 3.1.0

cacontology-training:RecantationResponseTrainingShape leaf node


URI

https://cacontology.projectvic.org/training#RecantationResponseTrainingShape

Label

Recantation Response Training Shape

Description

Validation shape for recantation response training instances.

Property Constraints (2)

Focus nodes of this shape (cacontology-training:RecantationResponseTraining) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-training:capacityLevel Level of capacity being built (basic, intermediate, advanced, expert).
sh:message Recantation response training should be intermediate, advanced, or expert level.
0 1 xsd:string
sh:in intermediate, advanced, expert
cacontology-training:trainingDuration Duration of training program from start to completion.
sh:message Recantation response training duration should be between 1 and 80 hours.
0 1 xsd:decimal
sh:minInclusive 1.0
sh:maxInclusive 80.0

Implementation

@prefix cacontology-training: <https://cacontology.projectvic.org/training#> .
@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-training:RecantationResponseTrainingShape a sh:NodeShape ;
    rdfs:label "Recantation Response Training Shape"@en ;
    rdfs:comment "Validation shape for recantation response training instances."@en ;
    sh:property [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 80.0 ;
            sh:message "Recantation response training duration should be between 1 and 80 hours."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1.0 ;
            sh:path cacontology-training:trainingDuration ],
        [ sh:datatype xsd:string ;
            sh:in ( "intermediate" "advanced" "expert" ) ;
            sh:maxCount 1 ;
            sh:message "Recantation response training should be intermediate, advanced, or expert level."@en ;
            sh:minCount 0 ;
            sh:path cacontology-training:capacityLevel ] ;
    sh:targetClass cacontology-training:RecantationResponseTraining .