{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "GroupOfPostsEvent",
  "type": "object",
  "properties": {
    "uid": {
      "type": "string",
      "description": "Unique identifier for the event"
    },
    "type": {
      "$ref": "#/components/schemas/GroupOfPostsEventType",
      "description": "The event type"
    },
    "action": {
      "$ref": "#/components/schemas/GroupOfPostsAction",
      "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/GroupOfPosts",
      "description": "The payload containing the group of posts information"
    }
  }
}