Ontology Version: 2.2.0

cacontology-training:VictimServiceTrainingShape leaf node


URI

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

Label

Victim Service Training Shape

Description

Validation shape for victim service training instances.

Shape Properties

Instances of cacontology-training:VictimServiceTraining can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-training:VictimServiceTraining
cacontology-training:trainingDuration 0 1 xsd:decimal
cacontology-training:InternationalTraining
cacontology-training:completionRate 0 1 xsd:decimal
cacontology-training:participationRate 0 1 xsd:decimal
cacontology-training:trainingDuration 0 1 xsd:decimal
cacontology-training:trainingLanguage 0 10 xsd:string
cacontology-training:trainingReachCount 0 1 xsd:nonNegativeInteger
0 1 xsd:dateTime
1 1 xsd:string
1 1 xsd:dateTime

Implementation

@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:VictimServiceTrainingShape a sh:NodeShape ;
    rdfs:label "Victim Service Training Shape"@en ;
    rdfs:comment "Validation shape for victim service training instances."@en ;
    sh:property [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 200.0 ;
            sh:message "Victim service training duration should be between 4 and 200 hours."@en ;
            sh:minCount 0 ;
            sh:minInclusive 4.0 ;
            sh:path cacontology-training:trainingDuration ] ;
    sh:targetClass cacontology-training:VictimServiceTraining .