https://cacontology.projectvic.org/recruitment-networks/shapes#SchoolBasedReportingShape
Validation shape for school-based reporting instances.
Focus nodes of this shape (cacontology-recruitment:SchoolBasedReporting) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-recruitment:mandatoryReportingTrigger | Whether report was triggered by mandatory reporting requirements. sh:message Must specify if mandatory reporting was triggered. |
1 | 1 | xsd:boolean | |
| cacontology-recruitment:reportingDelay | Time delay between incident and reporting to authorities in days. sh:message Reporting delay must be 0-365 days. |
0 | 1 | xsd:decimal |
sh:minInclusive
0.0
sh:maxInclusive
365.0
|
| cacontology-recruitment:reportingStaffRole | Role of school staff member making the report (social_worker, counselor, teacher, administrator). sh:message Reporting staff role must be from allowed list. |
1 | 1 | xsd:string |
sh:in
social_worker, counselor, teacher, administrator, nurse, resource_officer
|
uco-core:startTime |
sh:message School-based reporting must have start time. |
1 | 1 | xsd:dateTime |
@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 uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-recruitment-shapes:SchoolBasedReportingShape a sh:NodeShape ;
rdfs:label "School Based Reporting Shape"@en ;
rdfs:comment "Validation shape for school-based reporting instances."@en ;
sh:property [ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 365.0 ;
sh:message "Reporting delay must be 0-365 days."@en ;
sh:minCount 0 ;
sh:minInclusive 0.0 ;
sh:path cacontology-recruitment:reportingDelay ],
[ sh:datatype xsd:string ;
sh:in ( "social_worker" "counselor" "teacher" "administrator" "nurse" "resource_officer" ) ;
sh:maxCount 1 ;
sh:message "Reporting staff role must be from allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-recruitment:reportingStaffRole ],
[ sh:datatype xsd:boolean ;
sh:maxCount 1 ;
sh:message "Must specify if mandatory reporting was triggered."@en ;
sh:minCount 1 ;
sh:path cacontology-recruitment:mandatoryReportingTrigger ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "School-based reporting must have start time."@en ;
sh:minCount 1 ;
sh:path uco-core:startTime ] ;
sh:targetClass cacontology-recruitment:SchoolBasedReporting .