Ontology Version: 3.1.0

cacontology-custodial:TrustViolationShape leaf node


URI

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

Label

Trust Violation Shape

Description

Validation shape for trust violation instances.

Targets (1)

Property Constraints (4)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-custodial:trustLevelAfter
sh:message Trust level after violation must be from the allowed list.
0 1 xsd:string
sh:in none, minimal, moderate, high, complete, absolute
cacontology-custodial:trustLevelBefore
sh:message Trust level before violation must be from the allowed list.
0 1 xsd:string
sh:in none, minimal, moderate, high, complete, absolute
cacontology-custodial:violationSeverity Severity level of trust violation (minor, moderate, severe, extreme).
sh:message Trust violation must specify severity from the allowed list.
1 1 xsd:string
sh:in minor, moderate, severe, extreme, catastrophic
cacontology-custodial:violationType Type of trust violation (abuse_of_authority, breach_of_care, exploitation, negligence).
sh:message Trust violation must specify violation type from the allowed list.
1 1 xsd:string
sh:in exploitation, abuse, neglect, abandonment, betrayal, manipulation, coercion

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:TrustViolationShape a sh:NodeShape ;
    rdfs:label "Trust Violation Shape"@en ;
    rdfs:comment "Validation shape for trust violation instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "minor" "moderate" "severe" "extreme" "catastrophic" ) ;
            sh:maxCount 1 ;
            sh:message "Trust violation must specify severity from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-custodial:violationSeverity ],
        [ sh:datatype xsd:string ;
            sh:in ( "none" "minimal" "moderate" "high" "complete" "absolute" ) ;
            sh:maxCount 1 ;
            sh:message "Trust level before violation must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-custodial:trustLevelBefore ],
        [ sh:datatype xsd:string ;
            sh:in ( "none" "minimal" "moderate" "high" "complete" "absolute" ) ;
            sh:maxCount 1 ;
            sh:message "Trust level after violation must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-custodial:trustLevelAfter ],
        [ sh:datatype xsd:string ;
            sh:in ( "exploitation" "abuse" "neglect" "abandonment" "betrayal" "manipulation" "coercion" ) ;
            sh:maxCount 1 ;
            sh:message "Trust violation must specify violation type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-custodial:violationType ] ;
    sh:targetClass cacontology-custodial:TrustViolation .