Ontology Version: 3.1.0

cacontology-custodial:AuthorizationProcessShape leaf node


URI

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

Label

Authorization Process Shape

Description

Validation shape for authorization process instances.

Targets (1)

  • cacontology-custodial:AuthorizationProcess sh:targetClass

Property Constraints (2)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-custodial:authorizationStatus
sh:message Authorization process must specify status from the allowed list.
1 1 xsd:string
sh:in pending, approved, denied, suspended, revoked, expired, conditional
cacontology-custodial:authorizationType
sh:message Authorization process must specify authorization type from the allowed list.
1 1 xsd:string
sh:in employment, volunteer, contractor, temporary, emergency, provisional, full

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:AuthorizationProcessShape a sh:NodeShape ;
    rdfs:label "Authorization Process Shape"@en ;
    rdfs:comment "Validation shape for authorization process instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "employment" "volunteer" "contractor" "temporary" "emergency" "provisional" "full" ) ;
            sh:maxCount 1 ;
            sh:message "Authorization process must specify authorization type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-custodial:authorizationType ],
        [ sh:datatype xsd:string ;
            sh:in ( "pending" "approved" "denied" "suspended" "revoked" "expired" "conditional" ) ;
            sh:maxCount 1 ;
            sh:message "Authorization process must specify status from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-custodial:authorizationStatus ] ;
    sh:targetClass cacontology-custodial:AuthorizationProcess .