Ontology Version: 2.2.0

cacontology-street:VictimResistanceShape leaf node


URI

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

Label

Victim Resistance Shape

Description

Validation shape for victim resistance instances.

Shape Properties

Instances of cacontology-street:VictimResistance can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-street:VictimResistance
cacontology-street:resistanceLevel 0 1 xsd:string
cacontology-street:VictimStreetResponse
cacontology-street:responseType 0 1 xsd:string

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:VictimResistanceShape a sh:NodeShape ;
    rdfs:label "Victim Resistance Shape"@en ;
    rdfs:comment "Validation shape for victim resistance instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "none" "passive" "active" "aggressive" ) ;
            sh:maxCount 1 ;
            sh:message "Resistance level must be none, passive, active, or aggressive."@en ;
            sh:minCount 0 ;
            sh:path cacontology-street:resistanceLevel ] ;
    sh:targetClass cacontology-street:VictimResistance .