Ontology Version: 2.3.0

cacontology-undercover:ExplicitMessageRequestActionShape leaf node


URI

https://cacontology.projectvic.org/undercover#ExplicitMessageRequestActionShape

Label

Explicit Message Request Action Shape

Description

Validation shape for suspect requests for explicit content.

Shape Properties

Instances of cacontology-undercover:ExplicitMessageRequestAction can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-undercover:ExplicitMessageRequestAction
cacontology-undercover:requestType 0 1 xsd:string
cacontology-undercover:SuspectCommunicationAction
cacontology-undercover:occurredDuringOperation 0 1 cacontology-undercover:UndercoverOperation
0 1 rdf:langString

Implementation

@prefix cacontology-undercover: <https://cacontology.projectvic.org/undercover#> .
@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-undercover:ExplicitMessageRequestActionShape a sh:NodeShape ;
    rdfs:label "Explicit Message Request Action Shape"@en ;
    rdfs:comment "Validation shape for suspect requests for explicit content."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "images" "videos" "video_call" "live_stream" ) ;
            sh:maxCount 1 ;
            sh:message "Request type must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-undercover:requestType ] ;
    sh:targetClass cacontology-undercover:ExplicitMessageRequestAction .