Ontology Version: 2.2.0

cacontology-training:MentorshipProgramShape leaf node


URI

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

Label

Mentorship Program Shape

Description

Validation shape for mentorship program instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-training:MentorshipProgram
cacontology-training:trainingReachCount 0 1 xsd:nonNegativeInteger
cacontology-training:CapacityBuildingProgram
cacontology-training:capacityLevel 0 1 xsd:string
1 1 xsd:string

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 .