https://cacontology.projectvic.org/taskforce#PersonnelAllocationShape
Validation shape for personnel allocation instances.
Focus nodes of this shape (cacontology-taskforce:PersonnelAllocation) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
cacontology-taskforce:fullTimeEquivalent |
sh:message Full-time equivalent must be between 0.1 and 100.0. |
1 | 1 | xsd:decimal |
sh:minInclusive
0.1
sh:maxInclusive
100.0
|
cacontology-taskforce:personnelCount |
sh:message Personnel allocation must specify personnel count between 1 and 100. |
1 | 1 | xsd:nonNegativeInteger |
sh:minInclusive
1
sh:maxInclusive
100
|
cacontology-taskforce:personnelType |
sh:message Personnel allocation must specify personnel type from the allowed list. |
1 | 1 | xsd:string |
sh:in
sworn_officers, civilian_analysts, technical_specialists, administrative_staff, prosecutors, victim_advocates
|
@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 .