https://cacontology.projectvic.org/taskforce#PerformanceMetricsShape
Validation shape for performance metrics instances.
Focus nodes of this shape (cacontology-taskforce:PerformanceMetrics) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
cacontology-taskforce:benchmarkComparison |
sh:message Benchmark comparison must be from the allowed list. |
0 | 1 | xsd:string |
sh:in
above_benchmark, meets_benchmark, below_benchmark, no_benchmark, exceeds_target
|
cacontology-taskforce:metricType |
sh:message Performance metrics must specify metric type from the allowed list. |
1 | 1 | xsd:string |
sh:in
case_clearance, arrest_count, conviction_rate, response_time, training_completion, resource_utilization
|
cacontology-taskforce:metricValue |
sh:message Metric value must be between 0.0 and 100.0. |
1 | 1 | xsd:decimal |
sh:minInclusive
0.0
sh:maxInclusive
100.0
|
cacontology-taskforce:reportingPeriod |
sh:message Performance metrics must specify reporting period from the allowed list. |
1 | 1 | xsd:string |
sh:in
monthly, quarterly, semi_annually, annually, fiscal_year, calendar_year
|
@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:PerformanceMetricsShape a sh:NodeShape ;
rdfs:label "Performance Metrics Shape"@en ;
rdfs:comment "Validation shape for performance metrics instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "case_clearance" "arrest_count" "conviction_rate" "response_time" "training_completion" "resource_utilization" ) ;
sh:maxCount 1 ;
sh:message "Performance metrics must specify metric type from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:metricType ],
[ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 100.0 ;
sh:message "Metric value must be between 0.0 and 100.0."@en ;
sh:minCount 1 ;
sh:minInclusive 0.0 ;
sh:path cacontology-taskforce:metricValue ],
[ sh:datatype xsd:string ;
sh:in ( "monthly" "quarterly" "semi_annually" "annually" "fiscal_year" "calendar_year" ) ;
sh:maxCount 1 ;
sh:message "Performance metrics must specify reporting period from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:reportingPeriod ],
[ sh:datatype xsd:string ;
sh:in ( "above_benchmark" "meets_benchmark" "below_benchmark" "no_benchmark" "exceeds_target" ) ;
sh:maxCount 1 ;
sh:message "Benchmark comparison must be from the allowed list."@en ;
sh:minCount 0 ;
sh:path cacontology-taskforce:benchmarkComparison ] ;
sh:targetClass cacontology-taskforce:PerformanceMetrics .