Ontology Version: 2.2.0

cacontology-custodial:CaregiverRelationshipShape leaf node


URI

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

Label

Caregiver Relationship Shape

Description

Validation shape for caregiver relationship instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-custodial:CaregiverRelationship
1 1 xsd:string
cacontology-custodial:supervisionLevel 1 1 xsd:string
cacontology-custodial:CustodialRelationship
cacontology-custodial:accessLevel 1 1 xsd:string
cacontology-custodial:hasCustodyBeginPoint 1 xsd:dateTimeStamp
cacontology-custodial:hasCustodyEndPoint 1 xsd:dateTimeStamp
cacontology-custodial:inCustodyPhase 1 1 gufo:Phase
cacontology-custodial:relationshipDuration 0 1 xsd:decimal
cacontology-custodial:relationshipType 1 1 xsd:string
cacontology-custodial:trustLevel 1 1 xsd:string
1
0 1 xsd:dateTime
0 1 xsd:dateTime

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: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 .