{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "Message",
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "subtype": {
      "type": "string"
    },
    "channel": {
      "type": "string"
    },
    "user": {
      "type": "string"
    },
    "text": {
      "type": "string"
    },
    "ts": {
      "type": "string"
    },
    "thread_ts": {
      "type": "string"
    },
    "reply_count": {
      "type": "integer"
    },
    "reply_users_count": {
      "type": "integer"
    },
    "latest_reply": {
      "type": "string"
    },
    "reply_users": {
      "type": "array"
    },
    "blocks": {
      "type": "array"
    },
    "attachments": {
      "type": "array"
    },
    "files": {
      "type": "array"
    },
    "reactions": {
      "type": "array"
    },
    "edited": {
      "type": "object"
    },
    "bot_id": {
      "type": "string"
    },
    "bot_profile": {
      "type": "object"
    },
    "metadata": {
      "type": "object"
    },
    "permalink": {
      "type": "string"
    }
  }
}