Ontology Version: 3.1.0

cacontology-partnerships-shapes:MultiStakeholderInitiativeShape leaf node


URI

https://cacontology.projectvic.org/partnerships/shapes#MultiStakeholderInitiativeShape

Label

Multi Stakeholder Initiative Shape

Description

Validation shape for multi-stakeholder initiative instances.

Property Constraints (1)

Focus nodes of this shape (cacontology-partnerships:MultiStakeholderInitiative) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-partnerships:partnerCount
sh:message Multi-stakeholder initiative must have between 3 and 50 partners.
1 1 xsd:nonNegativeInteger
sh:minInclusive 3
sh:maxInclusive 50

Implementation

@prefix cacontology-partnerships: <https://cacontology.projectvic.org/partnerships#> .
@prefix cacontology-partnerships-shapes: <https://cacontology.projectvic.org/partnerships/shapes#> .
@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-partnerships-shapes:MultiStakeholderInitiativeShape a sh:NodeShape ;
    rdfs:label "Multi Stakeholder Initiative Shape"@en ;
    rdfs:comment "Validation shape for multi-stakeholder initiative instances."@en ;
    sh:property [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 50 ;
            sh:message "Multi-stakeholder initiative must have between 3 and 50 partners."@en ;
            sh:minCount 1 ;
            sh:minInclusive 3 ;
            sh:path cacontology-partnerships:partnerCount ] ;
    sh:targetClass cacontology-partnerships:MultiStakeholderInitiative .