Ontology Version: 2.7.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.

Shape Properties

Instances of cacontology-detection:RiskStratificationResult can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-detection:RiskStratificationResult
cacontology-detection:riskRationale 0 1 xsd:string
cacontology-detection:riskScore 0 1 xsd:decimal
cacontology-detection:riskTier 0 1 xsd:string

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: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: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:targetClass cacontology-detection:RiskStratificationResult .