Ontology Version: 2.2.0

cacontology-custodial:TrustViolationShape leaf node


URI

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

Label

Trust Violation Shape

Description

Validation shape for trust violation instances.

Shape Properties

Instances of cacontology-custodial:TrustViolation 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

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 .