Ontology Version: 2.2.0

cacontology-specialized:CommunityOutreachProgramShape leaf node


URI

https://cacontology.projectvic.org/specialized-units#CommunityOutreachProgramShape

Label

Community Outreach Program Shape

Description

Validation shape for community outreach program instances.

Implementation

@prefix cacontology-specialized: <https://cacontology.projectvic.org/specialized-units#> .
@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-specialized:CommunityOutreachProgramShape a sh:NodeShape ;
    rdfs:label "Community Outreach Program Shape"@en ;
    rdfs:comment "Validation shape for community outreach program instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 100 ;
            sh:message "Community outreach program must have a label (5-100 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 5 ;
            sh:path rdfs:label ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:maxInclusive 1000 ;
            sh:message "Event count must be between 0 and 1000."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0 ;
            sh:path cacontology-specialized:eventCount ] ;
    sh:targetClass cacontology-specialized:CommunityOutreachProgram .