https://cacontology.projectvic.org/international#CountryPartnershipShape
Validation shape for country partnership instances.
Focus nodes of this shape (cacontology-international:CountryPartnership) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-international:partnerCountryCount | Number of countries participating in the partnership. sh:message Country partnership must specify partner count between 2 and 50. |
1 | 1 | xsd:nonNegativeInteger |
sh:minInclusive
2
sh:maxInclusive
50
|
@prefix cacontology-international: <https://cacontology.projectvic.org/international#> .
@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-international:CountryPartnershipShape a sh:NodeShape ;
rdfs:label "Country Partnership Shape"@en ;
rdfs:comment "Validation shape for country partnership instances."@en ;
sh:property [ sh:datatype xsd:nonNegativeInteger ;
sh:maxCount 1 ;
sh:maxInclusive 50 ;
sh:message "Country partnership must specify partner count between 2 and 50."@en ;
sh:minCount 1 ;
sh:minInclusive 2 ;
sh:path cacontology-international:partnerCountryCount ] ;
sh:targetClass cacontology-international:CountryPartnership .