Ontology Version: 3.1.0

cacontology-street:IsolationVulnerabilityIndicatorShape leaf node


URI

https://cacontology.projectvic.org/street#IsolationVulnerabilityIndicatorShape

Label

Isolation Vulnerability Indicator Shape

Description

Validation shape for isolation vulnerability indicator instances.

Property Constraints (1)

Focus nodes of this shape (cacontology-street:IsolationVulnerabilityIndicator) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-street:isolationLevel Level of victim isolation (alone, with_friends, with_family).
sh:message Isolation level must be alone, with_friends, or with_family.
0 1 xsd:string
sh:in alone, with_friends, with_family

Implementation

@prefix cacontology-street: <https://cacontology.projectvic.org/street#> .
@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-street:IsolationVulnerabilityIndicatorShape a sh:NodeShape ;
    rdfs:label "Isolation Vulnerability Indicator Shape"@en ;
    rdfs:comment "Validation shape for isolation vulnerability indicator instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "alone" "with_friends" "with_family" ) ;
            sh:maxCount 1 ;
            sh:message "Isolation level must be alone, with_friends, or with_family."@en ;
            sh:minCount 0 ;
            sh:path cacontology-street:isolationLevel ] ;
    sh:targetClass cacontology-street:IsolationVulnerabilityIndicator .