Ontology Version: 3.1.0

cacontology-custodial:AuthorityPositionShape leaf node


URI

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

Label

Authority Position Shape

Description

Validation shape for authority position instances.

Targets (1)

  • cacontology-custodial:AuthorityPosition sh:targetClass

Property Constraints (3)

Focus nodes of this shape (cacontology-custodial:AuthorityPosition) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-custodial:authorityLevel Level of authority over child (limited, moderate, extensive, complete).
sh:message Authority position must specify authority level from the allowed list.
1 1 xsd:string
sh:in low, moderate, high, absolute, institutional, legal
cacontology-custodial:positionDuration
sh:message Position duration must be between 0 and 50 years.
0 1 xsd:decimal
sh:minInclusive 0.0
sh:maxInclusive 50.0
cacontology-custodial:positionType
sh:message Authority position must specify position type from the allowed list.
1 1 xsd:string
sh:in educational, religious, recreational, medical, legal, social_services, family, community

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:AuthorityPositionShape a sh:NodeShape ;
    rdfs:label "Authority Position Shape"@en ;
    rdfs:comment "Validation shape for authority position instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "educational" "religious" "recreational" "medical" "legal" "social_services" "family" "community" ) ;
            sh:maxCount 1 ;
            sh:message "Authority position must specify position type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-custodial:positionType ],
        [ sh:datatype xsd:string ;
            sh:in ( "low" "moderate" "high" "absolute" "institutional" "legal" ) ;
            sh:maxCount 1 ;
            sh:message "Authority position must specify authority level from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-custodial:authorityLevel ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 50.0 ;
            sh:message "Position duration must be between 0 and 50 years."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-custodial:positionDuration ] ;
    sh:targetClass cacontology-custodial:AuthorityPosition .