Salesforce · JSON Structure

Salesforce Successful Following Post Structure

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

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

Properties

community id subject subscriber url

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "SuccessfulFollowing-POST",
  "properties": {
    "community": {
      "type": "['string', 'null']"
    },
    "id": {
      "type": "string"
    },
    "subject": {
      "type": "object",
      "properties": {
        "entityLabel": {
          "type": "object",
          "properties": {
            "label": {
              "type": "string"
            },
            "labelPlural": {
              "type": "string"
            }
          },
          "required": [
            "label",
            "labelPlural"
          ]
        },
        "id": {
          "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"
        },
        "type": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      },
      "required": [
        "entityLabel",
        "id",
        "motif",
        "mySubscription",
        "name",
        "type",
        "url"
      ]
    },
    "subscriber": {
      "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"
      ]
    },
    "url": {
      "type": "string"
    }
  },
  "required": [
    "community",
    "id",
    "subject",
    "subscriber",
    "url"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}