https://cacontology.projectvic.org/recruitment-networks/shapes#ClassmateRecruitmentNetworkShape
Validation shape for classmate recruitment network instances.
Focus nodes of this shape (cacontology-recruitment:ClassmateRecruitmentNetwork) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-recruitment:schoolsInvolved | Number of educational institutions involved in recruitment network. sh:message Classmate recruitment network must involve 1-10 schools. |
1 | 1 | xsd:nonNegativeInteger |
sh:minInclusive
1
sh:maxInclusive
10
|
| cacontology-recruitment:targetsSchool | Links recruitment network to educational institution being targeted. sh:message Classmate recruitment network must target at least one school. |
1 | * | cacontology-recruitment:EducationalInstitution |
@prefix cacontology-recruitment: <https://cacontology.projectvic.org/recruitment-networks#> .
@prefix cacontology-recruitment-shapes: <https://cacontology.projectvic.org/recruitment-networks/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-recruitment-shapes:ClassmateRecruitmentNetworkShape a sh:NodeShape ;
rdfs:label "Classmate Recruitment Network Shape"@en ;
rdfs:comment "Validation shape for classmate recruitment network instances."@en ;
sh:property [ sh:datatype xsd:nonNegativeInteger ;
sh:maxCount 1 ;
sh:maxInclusive 10 ;
sh:message "Classmate recruitment network must involve 1-10 schools."@en ;
sh:minCount 1 ;
sh:minInclusive 1 ;
sh:path cacontology-recruitment:schoolsInvolved ],
[ sh:class cacontology-recruitment:EducationalInstitution ;
sh:message "Classmate recruitment network must target at least one school."@en ;
sh:minCount 1 ;
sh:path cacontology-recruitment:targetsSchool ] ;
sh:targetClass cacontology-recruitment:ClassmateRecruitmentNetwork .