Salesforce · JSON Structure

Salesforce Capabilities Structure

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

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

Properties

associatedActions bookmarks chatterLikes close comments edit interactions mute readBy status topics upDownVote

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "Capabilities",
  "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"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}