https://cacontology.projectvic.org/taskforce#PersonnelAllocationShape
Validation shape for personnel allocation instances.
@prefix cacontology-taskforce: <https://cacontology.projectvic.org/taskforce#> .
@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-taskforce:PersonnelAllocationShape a sh:NodeShape ;
rdfs:label "Personnel Allocation Shape"@en ;
rdfs:comment "Validation shape for personnel allocation instances."@en ;
sh:property [ sh:datatype xsd:nonNegativeInteger ;
sh:maxCount 1 ;
sh:maxInclusive 100 ;
sh:message "Personnel allocation must specify personnel count between 1 and 100."@en ;
sh:minCount 1 ;
sh:minInclusive 1 ;
sh:path cacontology-taskforce:personnelCount ],
[ sh:datatype xsd:string ;
sh:in ( "sworn_officers" "civilian_analysts" "technical_specialists" "administrative_staff" "prosecutors" "victim_advocates" ) ;
sh:maxCount 1 ;
sh:message "Personnel allocation must specify personnel type from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:personnelType ],
[ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 100.0 ;
sh:message "Full-time equivalent must be between 0.1 and 100.0."@en ;
sh:minCount 1 ;
sh:minInclusive 0.1 ;
sh:path cacontology-taskforce:fullTimeEquivalent ] ;
sh:targetClass cacontology-taskforce:PersonnelAllocation .