https://cacontology.projectvic.org/custodial#CaregiverRelationshipShape
Validation shape for caregiver relationship instances.
Focus nodes of this shape (cacontology-custodial:CaregiverRelationship) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
cacontology-custodial:caregivingResponsibilities |
sh:message Caregiver relationship must specify caregiving responsibilities from the allowed list. |
1 | 1 | xsd:string |
sh:in
full_care, partial_care, supervision, transportation, educational_support, medical_care, temporary_care, emergency_care
|
| cacontology-custodial:supervisionLevel | Level of supervision provided (none, minimal, moderate, close, constant). sh:message Caregiver relationship must specify supervision level from the allowed list. |
1 | 1 | xsd:string |
sh:in
constant, frequent, periodic, minimal, none, as_needed
|
@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:CaregiverRelationshipShape a sh:NodeShape ;
rdfs:label "Caregiver Relationship Shape"@en ;
rdfs:comment "Validation shape for caregiver relationship instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "full_care" "partial_care" "supervision" "transportation" "educational_support" "medical_care" "temporary_care" "emergency_care" ) ;
sh:maxCount 1 ;
sh:message "Caregiver relationship must specify caregiving responsibilities from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-custodial:caregivingResponsibilities ],
[ sh:datatype xsd:string ;
sh:in ( "constant" "frequent" "periodic" "minimal" "none" "as_needed" ) ;
sh:maxCount 1 ;
sh:message "Caregiver relationship must specify supervision level from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-custodial:supervisionLevel ] ;
sh:targetClass cacontology-custodial:CaregiverRelationship .