Salesforce · Schema

FeedElementsCapabilityCommentsItems

Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

Properties

Name Type Description
body object
capabilities object
clientInfo object
createdDate string
feedElement object
id string
isDeleteRestricted boolean
likes object
likesMessage ['string', 'null']
moderationFlags ['string', 'null']
myLike ['string', 'null']
parent object
relativeCreatedDate string
threadLevel integer
threadParentId ['string', 'null']
type string
url string
user object
View JSON Schema on GitHub

JSON Schema

salesforce-feed-elements-capability-comments-items-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "body": {
      "type": "object",
      "properties": {
        "isRichText": {
          "type": "boolean",
          "example": true
        },
        "messageSegments": {
          "type": "array",
          "description": "",
          "example": [],
          "items": {
            "type": "object",
            "properties": {
              "text": {
                "type": "string",
                "example": "example_value"
              },
              "type": {
                "type": "string",
                "example": "example_value"
              }
            },
            "required": [
              "text",
              "type"
            ]
          }
        },
        "text": {
          "type": "string",
          "example": "example_value"
        }
      },
      "required": [
        "isRichText",
        "messageSegments",
        "text"
      ]
    },
    "capabilities": {
      "type": "object",
      "properties": {
        "edit": {
          "type": "object",
          "properties": {
            "isEditRestricted": {
              "type": "boolean",
              "example": true
            },
            "isEditableByMeUrl": {
              "type": "string",
              "example": "https://www.example.com"
            },
            "lastEditedBy": {
              "type": "['string', 'null']",
              "example": "example_value"
            },
            "lastEditedDate": {
              "type": "['string', 'null']",
              "example": "example_value"
            },
            "latestRevision": {
              "type": "integer",
              "example": 10
            },
            "relativeLastEditedDate": {
              "type": "['string', 'null']",
              "example": "example_value"
            }
          },
          "required": [
            "isEditRestricted",
            "isEditableByMeUrl",
            "lastEditedBy",
            "lastEditedDate",
            "latestRevision",
            "relativeLastEditedDate"
          ]
        },
        "status": {
          "type": "object",
          "properties": {
            "feedEntityStatus": {
              "type": "string",
              "example": "example_value"
            },
            "isApprovableByMe": {
              "type": "boolean",
              "example": true
            }
          },
          "required": [
            "feedEntityStatus",
            "isApprovableByMe"
          ]
        },
        "upDownVote": {
          "type": "object",
          "properties": {
            "downVoteCount": {
              "type": "integer",
              "example": 42
            },
            "myVote": {
              "type": "string",
              "example": "example_value"
            },
            "upVoteCount": {
              "type": "integer",
              "example": 42
            }
          },
          "required": [
            "downVoteCount",
            "myVote",
            "upVoteCount"
          ]
        },
        "verified": {
          "type": "object",
          "properties": {
            "isVerifiableByMe": {
              "type": "boolean",
              "example": true
            },
            "isVerified": {
              "type": "boolean",
              "example": true
            },
            "isVerifiedByAnonymized": {
              "type": "['string', 'null']",
              "example": "example_value"
            },
            "lastVerifiedByUser": {
              "type": "['string', 'null']",
              "example": "example_value"
            },
            "lastVerifiedDate": {
              "type": "['string', 'null']",
              "example": "example_value"
            }
          },
          "required": [
            "isVerifiableByMe",
            "isVerified",
            "isVerifiedByAnonymized",
            "lastVerifiedByUser",
            "lastVerifiedDate"
          ]
        }
      },
      "required": [
        "edit",
        "status",
        "upDownVote",
        "verified"
      ]
    },
    "clientInfo": {
      "type": "object",
      "properties": {
        "applicationName": {
          "type": "string",
          "example": "example_value"
        },
        "applicationUrl": {
          "type": "['string', 'null']",
          "example": "https://www.example.com"
        }
      },
      "required": [
        "applicationName",
        "applicationUrl"
      ]
    },
    "createdDate": {
      "type": "string",
      "example": "example_value"
    },
    "feedElement": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "example": "abc123"
        },
        "url": {
          "type": "string",
          "example": "https://www.example.com"
        }
      },
      "required": [
        "id",
        "url"
      ]
    },
    "id": {
      "type": "string",
      "example": "abc123"
    },
    "isDeleteRestricted": {
      "type": "boolean",
      "example": true
    },
    "likes": {
      "type": "object",
      "properties": {
        "currentPageToken": {
          "type": "['string', 'null']",
          "example": "CAUQAA"
        },
        "currentPageUrl": {
          "type": "string",
          "example": "https://www.example.com"
        },
        "items": {
          "type": "array",
          "description": "",
          "example": [],
          "items": {
            "type": "string"
          }
        },
        "nextPageToken": {
          "type": "['string', 'null']",
          "example": "CAUQAA"
        },
        "nextPageUrl": {
          "type": "['string', 'null']",
          "example": "https://www.example.com"
        },
        "previousPageToken": {
          "type": "['string', 'null']",
          "example": "CAUQAA"
        },
        "previousPageUrl": {
          "type": "['string', 'null']",
          "example": "https://www.example.com"
        },
        "total": {
          "type": "integer",
          "example": 42
        }
      },
      "required": [
        "currentPageToken",
        "currentPageUrl",
        "items",
        "nextPageToken",
        "nextPageUrl",
        "previousPageToken",
        "previousPageUrl",
        "total"
      ]
    },
    "likesMessage": {
      "type": "['string', 'null']",
      "example": "example_value"
    },
    "moderationFlags": {
      "type": "['string', 'null']",
      "example": "example_value"
    },
    "myLike": {
      "type": "['string', 'null']",
      "example": "example_value"
    },
    "parent": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "example": "abc123"
        },
        "url": {
          "type": "string",
          "example": "https://www.example.com"
        }
      },
      "required": [
        "id",
        "url"
      ]
    },
    "relativeCreatedDate": {
      "type": "string",
      "example": "example_value"
    },
    "threadLevel": {
      "type": "integer",
      "example": 10
    },
    "threadParentId": {
      "type": "['string', 'null']",
      "example": "500123"
    },
    "type": {
      "type": "string",
      "example": "example_value"
    },
    "url": {
      "type": "string",
      "example": "https://www.example.com"
    },
    "user": {
      "type": "object",
      "properties": {
        "additionalLabel": {
          "type": "['string', 'null']",
          "example": "example_value"
        },
        "communityNickname": {
          "type": "string",
          "example": "example_value"
        },
        "companyName": {
          "type": "string",
          "example": "example_value"
        },
        "displayName": {
          "type": "string",
          "example": "example_value"
        },
        "firstName": {
          "type": "string",
          "example": "example_value"
        },
        "id": {
          "type": "string",
          "example": "abc123"
        },
        "isActive": {
          "type": "boolean",
          "example": true
        },
        "isInThisCommunity": {
          "type": "boolean",
          "example": true
        },
        "lastName": {
          "type": "string",
          "example": "example_value"
        },
        "motif": {
          "type": "object",
          "properties": {
            "color": {
              "type": "string",
              "example": "example_value"
            },
            "largeIconUrl": {
              "type": "string",
              "example": "https://www.example.com"
            },
            "mediumIconUrl": {
              "type": "string",
              "example": "https://www.example.com"
            },
            "smallIconUrl": {
              "type": "string",
              "example": "https://www.example.com"
            },
            "svgIconUrl": {
              "type": "['string', 'null']",
              "example": "https://www.example.com"
            }
          },
          "required": [
            "color",
            "largeIconUrl",
            "mediumIconUrl",
            "smallIconUrl",
            "svgIconUrl"
          ]
        },
        "mySubscription": {
          "type": "['string', 'null']",
          "example": "example_value"
        },
        "name": {
          "type": "string",
          "example": "Example Title"
        },
        "outOfOffice": {
          "type": "object",
          "properties": {
            "message": {
              "type": "string",
              "example": "example_value"
            }
          },
          "required": [
            "message"
          ]
        },
        "photo": {
          "type": "object",
          "properties": {
            "fullEmailPhotoUrl": {
              "type": "string",
              "example": "user@example.com"
            },
            "largePhotoUrl": {
              "type": "string",
              "example": "https://www.example.com"
            },
            "mediumPhotoUrl": {
              "type": "string",
              "example": "https://www.example.com"
            },
            "photoVersionId": {
              "type": "string",
              "example": "500123"
            },
            "smallPhotoUrl": {
              "type": "string",
              "example": "https://www.example.com"
            },
            "standardEmailPhotoUrl": {
              "type": "string",
              "example": "user@example.com"
            },
            "url": {
              "type": "string",
              "example": "https://www.example.com"
            }
          },
          "required": [
            "fullEmailPhotoUrl",
            "largePhotoUrl",
            "mediumPhotoUrl",
            "photoVersionId",
            "smallPhotoUrl",
            "standardEmailPhotoUrl",
            "url"
          ]
        },
        "reputation": {
          "type": "['string', 'null']",
          "example": "example_value"
        },
        "title": {
          "type": "['string', 'null']",
          "example": "Example Title"
        },
        "type": {
          "type": "string",
          "example": "example_value"
        },
        "url": {
          "type": "string",
          "example": "https://www.example.com"
        },
        "userType": {
          "type": "string",
          "example": "example_value"
        }
      },
      "required": [
        "additionalLabel",
        "communityNickname",
        "companyName",
        "displayName",
        "firstName",
        "id",
        "isActive",
        "isInThisCommunity",
        "lastName",
        "motif",
        "mySubscription",
        "name",
        "outOfOffice",
        "photo",
        "reputation",
        "title",
        "type",
        "url",
        "userType"
      ]
    }
  },
  "required": [
    "body",
    "capabilities",
    "clientInfo",
    "createdDate",
    "feedElement",
    "id",
    "isDeleteRestricted",
    "likes",
    "likesMessage",
    "moderationFlags",
    "myLike",
    "parent",
    "relativeCreatedDate",
    "threadLevel",
    "threadParentId",
    "type",
    "url",
    "user"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "FeedElementsCapabilityCommentsItems"
}