Ontology Version: 2.2.0

cacontology-custodial:AuthorityPositionShape leaf node


URI

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

Label

Authority Position Shape

Description

Validation shape for authority position instances.

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 .