https://cacontology.projectvic.org/custodial#BackgroundCheckShape
Validation shape for background check instances.
Instances of cacontology-custodial:BackgroundCheck can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|---|
@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:BackgroundCheckShape a sh:NodeShape ;
rdfs:label "Background Check Shape"@en ;
rdfs:comment "Validation shape for background check instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "criminal_history" "employment_verification" "reference_check" "education_verification" "comprehensive" "basic" "enhanced" ) ;
sh:maxCount 1 ;
sh:message "Background check must specify check type from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-custodial:checkType ],
[ sh:datatype xsd:string ;
sh:in ( "passed" "failed" "conditional" "pending" "incomplete" "expired" ) ;
sh:maxCount 1 ;
sh:message "Background check must specify result from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-custodial:checkResult ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Background check must specify check date."@en ;
sh:minCount 1 ;
sh:path cacontology-custodial:checkDate ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Background check may have an expiration date."@en ;
sh:minCount 0 ;
sh:path cacontology-custodial:expirationDate ] ;
sh:targetClass cacontology-custodial:BackgroundCheck .