Ontology Version: 3.1.0

cacontology-grooming:AccountReplacementEventShape leaf node


URI

https://cacontology.projectvic.org/grooming#AccountReplacementEventShape

Label

Account Replacement Event Shape

Description

Validation shape for account replacement after ban or block.

Property Constraints (4)

Focus nodes of this shape (cacontology-grooming:AccountReplacementEvent) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-grooming:originalAccountId Reference to the banned or blocked account if known.
sh:message Original account may be specified at most once.
0 1 uco-observable:Account
cacontology-grooming:replacementAccountId Reference to the new account used to resume contact if known.
sh:message Replacement account may be specified at most once.
0 1 uco-observable:Account
cacontology-grooming:resumesAt Phase instance the offender returns to after account replacement (typically InitialContactPhase).
sh:message Account replacement must specify the phase resumed via resumesAt.
1 1 cac-core:Phase
cacontology-grooming:triggeredBy What triggered account replacement (victim_block, platform_ban, detection_risk, voluntary).
sh:message Account replacement trigger must be victim_block, platform_ban, detection_risk, or voluntary.
1 1 xsd:string
sh:in victim_block, platform_ban, detection_risk, voluntary

Implementation

@prefix cac-core: <https://cacontology.projectvic.org/core#> .
@prefix cacontology-grooming: <https://cacontology.projectvic.org/grooming#> .
@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 uco-observable: <https://ontology.unifiedcyberontology.org/uco/observable/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-grooming:AccountReplacementEventShape a sh:NodeShape ;
    rdfs:label "Account Replacement Event Shape"@en ;
    rdfs:comment "Validation shape for account replacement after ban or block."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "victim_block" "platform_ban" "detection_risk" "voluntary" ) ;
            sh:maxCount 1 ;
            sh:message "Account replacement trigger must be victim_block, platform_ban, detection_risk, or voluntary."@en ;
            sh:minCount 1 ;
            sh:path cacontology-grooming:triggeredBy ],
        [ sh:class cac-core:Phase ;
            sh:maxCount 1 ;
            sh:message "Account replacement must specify the phase resumed via resumesAt."@en ;
            sh:minCount 1 ;
            sh:path cacontology-grooming:resumesAt ],
        [ sh:class uco-observable:Account ;
            sh:maxCount 1 ;
            sh:message "Original account may be specified at most once."@en ;
            sh:minCount 0 ;
            sh:path cacontology-grooming:originalAccountId ],
        [ sh:class uco-observable:Account ;
            sh:maxCount 1 ;
            sh:message "Replacement account may be specified at most once."@en ;
            sh:minCount 0 ;
            sh:path cacontology-grooming:replacementAccountId ] ;
    sh:targetClass cacontology-grooming:AccountReplacementEvent .