Ontology Version: 2.2.0

cacontology-training:OutreachEventMetricsShape leaf node


URI

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

Label

Outreach Event Metrics Shape

Description

Validation shape for outreach event metrics instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-training:OutreachEventMetrics
cacontology-training:outreachEventsCount 0 1 xsd:nonNegativeInteger
cacontology-training:totalAttendeesReached 0 1 xsd:nonNegativeInteger

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:OutreachEventMetricsShape a sh:NodeShape ;
    rdfs:label "Outreach Event Metrics Shape"@en ;
    rdfs:comment "Validation shape for outreach event metrics instances."@en ;
    sh:property [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 10000 ;
            sh:message "Outreach events count must be between 1 and 10000 when specified."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1 ;
            sh:path cacontology-training:outreachEventsCount ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 1000000 ;
            sh:message "Total attendees reached must be between 1 and 1000000 when specified."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1 ;
            sh:path cacontology-training:totalAttendeesReached ] ;
    sh:targetClass cacontology-training:OutreachEventMetrics .