Ontology Version: 3.0.0

cacontology-impact:VictimSupportShape leaf node


URI

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

Label

Victim Support Shape

Description

Validation shape for victim support instances, including caregiver and peer support.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-impact:VictimSupport
cacontology-impact:serviceProvider 0 1 xsd:string
cacontology-impact:serviceType 1 1 xsd:string

Implementation

@prefix cacontology-impact: <https://cacontology.projectvic.org/victim-impact#> .
@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-impact:VictimSupportShape a sh:NodeShape ;
    rdfs:label "Victim Support Shape"@en ;
    rdfs:comment "Validation shape for victim support instances, including caregiver and peer support."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "victim_advocacy" "safety_planning" "educational_support" "legal_support" "family_support" "peer_support" ) ;
            sh:maxCount 1 ;
            sh:message "Victim support must specify a supported service type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-impact:serviceType ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "Victim support may specify the service provider."@en ;
            sh:minCount 0 ;
            sh:path cacontology-impact:serviceProvider ] ;
    sh:targetClass cacontology-impact:VictimSupport .