Ontology Version: 3.1.0

cacontology-recantation:RecantationRiskFactorShape leaf node


URI

https://cacontology.projectvic.org/recantation#RecantationRiskFactorShape

Label

Recantation Risk Factor Shape

Description

Validation shape for recantation risk factor instances.

Property Constraints (1)

Focus nodes of this shape (cacontology-recantation:RecantationRiskFactor) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-recantation:riskFactorCategory A normalized category for the recantation risk factor.
sh:message Recantation risk factor must specify a normalized category from the allowed list.
1 1 xsd:string
sh:in unsupportive_family, offender_contact, sibling_separation_concern, system_intervention_fear, community_pressure, caregiver_instability

Implementation

@prefix cacontology-recantation: <https://cacontology.projectvic.org/recantation#> .
@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-recantation:RecantationRiskFactorShape a sh:NodeShape ;
    rdfs:label "Recantation Risk Factor Shape"@en ;
    rdfs:comment "Validation shape for recantation risk factor instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "unsupportive_family" "offender_contact" "sibling_separation_concern" "system_intervention_fear" "community_pressure" "caregiver_instability" ) ;
            sh:maxCount 1 ;
            sh:message "Recantation risk factor must specify a normalized category from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-recantation:riskFactorCategory ] ;
    sh:targetClass cacontology-recantation:RecantationRiskFactor .