https://cacontology.projectvic.org/custodial#SupervisionFailureShape
Validation shape for supervision failure instances.
Instances of cacontology-custodial:SupervisionFailure can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-custodial:TrustViolation | ||||
| cacontology-custodial:hasViolationBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-custodial:hasViolationEndPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-custodial:perpetratedBy | 1 |
cacontology-custodial:AuthorityFigure
|
||
| 0 | 1 |
xsd:string
|
||
| 0 | 1 |
xsd:string
|
||
| cacontology-custodial:violationSeverity | 1 | 1 |
xsd:string
|
|
| cacontology-custodial:violationType | 1 | 1 |
xsd:string
|
|
| 1 | ||||
@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:SupervisionFailureShape a sh:NodeShape ;
rdfs:label "Supervision Failure Shape"@en ;
rdfs:comment "Validation shape for supervision failure instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "inadequate_oversight" "absent_supervision" "negligent_supervision" "failed_monitoring" "policy_violation" "procedural_failure" ) ;
sh:maxCount 1 ;
sh:message "Supervision failure must specify failure type from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-custodial:failureType ],
[ sh:datatype xsd:string ;
sh:in ( "minor" "moderate" "severe" "critical" "catastrophic" ) ;
sh:maxCount 1 ;
sh:message "Supervision failure must specify severity from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-custodial:failureSeverity ],
[ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 500 ;
sh:message "Contributing factors should be between 10 and 500 characters when provided."@en ;
sh:minCount 0 ;
sh:minLength 10 ;
sh:path cacontology-custodial:contributingFactors ] ;
sh:targetClass cacontology-custodial:SupervisionFailure .