https://cacontology.projectvic.org/custodial#SupervisionFailureShape
Validation shape for supervision failure instances.
Focus nodes of this shape (cacontology-custodial:SupervisionFailure) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
cacontology-custodial:contributingFactors |
sh:message Contributing factors should be between 10 and 500 characters when provided. |
0 | 1 | xsd:string |
sh:minLength
10
sh:maxLength
500
|
cacontology-custodial:failureSeverity |
sh:message Supervision failure must specify severity from the allowed list. |
1 | 1 | xsd:string |
sh:in
minor, moderate, severe, critical, catastrophic
|
cacontology-custodial:failureType |
sh:message Supervision failure must specify failure type from the allowed list. |
1 | 1 | xsd:string |
sh:in
inadequate_oversight, absent_supervision, negligent_supervision, failed_monitoring, policy_violation, procedural_failure
|
@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 .