https://cacontology.projectvic.org/platforms#ContentModerationActionShape
Validation shape for content moderation action instances.
Focus nodes of this shape (cacontology-platforms:ContentModerationAction) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-platforms:moderationDecision | The decision made during content moderation (e.g., 'approved', 'removed', 'restricted', 'flagged'). sh:message Moderation decision must be from the allowed list. |
0 | 1 | xsd:string |
sh:in
approved, removed, restricted, flagged, escalated, pending_review
|
uco-core:startTime |
sh:message Content moderation action must specify start time. |
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 .