Ontology Version: 3.1.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.

Property Constraints (1)

Focus nodes of this shape (cacontology-undercover:ExplicitMessageRequestAction) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-undercover:requestType Type of explicit content requested (images, videos, video_call).
sh:message Request type must be from the allowed list.
0 1 xsd:string
sh:in images, videos, video_call, live_stream

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 .