Salesforce · JSON Structure

Salesforce Comment Edit Request Structure

Type: object Properties: 1 Required: 1
Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

Comment-EditRequest is a JSON Structure definition published by Salesforce, describing 1 property, of which 1 is required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

body

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "Comment-EditRequest",
  "properties": {
    "body": {
      "type": "object",
      "properties": {
        "messageSegments": {
          "type": "array",
          "description": "",
          "items": {
            "type": "object",
            "properties": {
              "text": {
                "type": "string"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "text",
              "type"
            ]
          }
        }
      },
      "required": [
        "messageSegments"
      ]
    }
  },
  "required": [
    "body"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}