Ontology Version: 3.0.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.

Shape Properties

Instances of cacontology-recantation:RecantationRiskFactor can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-recantation:RecantationRiskFactor
cacontology-recantation:riskFactorCategory 1 1 xsd:string
cac-core:AssessmentResult
cac-core:assesses 1
cac-core:hasConfidence 1 xsd:decimal
1 xsd:string

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 .