Ontology Version: 2.2.0

cacontology-taskforce:PerformanceMetricsShape leaf node


URI

https://cacontology.projectvic.org/taskforce#PerformanceMetricsShape

Label

Performance Metrics Shape

Description

Validation shape for performance metrics instances.

Implementation

@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 .