Ontology Version: 3.1.0

cacontology-sextortion:SocialMediaSharingThreatShape leaf node


URI

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

Label

Social Media Sharing Threat Shape

Description

Validation shape for social media sharing threat instances.

Property Constraints (2)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-sextortion:contactListAccess
sh:message Social media sharing threat may specify contact list access.
0 1 xsd:boolean
cacontology-sextortion:targetPlatforms
sh:message Target platforms must be specified (3-200 characters).
1 1 xsd:string
sh:minLength 3
sh:maxLength 200

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:SocialMediaSharingThreatShape a sh:NodeShape ;
    rdfs:label "Social Media Sharing Threat Shape"@en ;
    rdfs:comment "Validation shape for social media sharing threat instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 200 ;
            sh:message "Target platforms must be specified (3-200 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 3 ;
            sh:path cacontology-sextortion:targetPlatforms ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Social media sharing threat may specify contact list access."@en ;
            sh:minCount 0 ;
            sh:path cacontology-sextortion:contactListAccess ] ;
    sh:targetClass cacontology-sextortion:SocialMediaSharingThreat .