{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-sales-cloud/json-schema/salesforce-sales-cloud-message-body-schema.json",
  "title": "MessageBody",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-sales-cloud-feed-items-api-openapi.yml#/components/schemas/MessageBody",
  "type": "object",
  "properties": {
    "messageSegments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "Text",
              "Mention",
              "Hashtag",
              "Link"
            ]
          },
          "text": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    }
  }
}