https://cacontology.projectvic.org/custodial#RestrictedContactArrangementShape
Validation shape for restricted contact arrangement instances.
Focus nodes of this shape (cacontology-custodial:RestrictedContactArrangement) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-custodial:contactRestrictionType | Type of contact restriction applied to the arrangement (no_contact, supervised_only, indirect_only, temporary_suspension, conditional_contact). sh:message Restricted contact arrangement must specify a restriction type from the allowed list. |
1 | 1 | xsd:string |
sh:in
no_contact, supervised_only, indirect_only, temporary_suspension, conditional_contact
|
| cacontology-custodial:custodySchedule | Schedule or pattern of custody (weekdays, weekends, alternating, specific_dates). sh:message Restricted contact arrangement may specify the applicable schedule. |
0 | 1 | xsd:string |
@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 .