Salesforce · JSON Structure

Salesforce Successful Feed Elements Postand Search1 Structure

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

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

Properties

actor body capabilities clientInfo createdDate event feedElementType hasVerifiedComment header id isDeleteRestricted isSharable modifiedDate originalFeedItem originalFeedItemActor parent photoUrl relativeCreatedDate type url visibility

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "SuccessfulFeedElementsPostandSearch1",
  "properties": {
    "actor": {
      "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"
      ]
    },
    "body": {
      "type": "object",
      "properties": {
        "isRichText": {
          "type": "boolean"
        },
        "messageSegments": {
          "type": "array",
          "description": "",
          "items": {
            "type": "object",
            "properties": {
              "text": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "altText": {
                "type": "['string', 'null']"
              },
              "htmlTag": {
                "type": "string"
              },
              "markupType": {
                "type": "string"
              },
              "url": {
                "type": "['string', 'null']"
              },
              "accessible": {
                "type": "boolean"
              },
              "name": {
                "type": "string"
              },
              "record": {
                "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": "object"
                      },
                      "largeIconUrl": {
                        "type": "object"
                      },
                      "mediumIconUrl": {
                        "type": "object"
                      },
                      "smallIconUrl": {
                        "type": "object"
                      },
                      "svgIconUrl": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "color",
                      "largeIconUrl",
                      "mediumIconUrl",
                      "smallIconUrl",
                      "svgIconUrl"
                    ]
                  },
                  "mySubscription": {
                    "type": "['string', 'null']"
                  },
                  "name": {
                    "type": "string"
                  },
                  "outOfOffice": {
                    "type": "object",
                    "properties": {
                      "message": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "message"
                    ]
                  },
                  "photo": {
                    "type": "object",
                    "properties": {
                      "fullEmailPhotoUrl": {
                        "type": "object"
                      },
                      "largePhotoUrl": {
                        "type": "object"
                      },
                      "mediumPhotoUrl": {
                        "type": "object"
                      },
                      "photoVersionId": {
                        "type": "object"
                      },
                      "smallPhotoUrl": {
                        "type": "object"
                      },
                      "standardEmailPhotoUrl": {
                        "type": "object"
                      },
                      "url": {
                        "type": "object"
                      }
                    },
                    "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"
                ]
              }
            },
            "required": [
              "text",
              "type"
            ]
          }
        },
        "text": {
          "type": "string"
        }
      },
      "required": [
        "isRichText",
        "messageSegments",
        "text"
      ]
    },
    "capabilities": {
      "type": "object",
      "properties": {
        "associatedActions": {
          "type": "object",
          "properties": {
            "platformActionGroups": {
              "type": "array",
              "description": "",
              "items": {
                "type": "string"
              }
            }
          },
          "required": [
            "platformActionGroups"
          ]
        },
        "bookmarks": {
          "type": "object",
          "properties": {
            "isBookmarkedByCurrentUser": {
              "type": "boolean"
            }
          },
          "required": [
            "isBookmarkedByCurrentUser"
          ]
        },
        "chatterLikes": {
          "type": "object",
          "properties": {
            "isLikedByCurrentUser": {
              "type": "boolean"
            },
            "likesMessage": {
              "type": "['string', 'null']"
            },
            "myLike": {
              "type": "['string', 'null']"
            },
            "page": {
              "type": "object",
              "properties": {
                "currentPageToken": {
                  "type": "integer"
                },
                "currentPageUrl": {
                  "type": "string"
                },
                "items": {
                  "type": "array",
                  "description": "",
                  "items": {
                    "type": "string"
                  }
                },
                "nextPageToken": {
                  "type": "['string', 'null']"
                },
                "nextPageUrl": {
                  "type": "['string', 'null']"
                },
                "previousPageToken": {
                  "type": "['string', 'null']"
                },
                "previousPageUrl": {
                  "type": "['string', 'null']"
                },
                "total": {
                  "type": "integer"
                }
              },
              "required": [
                "currentPageToken",
                "currentPageUrl",
                "items",
                "nextPageToken",
                "nextPageUrl",
                "previousPageToken",
                "previousPageUrl",
                "total"
              ]
            }
          },
          "required": [
            "isLikedByCurrentUser",
            "likesMessage",
            "myLike",
            "page"
          ]
        },
        "close": {
          "type": "object",
          "properties": {
            "canContextUserUpdateIsClosed": {
              "type": "boolean"
            },
            "isClosed": {
              "type": "boolean"
            }
          },
          "required": [
            "canContextUserUpdateIsClosed",
            "isClosed"
          ]
        },
        "comments": {
          "type": "object",
          "properties": {
            "page": {
              "type": "object",
              "properties": {
                "currentPageToken": {
                  "type": "['string', 'null']"
                },
                "currentPageUrl": {
                  "type": "string"
                },
                "items": {
                  "type": "array",
                  "description": "",
                  "items": {
                    "type": "string"
                  }
                },
                "nextPageToken": {
                  "type": "['string', 'null']"
                },
                "nextPageUrl": {
                  "type": "['string', 'null']"
                },
                "previousPageToken": {
                  "type": "['string', 'null']"
                },
                "previousPageUrl": {
                  "type": "['string', 'null']"
                },
                "total": {
                  "type": "integer"
                }
              },
              "required": [
                "currentPageToken",
                "currentPageUrl",
                "items",
                "nextPageToken",
                "nextPageUrl",
                "previousPageToken",
                "previousPageUrl",
                "total"
              ]
            }
          },
          "required": [
            "page"
          ]
        },
        "edit": {
          "type": "object",
          "properties": {
            "isEditRestricted": {
              "type": "boolean"
            },
            "isEditableByMeUrl": {
              "type": "string"
            },
            "lastEditedBy": {
              "type": "['string', 'null']"
            },
            "lastEditedDate": {
              "type": "['string', 'null']"
            },
            "latestRevision": {
              "type": "integer"
            },
            "relativeLastEditedDate": {
              "type": "['string', 'null']"
            }
          },
          "required": [
            "isEditRestricted",
            "isEditableByMeUrl",
            "lastEditedBy",
            "lastEditedDate",
            "latestRevision",
            "relativeLastEditedDate"
          ]
        },
        "interactions": {
          "type": "object",
          "properties": {
            "count": {
              "type": "integer"
            }
          },
          "required": [
            "count"
          ]
        },
        "mute": {
          "type": "object",
          "properties": {
            "isMutedByMe": {
              "type": "boolean"
            }
          },
          "required": [
            "isMutedByMe"
          ]
        },
        "readBy": {
          "type": "object",
          "properties": {
            "isReadByMe": {
              "type": "boolean"
            },
            "lastReadDateByMe": {
              "type": "string"
            },
            "page": {
              "type": "object",
              "properties": {
                "currentPageToken": {
                  "type": "['string', 'null']"
                },
                "currentPageUrl": {
                  "type": "string"
                },
                "items": {
                  "type": "array",
                  "description": "",
                  "items": {
                    "type": "string"
                  }
                },
                "nextPageToken": {
                  "type": "['string', 'null']"
                },
                "nextPageUrl": {
                  "type": "['string', 'null']"
                },
                "previousPageToken": {
                  "type": "['string', 'null']"
                },
                "previousPageUrl": {
                  "type": "['string', 'null']"
                },
                "total": {
                  "type": "integer"
                }
              },
              "required": [
                "currentPageToken",
                "currentPageUrl",
                "items",
                "nextPageToken",
                "nextPageUrl",
                "previousPageToken",
                "previousPageUrl",
                "total"
              ]
            }
          },
          "required": [
            "isReadByMe",
            "lastReadDateByMe",
            "page"
          ]
        },
        "status": {
          "type": "object",
          "properties": {
            "feedEntityStatus": {
              "type": "string"
            },
            "isApprovableByMe": {
              "type": "boolean"
            }
          },
          "required": [
            "feedEntityStatus",
            "isApprovableByMe"
          ]
        },
        "topics": {
          "type": "object",
          "properties": {
            "canAssignTopics": {
              "type": "boolean"
            },
            "items": {
              "type": "array",
              "description": "",
              "items": {
                "type": "string"
              }
            }
          },
          "required": [
            "canAssignTopics",
            "items"
          ]
        },
        "upDownVote": {
          "type": "object",
          "properties": {
            "downVoteCount": {
              "type": "integer"
            },
            "myVote": {
              "type": "string"
            },
            "upVoteCount": {
              "type": "integer"
            }
          },
          "required": [
            "downVoteCount",
            "myVote",
            "upVoteCount"
          ]
        }
      },
      "required": [
        "associatedActions",
        "bookmarks",
        "chatterLikes",
        "close",
        "comments",
        "edit",
        "interactions",
        "mute",
        "readBy",
        "status",
        "topics",
        "upDownVote"
      ]
    },
    "clientInfo": {
      "type": "object",
      "properties": {
        "applicationName": {
          "type": "string"
        },
        "applicationUrl": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "applicationName",
        "applicationUrl"
      ]
    },
    "createdDate": {
      "type": "string"
    },
    "event": {
      "type": "boolean"
    },
    "feedElementType": {
      "type": "string"
    },
    "hasVerifiedComment": {
      "type": "boolean"
    },
    "header": {
      "type": "object",
      "properties": {
        "isRichText": {
          "type": "['string', 'null']"
        },
        "messageSegments": {
          "type": "array",
          "description": "",
          "items": {
            "type": "object",
            "properties": {
              "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"
                ]
              },
              "reference": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "url"
                ]
              },
              "text": {
                "type": "string"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "motif",
              "reference",
              "text",
              "type"
            ]
          }
        },
        "text": {
          "type": "string"
        }
      },
      "required": [
        "isRichText",
        "messageSegments",
        "text"
      ]
    },
    "id": {
      "type": "string"
    },
    "isDeleteRestricted": {
      "type": "boolean"
    },
    "isSharable": {
      "type": "boolean"
    },
    "modifiedDate": {
      "type": "string"
    },
    "originalFeedItem": {
      "type": "['string', 'null']"
    },
    "originalFeedItemActor": {
      "type": "['string', 'null']"
    },
    "parent": {
      "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"
      ]
    },
    "photoUrl": {
      "type": "string"
    },
    "relativeCreatedDate": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "visibility": {
      "type": "string"
    }
  },
  "required": [
    "actor",
    "body",
    "capabilities",
    "clientInfo",
    "createdDate",
    "event",
    "feedElementType",
    "hasVerifiedComment",
    "header",
    "id",
    "isDeleteRestricted",
    "isSharable",
    "modifiedDate",
    "originalFeedItem",
    "originalFeedItemActor",
    "parent",
    "photoUrl",
    "relativeCreatedDate",
    "type",
    "url",
    "visibility"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}