Ontology Version: 3.1.0

cacontology-training:MentorshipProgramShape leaf node


URI

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

Label

Mentorship Program Shape

Description

Validation shape for mentorship program instances.

Targets (1)

Property Constraints (1)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-training:trainingReachCount Number of participants reached by training program.
sh:message Mentorship program reach count must be between 1 and 100 when specified.
0 1 xsd:nonNegativeInteger
sh:minInclusive 1
sh:maxInclusive 100

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:MentorshipProgramShape a sh:NodeShape ;
    rdfs:label "Mentorship Program Shape"@en ;
    rdfs:comment "Validation shape for mentorship program instances."@en ;
    sh:property [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 100 ;
            sh:message "Mentorship program reach count must be between 1 and 100 when specified."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1 ;
            sh:path cacontology-training:trainingReachCount ] ;
    sh:targetClass cacontology-training:MentorshipProgram .