Ontology Version: 3.1.0

cacontology-platforms:ContentModerationQueueShape leaf node


URI

https://cacontology.projectvic.org/platforms#ContentModerationQueueShape

Label

Content Moderation Queue Shape

Description

Validates moderation queue objects used for scaled content review operations.

Property Constraints (2)

Focus nodes of this shape (cacontology-platforms:ContentModerationQueue) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-platforms:queueOperatedBy Links a moderation queue to the electronic service provider operating the queue.
sh:message Content moderation queue must specify exactly one operator (Electronic Service Provider).
1 1
cacontology-platforms:queueSize Number of items currently in a content moderation queue.
sh:message Queue size must be a non-negative integer when present.
0 1 xsd:nonNegativeInteger

Implementation

@prefix cacontology-platforms: <https://cacontology.projectvic.org/platforms#> .
@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-platforms:ContentModerationQueueShape a sh:NodeShape ;
    rdfs:label "Content Moderation Queue Shape"@en ;
    rdfs:comment "Validates moderation queue objects used for scaled content review operations."@en ;
    sh:property [ sh:maxCount 1 ;
            sh:message "Content moderation queue must specify exactly one operator (Electronic Service Provider)."@en ;
            sh:minCount 1 ;
            sh:path cacontology-platforms:queueOperatedBy ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:message "Queue size must be a non-negative integer when present."@en ;
            sh:minCount 0 ;
            sh:path cacontology-platforms:queueSize ] ;
    sh:targetClass cacontology-platforms:ContentModerationQueue .