Ontology Version: 3.1.0

cacontology-impact:VulnerabilityContextShape leaf node


URI

https://cacontology.projectvic.org/victim-impact#VulnerabilityContextShape

Label

Vulnerability Context Shape

Description

Validates vulnerability contexts as observed circumstances, not identity labels.

Shape Properties

Instances of cacontology-impact:VulnerabilityContext can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-impact:VulnerabilityContext
cacontology-impact:associatedWithFamilyRejection 1 xsd:boolean
cacontology-impact:associatedWithHousingInstability 1 xsd:boolean
cacontology-impact:informsPreventionIntervention
cacontology-impact:mitigatedByProtectiveSupport

Implementation

@prefix cacontology-impact: <https://cacontology.projectvic.org/victim-impact#> .
@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-impact:VulnerabilityContextShape a sh:NodeShape ;
    rdfs:label "Vulnerability Context Shape"@en ;
    rdfs:comment "Validates vulnerability contexts as observed circumstances, not identity labels."@en ;
    sh:property [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "associatedWithFamilyRejection must be boolean when specified."@en ;
            sh:path cacontology-impact:associatedWithFamilyRejection ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "associatedWithHousingInstability must be boolean when specified."@en ;
            sh:path cacontology-impact:associatedWithHousingInstability ],
        [ sh:message "mitigatedByProtectiveSupport must reference protective support nodes."@en ;
            sh:nodeKind sh:IRI ;
            sh:path cacontology-impact:mitigatedByProtectiveSupport ],
        [ sh:message "informsPreventionIntervention must reference prevention/outreach action nodes."@en ;
            sh:nodeKind sh:IRI ;
            sh:path cacontology-impact:informsPreventionIntervention ] ;
    sh:targetClass cacontology-impact:VulnerabilityContext .