https://cacontology.projectvic.org/recruitment-networks/shapes#SchoolVulnerabilityFactorShape
Validation shape for school vulnerability factor instances.
Instances of cacontology-recruitment:SchoolVulnerabilityFactor can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-recruitment:SchoolVulnerabilityFactor | ||||
| cacontology-recruitment:vulnerabilityScore | 0 | 1 |
xsd:decimal
|
|
| 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 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:SchoolVulnerabilityFactorShape a sh:NodeShape ;
rdfs:label "School Vulnerability Factor Shape"@en ;
rdfs:comment "Validation shape for school vulnerability factor instances."@en ;
sh:property [ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 1.0 ;
sh:message "Vulnerability score must be 0.0-1.0."@en ;
sh:minCount 0 ;
sh:minInclusive 0.0 ;
sh:path cacontology-recruitment:vulnerabilityScore ],
[ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 150 ;
sh:message "Vulnerability factor must have label 5-150 characters."@en ;
sh:minCount 1 ;
sh:minLength 5 ;
sh:path rdfs:label ] ;
sh:targetClass cacontology-recruitment:SchoolVulnerabilityFactor .