Salesforce · JSON Structure

Salesforce Input Structure

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

Input 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

richInput

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "Input",
  "properties": {
    "richInput": {
      "type": "object",
      "properties": {
        "subjectId": {
          "type": "string"
        },
        "body": {
          "type": "object",
          "properties": {
            "messageSegments": {
              "type": "array",
              "description": "",
              "items": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  },
                  "fileId": {
                    "type": "string"
                  },
                  "altText": {
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "text"
                ]
              }
            }
          },
          "required": [
            "messageSegments"
          ]
        },
        "capabilities": {
          "type": "object",
          "properties": {
            "files": {
              "type": "object",
              "properties": {
                "items": {
                  "type": "array",
                  "description": "",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "id"
                    ]
                  }
                }
              },
              "required": [
                "items"
              ]
            }
          },
          "required": [
            "files"
          ]
        },
        "feedElementType": {
          "type": "string"
        }
      },
      "required": [
        "subjectId",
        "body",
        "feedElementType"
      ]
    }
  },
  "required": [
    "richInput"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}