Ontology Version: 3.1.0

cacontology-detection:RiskStratificationResultShape leaf node


URI

https://cacontology.projectvic.org/detection#RiskStratificationResultShape

Label

Risk Stratification Result Shape

Description

Validates risk stratification result artifacts with optional tier/score and explainability rationale.

Property Constraints (3)

Focus nodes of this shape (cacontology-detection:RiskStratificationResult) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-detection:riskRationale Explainable rationale describing why a given tier/score was assigned (features, rules, evidentiary factors, or analyst judgment summary).
sh:message Risk rationale must be a string when present.
0 1 xsd:string
cacontology-detection:riskScore Numeric risk score used for prioritization (0.0-1.0 or other documented scale). Exact scale should be documented in risk rationale or associated documentation.
sh:message Risk score must be a decimal when present.
0 1 xsd:decimal
cacontology-detection:riskTier Categorical risk tier assigned for prioritization (e.g., critical/high/medium/low).
sh:message Risk tier must be one of: critical/high/medium/low/unknown (when present).
0 1 xsd:string
sh:in critical, high, medium, low, unknown

Implementation

@prefix cacontology-detection: <https://cacontology.projectvic.org/detection#> .
@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-detection:RiskStratificationResultShape a sh:NodeShape ;
    rdfs:label "Risk Stratification Result Shape"@en ;
    rdfs:comment "Validates risk stratification result artifacts with optional tier/score and explainability rationale."@en ;
    sh:property [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:message "Risk score must be a decimal when present."@en ;
            sh:minCount 0 ;
            sh:path cacontology-detection:riskScore ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "Risk rationale must be a string when present."@en ;
            sh:minCount 0 ;
            sh:path cacontology-detection:riskRationale ],
        [ sh:datatype xsd:string ;
            sh:in ( "critical" "high" "medium" "low" "unknown" ) ;
            sh:maxCount 1 ;
            sh:message "Risk tier must be one of: critical/high/medium/low/unknown (when present)."@en ;
            sh:minCount 0 ;
            sh:path cacontology-detection:riskTier ] ;
    sh:targetClass cacontology-detection:RiskStratificationResult .