Ontology Version: 3.0.0

cacontology-custodial:RestrictedContactArrangementShape leaf node


URI

https://cacontology.projectvic.org/custodial#RestrictedContactArrangementShape

Label

Restricted Contact Arrangement Shape

Description

Validation shape for restricted contact arrangement instances.

Shape Properties

Instances of cacontology-custodial:RestrictedContactArrangement can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-custodial:RestrictedContactArrangement
cacontology-custodial:contactRestrictionType 1 1 xsd:string
cacontology-custodial:custodySchedule 0 1 xsd:string

Implementation

@prefix cacontology-custodial: <https://cacontology.projectvic.org/custodial#> .
@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-custodial:RestrictedContactArrangementShape a sh:NodeShape ;
    rdfs:label "Restricted Contact Arrangement Shape"@en ;
    rdfs:comment "Validation shape for restricted contact arrangement instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "no_contact" "supervised_only" "indirect_only" "temporary_suspension" "conditional_contact" ) ;
            sh:maxCount 1 ;
            sh:message "Restricted contact arrangement must specify a restriction type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-custodial:contactRestrictionType ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "Restricted contact arrangement may specify the applicable schedule."@en ;
            sh:minCount 0 ;
            sh:path cacontology-custodial:custodySchedule ] ;
    sh:targetClass cacontology-custodial:RestrictedContactArrangement .