https://cacontology.projectvic.org/platforms#ContentModerationActionShape
Validation shape for content moderation action instances.
Instances of cacontology-platforms:ContentModerationAction can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-platforms:ContentModerationAction | ||||
| cacontology-platforms:moderationDecision | 0 | 1 |
xsd:string
|
|
| 1 | 1 |
xsd:dateTime
|
||
@prefix cacontology-platforms: <https://cacontology.projectvic.org/platforms#> .
@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 uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-platforms:ContentModerationActionShape a sh:NodeShape ;
rdfs:label "Content Moderation Action Shape"@en ;
rdfs:comment "Validation shape for content moderation action instances."@en ;
sh:property [ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Content moderation action must specify start time."@en ;
sh:minCount 1 ;
sh:path uco-core:startTime ],
[ sh:datatype xsd:string ;
sh:in ( "approved" "removed" "restricted" "flagged" "escalated" "pending_review" ) ;
sh:maxCount 1 ;
sh:message "Moderation decision must be from the allowed list."@en ;
sh:minCount 0 ;
sh:path cacontology-platforms:moderationDecision ] ;
sh:targetClass cacontology-platforms:ContentModerationAction .