Ontology Version: 3.1.0

cacontology-sextortion:SelfHarmThreatShape leaf node


URI

https://cacontology.projectvic.org/sextortion#SelfHarmThreatShape

Label

Self-Harm Threat Shape

Description

Validation shape for self-harm threat mechanisms.

Targets (1)

Property Constraints (1)

Focus nodes of this shape (cacontology-sextortion:SelfHarmThreat) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-sextortion:threatType Type of threat made (screenshot, sharing, posting, contact family).
sh:message SelfHarmThreat must have threatType 'self_harm'.
1 1 xsd:string
sh:hasValue self_harm

Implementation

@prefix cacontology-sextortion: <https://cacontology.projectvic.org/sextortion#> .
@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-sextortion:SelfHarmThreatShape a sh:NodeShape ;
    rdfs:label "Self-Harm Threat Shape"@en ;
    rdfs:comment "Validation shape for self-harm threat mechanisms."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:hasValue "self_harm" ;
            sh:maxCount 1 ;
            sh:message "SelfHarmThreat must have threatType 'self_harm'."@en ;
            sh:minCount 1 ;
            sh:path cacontology-sextortion:threatType ] ;
    sh:targetClass cacontology-sextortion:SelfHarmThreat .