Ontology Version: 3.0.0

cacontology-recantation:RecantationNotificationShape leaf node


URI

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

Label

Recantation Notification Shape

Description

Validation shape for recantation notification instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-recantation:RecantationNotification
cacontology-recantation:notificationChannel 1 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: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 .