https://cacontology.projectvic.org/taskforce#TaskForceShape
Validation shape for task force 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:TaskForceShape a sh:NodeShape ;
rdfs:label "Task Force Shape"@en ;
rdfs:comment "Validation shape for task force instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "icac_task_force" "joint_task_force" "federal_task_force" "state_task_force" "regional_task_force" "specialized_unit" ) ;
sh:maxCount 1 ;
sh:message "Task force must specify task force type from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:taskForceType ],
[ sh:datatype xsd:string ;
sh:in ( "federal_grant" "state_funding" "local_funding" "mixed_funding" "private_funding" "grant_combination" ) ;
sh:maxCount 1 ;
sh:message "Task force must specify funding source from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:fundingSource ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Task force must specify establishment date."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:establishmentDate ],
[ sh:datatype xsd:string ;
sh:in ( "local" "county" "state" "regional" "multi_state" "national" ) ;
sh:maxCount 1 ;
sh:message "Task force must specify jurisdiction coverage from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:jurisdictionCoverage ],
[ sh:datatype xsd:nonNegativeInteger ;
sh:maxCount 1 ;
sh:maxInclusive 50 ;
sh:message "Task force must have between 2 and 50 member agencies."@en ;
sh:minCount 1 ;
sh:minInclusive 2 ;
sh:path cacontology-taskforce:memberAgencyCount ],
[ sh:datatype xsd:string ;
sh:in ( "active" "inactive" "suspended" "disbanded" "forming" "transitioning" ) ;
sh:maxCount 1 ;
sh:message "Task force must specify operational status from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:operationalStatus ] ;
sh:targetClass cacontology-taskforce:TaskForce .