{
    "type": "object",
    "properties": {
        "ok": {
            "type": "boolean"
        },
        "type": {
            "type": "string"
        },
        "message": {
            "type": "object",
            "properties": {
                "user": {
                    "type": "string"
                },
                "text": {
                    "type": "string"
                },
                "type": {
                    "type": "string"
                },
                "ts": {
                    "type": "string"
                },
                "permalink": {
                    "type": "string"
                },
                "client_msg_id": {
                    "type": "string"
                },
                "team": {
                    "type": "string"
                },
                "blocks": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "properties": {
                            "type": {
                                "type": "string"
                            },
                            "block_id": {
                                "type": "string"
                            },
                            "elements": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "type": {
                                            "type": "string"
                                        },
                                        "elements": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "type": {
                                                        "type": "string"
                                                    },
                                                    "text": {
                                                        "type": "string"
                                                    },
                                                    "url": {
                                                        "type": "string"
                                                    }
                                                },
                                                "required": [
                                                    "type"
                                                ]
                                            }
                                        }
                                    },
                                    "required": [
                                        "type"
                                    ]
                                }
                            }
                        },
                        "required": [
                            "type",
                            "block_id"
                        ]
                    }
                },
                "reactions": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "properties": {
                            "name": {
                                "type": "string"
                            },
                            "users": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "count": {
                                "type": "integer"
                            }
                        },
                        "required": [
                            "name",
                            "users",
                            "count"
                        ]
                    }
                }
            },
            "required": [
                "text",
                "type",
                "ts"
            ]
        },
        "channel": {
            "type": "string"
        }
    },
    "version": 1
}
