Salesforce · JSON Structure

Salesforce Capabilities8 Structure

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

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

Properties

edit status upDownVote verified

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "Capabilities8",
  "properties": {
    "edit": {
      "type": "object",
      "properties": {
        "isEditRestricted": {
          "type": "boolean"
        },
        "isEditableByMeUrl": {
          "type": "string"
        },
        "lastEditedBy": {
          "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"
          ]
        },
        "lastEditedDate": {
          "type": "string"
        },
        "latestRevision": {
          "type": "integer"
        },
        "relativeLastEditedDate": {
          "type": "string"
        }
      },
      "required": [
        "isEditRestricted",
        "isEditableByMeUrl",
        "lastEditedBy",
        "lastEditedDate",
        "latestRevision",
        "relativeLastEditedDate"
      ]
    },
    "status": {
      "type": "object",
      "properties": {
        "feedEntityStatus": {
          "type": "string"
        },
        "isApprovableByMe": {
          "type": "boolean"
        }
      },
      "required": [
        "feedEntityStatus",
        "isApprovableByMe"
      ]
    },
    "upDownVote": {
      "type": "object",
      "properties": {
        "downVoteCount": {
          "type": "integer"
        },
        "myVote": {
          "type": "string"
        },
        "upVoteCount": {
          "type": "integer"
        }
      },
      "required": [
        "downVoteCount",
        "myVote",
        "upVoteCount"
      ]
    },
    "verified": {
      "type": "object",
      "properties": {
        "isVerifiableByMe": {
          "type": "boolean"
        },
        "isVerified": {
          "type": "boolean"
        },
        "isVerifiedByAnonymized": {
          "type": "['string', 'null']"
        },
        "lastVerifiedByUser": {
          "type": "['string', 'null']"
        },
        "lastVerifiedDate": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "isVerifiableByMe",
        "isVerified",
        "isVerifiedByAnonymized",
        "lastVerifiedByUser",
        "lastVerifiedDate"
      ]
    }
  },
  "required": [
    "edit",
    "status",
    "upDownVote",
    "verified"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}