https://cacontology.projectvic.org/custodial#BackgroundCheckShape
Validation shape for background check instances.
Focus nodes of this shape (cacontology-custodial:BackgroundCheck) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
cacontology-custodial:checkDate |
sh:message Background check must specify check date. |
1 | 1 | xsd:dateTime | |
cacontology-custodial:checkResult |
sh:message Background check must specify result from the allowed list. |
1 | 1 | xsd:string |
sh:in
passed, failed, conditional, pending, incomplete, expired
|
cacontology-custodial:checkType |
sh:message Background check must specify check type from the allowed list. |
1 | 1 | xsd:string |
sh:in
criminal_history, employment_verification, reference_check, education_verification, comprehensive, basic, enhanced
|
cacontology-custodial:expirationDate |
sh:message Background check may have an expiration date. |
0 | 1 | xsd:dateTime |
@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 .