Ontology Version: 2.2.0

cacontology-training:LegalTrainingShape leaf node


URI

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

Label

Legal Training Shape

Description

Validation shape for legal training instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-training:LegalTraining
cacontology-training:capacityLevel 0 1 xsd:string
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 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:LegalTrainingShape a sh:NodeShape ;
    rdfs:label "Legal Training Shape"@en ;
    rdfs:comment "Validation shape for legal training instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "basic" "intermediate" "advanced" "expert" ) ;
            sh:maxCount 1 ;
            sh:message "Legal training capacity level must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-training:capacityLevel ] ;
    sh:targetClass cacontology-training:LegalTraining .