Ontology Version: 2.2.0

cacontology-sextortion:ScreenshotThreatShape leaf node


URI

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

Label

Screenshot Threat Shape

Description

Validation shape for screenshot threat instances.

Shape Properties

Instances of cacontology-sextortion:ScreenshotThreat can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

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:ScreenshotThreatShape a sh:NodeShape ;
    rdfs:label "Screenshot Threat Shape"@en ;
    rdfs:comment "Validation shape for screenshot threat instances."@en ;
    sh:property [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Screenshot threat must specify if screenshot evidence exists."@en ;
            sh:minCount 1 ;
            sh:path cacontology-sextortion:screenshotEvidence ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 100 ;
            sh:message "Screenshot count must be between 1 and 100 when specified."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1 ;
            sh:path cacontology-sextortion:screenshotCount ] ;
    sh:targetClass cacontology-sextortion:ScreenshotThreat .