Salesforce · JSON Structure

Salesforce Successful User Messages General Structure

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

SuccessfulUserMessagesGeneral is a JSON Structure definition published by Salesforce, describing 9 properties, of which 9 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

body conversationId conversationUrl id recipients sender sendingCommunity sentDate url

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "SuccessfulUserMessagesGeneral",
  "properties": {
    "body": {
      "type": "object",
      "properties": {
        "isRichText": {
          "type": "['string', 'null']"
        },
        "messageSegments": {
          "type": "array",
          "description": "",
          "items": {
            "type": "string"
          }
        },
        "text": {
          "type": "string"
        }
      },
      "required": [
        "isRichText",
        "messageSegments",
        "text"
      ]
    },
    "conversationId": {
      "type": "string"
    },
    "conversationUrl": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "recipients": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "properties": {
          "additionalLabel": {
            "type": "['string', 'null']"
          },
          "communityNickname": {
            "type": "string"
          },
          "companyName": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "isInThisCommunity": {
            "type": "boolean"
          },
          "lastName": {
            "type": "string"
          },
          "motif": {
            "type": "object",
            "properties": {
              "color": {
                "type": "string"
              },
              "largeIconUrl": {
                "type": "string"
              },
              "mediumIconUrl": {
                "type": "string"
              },
              "smallIconUrl": {
                "type": "string"
              },
              "svgIconUrl": {
                "type": "['string', 'null']"
              }
            },
            "required": [
              "color",
              "largeIconUrl",
              "mediumIconUrl",
              "smallIconUrl",
              "svgIconUrl"
            ]
          },
          "mySubscription": {
            "type": "['string', 'null']"
          },
          "name": {
            "type": "string"
          },
          "outOfOffice": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string"
              }
            },
            "required": [
              "message"
            ]
          },
          "photo": {
            "type": "object",
            "properties": {
              "fullEmailPhotoUrl": {
                "type": "string"
              },
              "largePhotoUrl": {
                "type": "string"
              },
              "mediumPhotoUrl": {
                "type": "string"
              },
              "photoVersionId": {
                "type": "['string', 'null']"
              },
              "smallPhotoUrl": {
                "type": "string"
              },
              "standardEmailPhotoUrl": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "fullEmailPhotoUrl",
              "largePhotoUrl",
              "mediumPhotoUrl",
              "photoVersionId",
              "smallPhotoUrl",
              "standardEmailPhotoUrl",
              "url"
            ]
          },
          "reputation": {
            "type": "['string', 'null']"
          },
          "title": {
            "type": "['string', 'null']"
          },
          "type": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "userType": {
            "type": "string"
          }
        },
        "required": [
          "additionalLabel",
          "communityNickname",
          "companyName",
          "displayName",
          "firstName",
          "id",
          "isActive",
          "isInThisCommunity",
          "lastName",
          "motif",
          "mySubscription",
          "name",
          "outOfOffice",
          "photo",
          "reputation",
          "title",
          "type",
          "url",
          "userType"
        ]
      }
    },
    "sender": {
      "type": "object",
      "properties": {
        "additionalLabel": {
          "type": "['string', 'null']"
        },
        "communityNickname": {
          "type": "string"
        },
        "companyName": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "firstName": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "isActive": {
          "type": "boolean"
        },
        "isInThisCommunity": {
          "type": "boolean"
        },
        "lastName": {
          "type": "string"
        },
        "motif": {
          "type": "object",
          "properties": {
            "color": {
              "type": "string"
            },
            "largeIconUrl": {
              "type": "string"
            },
            "mediumIconUrl": {
              "type": "string"
            },
            "smallIconUrl": {
              "type": "string"
            },
            "svgIconUrl": {
              "type": "['string', 'null']"
            }
          },
          "required": [
            "color",
            "largeIconUrl",
            "mediumIconUrl",
            "smallIconUrl",
            "svgIconUrl"
          ]
        },
        "mySubscription": {
          "type": "['string', 'null']"
        },
        "name": {
          "type": "string"
        },
        "outOfOffice": {
          "type": "object",
          "properties": {
            "message": {
              "type": "string"
            }
          },
          "required": [
            "message"
          ]
        },
        "photo": {
          "type": "object",
          "properties": {
            "fullEmailPhotoUrl": {
              "type": "string"
            },
            "largePhotoUrl": {
              "type": "string"
            },
            "mediumPhotoUrl": {
              "type": "string"
            },
            "photoVersionId": {
              "type": "string"
            },
            "smallPhotoUrl": {
              "type": "string"
            },
            "standardEmailPhotoUrl": {
              "type": "string"
            },
            "url": {
              "type": "string"
            }
          },
          "required": [
            "fullEmailPhotoUrl",
            "largePhotoUrl",
            "mediumPhotoUrl",
            "photoVersionId",
            "smallPhotoUrl",
            "standardEmailPhotoUrl",
            "url"
          ]
        },
        "reputation": {
          "type": "['string', 'null']"
        },
        "title": {
          "type": "['string', 'null']"
        },
        "type": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "userType": {
          "type": "string"
        }
      },
      "required": [
        "additionalLabel",
        "communityNickname",
        "companyName",
        "displayName",
        "firstName",
        "id",
        "isActive",
        "isInThisCommunity",
        "lastName",
        "motif",
        "mySubscription",
        "name",
        "outOfOffice",
        "photo",
        "reputation",
        "title",
        "type",
        "url",
        "userType"
      ]
    },
    "sendingCommunity": {
      "type": "['string', 'null']"
    },
    "sentDate": {
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  },
  "required": [
    "body",
    "conversationId",
    "conversationUrl",
    "id",
    "recipients",
    "sender",
    "sendingCommunity",
    "sentDate",
    "url"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}