{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "PublishingPostEvent",
  "type": "object",
  "properties": {
    "uid": {
      "type": "string",
      "description": "Unique identifier for the event"
    },
    "type": {
      "$ref": "#/components/schemas/PublishingPostEventType",
      "description": "The event type"
    },
    "action": {
      "$ref": "#/components/schemas/PostAction",
      "description": "The action"
    },
    "organizationId": {
      "type": "integer",
      "format": "int64",
      "description": "Unique identifier for the organization"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of the event"
    },
    "payload": {
      "$ref": "#/components/schemas/PublishingPost",
      "description": "The payload containing the post information"
    }
  }
}