Ontology Version: 3.1.0

cacontology-recruitment-shapes:AttendanceProblemsShape leaf node


URI

https://cacontology.projectvic.org/recruitment-networks/shapes#AttendanceProblemsShape

Label

Attendance Problems Shape

Description

Validation shape for attendance problems instances.

Targets (1)

Property Constraints (1)

Focus nodes of this shape (cacontology-recruitment:AttendanceProblems) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-recruitment:attendanceRate School attendance rate as percentage (0.0-1.0).
sh:message Attendance rate must be 0.0-1.0 (percentage).
1 1 xsd:decimal
sh:minInclusive 0.0
sh:maxInclusive 1.0

Implementation

@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:AttendanceProblemsShape a sh:NodeShape ;
    rdfs:label "Attendance Problems Shape"@en ;
    rdfs:comment "Validation shape for attendance problems instances."@en ;
    sh:property [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Attendance rate must be 0.0-1.0 (percentage)."@en ;
            sh:minCount 1 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-recruitment:attendanceRate ] ;
    sh:targetClass cacontology-recruitment:AttendanceProblems .