Ontology Version: 3.1.0

cacontology-recantation:RecantationNotificationShape leaf node


URI

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

Label

Recantation Notification Shape

Description

Validation shape for recantation notification instances.

Property Constraints (1)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-recantation:notificationChannel The channel through which the recantation was reported or communicated.
sh:message Recantation notification must specify the channel from the allowed list.
1 1 xsd:string
sh:in caregiver_report, family_report, victim_report, professional_report, court_update, school_report

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:RecantationNotificationShape a sh:NodeShape ;
    rdfs:label "Recantation Notification Shape"@en ;
    rdfs:comment "Validation shape for recantation notification instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "caregiver_report" "family_report" "victim_report" "professional_report" "court_update" "school_report" ) ;
            sh:maxCount 1 ;
            sh:message "Recantation notification must specify the channel from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-recantation:notificationChannel ] ;
    sh:targetClass cacontology-recantation:RecantationNotification .