https://cacontology.projectvic.org/taskforce#ResourceAllocationShape
Validation shape for resource allocation instances.
Focus nodes of this shape (cacontology-taskforce:ResourceAllocation) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
cacontology-taskforce:allocationAmount |
sh:message Allocation amount must be between $1 and $10,000,000. |
1 | 1 | xsd:decimal |
sh:minInclusive
1.0
sh:maxInclusive
10000000.0
|
cacontology-taskforce:allocationPeriod |
sh:message Resource allocation must specify allocation period from the allowed list. |
1 | 1 | xsd:string |
sh:in
monthly, quarterly, annually, project_based, ongoing, one_time
|
cacontology-taskforce:fundingSource |
sh:message Resource allocation must specify funding source from the allowed list. |
1 | 1 | xsd:string |
sh:in
federal_grant, state_budget, local_budget, asset_forfeiture, private_donation, mixed_sources
|
cacontology-taskforce:resourceType |
sh:message Resource allocation must specify resource type from the allowed list. |
1 | 1 | xsd:string |
sh:in
personnel, equipment, funding, facilities, vehicles, technology, training, support_services
|
@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:ResourceAllocationShape a sh:NodeShape ;
rdfs:label "Resource Allocation Shape"@en ;
rdfs:comment "Validation shape for resource allocation instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "personnel" "equipment" "funding" "facilities" "vehicles" "technology" "training" "support_services" ) ;
sh:maxCount 1 ;
sh:message "Resource allocation must specify resource type from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:resourceType ],
[ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 10000000.0 ;
sh:message "Allocation amount must be between $1 and $10,000,000."@en ;
sh:minCount 1 ;
sh:minInclusive 1.0 ;
sh:path cacontology-taskforce:allocationAmount ],
[ sh:datatype xsd:string ;
sh:in ( "monthly" "quarterly" "annually" "project_based" "ongoing" "one_time" ) ;
sh:maxCount 1 ;
sh:message "Resource allocation must specify allocation period from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:allocationPeriod ],
[ sh:datatype xsd:string ;
sh:in ( "federal_grant" "state_budget" "local_budget" "asset_forfeiture" "private_donation" "mixed_sources" ) ;
sh:maxCount 1 ;
sh:message "Resource allocation must specify funding source from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:fundingSource ] ;
sh:targetClass cacontology-taskforce:ResourceAllocation .