Ontology Version: 3.1.0

cacontology-undercover:RiskAssessmentShape leaf node


URI

https://cacontology.projectvic.org/undercover#RiskAssessmentShape

Label

Risk Assessment Shape

Description

Validation shape for risk assessment instances.

Targets (1)

  • cacontology-undercover:RiskAssessment sh:targetClass

Property Constraints (4)

Focus nodes of this shape (cacontology-undercover:RiskAssessment) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-undercover:mitigationStrategy
sh:message Risk assessment must specify mitigation strategy from the allowed list.
1 1 xsd:string
sh:in avoidance, mitigation, transfer, acceptance, monitoring, contingency
cacontology-undercover:riskCategory
sh:message Risk assessment must specify risk category from the allowed list.
1 1 xsd:string
sh:in officer_safety, operation_security, legal_liability, public_safety, evidence_integrity, agency_reputation
cacontology-undercover:riskImpact
sh:message Risk assessment must specify risk impact from the allowed list.
1 1 xsd:string
sh:in negligible, minor, moderate, major, severe, catastrophic
cacontology-undercover:riskProbability
sh:message Risk assessment must specify risk probability from the allowed list.
1 1 xsd:string
sh:in very_low, low, moderate, high, very_high, certain

Implementation

@prefix cacontology-undercover: <https://cacontology.projectvic.org/undercover#> .
@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-undercover:RiskAssessmentShape a sh:NodeShape ;
    rdfs:label "Risk Assessment Shape"@en ;
    rdfs:comment "Validation shape for risk assessment instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "officer_safety" "operation_security" "legal_liability" "public_safety" "evidence_integrity" "agency_reputation" ) ;
            sh:maxCount 1 ;
            sh:message "Risk assessment must specify risk category from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-undercover:riskCategory ],
        [ sh:datatype xsd:string ;
            sh:in ( "very_low" "low" "moderate" "high" "very_high" "certain" ) ;
            sh:maxCount 1 ;
            sh:message "Risk assessment must specify risk probability from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-undercover:riskProbability ],
        [ sh:datatype xsd:string ;
            sh:in ( "negligible" "minor" "moderate" "major" "severe" "catastrophic" ) ;
            sh:maxCount 1 ;
            sh:message "Risk assessment must specify risk impact from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-undercover:riskImpact ],
        [ sh:datatype xsd:string ;
            sh:in ( "avoidance" "mitigation" "transfer" "acceptance" "monitoring" "contingency" ) ;
            sh:maxCount 1 ;
            sh:message "Risk assessment must specify mitigation strategy from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-undercover:mitigationStrategy ] ;
    sh:targetClass cacontology-undercover:RiskAssessment .