https://cacontology.projectvic.org/educational/shapes#IntermediateSchoolGUFOShape
Validation shape for intermediate school institutions with gUFO Organization constraints.
Focus nodes of this shape (cacontology-educational:IntermediateSchool) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-educational:gradeRange | Grade range served by institution (e.g., 6-8, K-12). sh:message Grade range must be valid intermediate school range (6-8) |
0 | * | xsd:string |
sh:pattern
^[6-8](-[6-8])?$
|
| cacontology-educational:studentPopulation | Total number of students enrolled at institution. sh:message Student population must be between 50 and 2000 for intermediate schools |
0 | * | xsd:nonNegativeInteger |
sh:minInclusive
50
sh:maxInclusive
2000
|
@prefix cacontology-educational: <https://cacontology.projectvic.org/educational#> .
@prefix cacontology-educational-shapes: <https://cacontology.projectvic.org/educational/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-educational-shapes:IntermediateSchoolGUFOShape a sh:NodeShape ;
rdfs:label "gUFO Intermediate School Shape"@en ;
rdfs:comment "Validation shape for intermediate school institutions with gUFO Organization constraints."@en ;
sh:property [ sh:datatype xsd:string ;
sh:message "Grade range must be valid intermediate school range (6-8)"@en ;
sh:path cacontology-educational:gradeRange ;
sh:pattern "^[6-8](-[6-8])?$" ],
[ sh:datatype xsd:nonNegativeInteger ;
sh:maxInclusive 2000 ;
sh:message "Student population must be between 50 and 2000 for intermediate schools"@en ;
sh:minInclusive 50 ;
sh:path cacontology-educational:studentPopulation ] ;
sh:targetClass cacontology-educational:IntermediateSchool .