https://cacontology.projectvic.org/recruitment-networks/shapes#EducationalInstitutionShape
Validation shape for educational institution instances.
Instances of cacontology-recruitment:EducationalInstitution can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-recruitment:EducationalInstitution | ||||
| cacontology-recruitment:schoolType | 1 | 1 |
xsd:string
|
|
| cacontology-recruitment:socioeconomicLevel | 0 | 1 |
xsd:string
|
|
| cacontology-recruitment:studentPopulation | 0 | 1 |
xsd:nonNegativeInteger
|
|
| 1 | 1 |
xsd:string
|
||
@prefix cacontology-recruitment: <https://cacontology.projectvic.org/recruitment-networks#> .
@prefix cacontology-recruitment-shapes: <https://cacontology.projectvic.org/recruitment-networks/shapes#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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:EducationalInstitutionShape a sh:NodeShape ;
rdfs:label "Educational Institution Shape"@en ;
rdfs:comment "Validation shape for educational institution instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "public" "private" "charter" "alternative" "homeschool" "online" ) ;
sh:maxCount 1 ;
sh:message "School type must be public, private, charter, alternative, homeschool, or online."@en ;
sh:minCount 1 ;
sh:path cacontology-recruitment:schoolType ],
[ sh:datatype xsd:nonNegativeInteger ;
sh:maxCount 1 ;
sh:maxInclusive 5000 ;
sh:message "Student population must be 10-5000."@en ;
sh:minCount 0 ;
sh:minInclusive 10 ;
sh:path cacontology-recruitment:studentPopulation ],
[ sh:datatype xsd:string ;
sh:in ( "low" "middle" "high" "mixed" ) ;
sh:maxCount 1 ;
sh:message "Socioeconomic level must be low, middle, high, or mixed."@en ;
sh:minCount 0 ;
sh:path cacontology-recruitment:socioeconomicLevel ],
[ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 200 ;
sh:message "Educational institution must have label 3-200 characters."@en ;
sh:minCount 1 ;
sh:minLength 3 ;
sh:path rdfs:label ] ;
sh:targetClass cacontology-recruitment:EducationalInstitution .