Salesforce · JSON Structure

Salesforce Graph1 Structure

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

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

Properties

graphId graphResponse isSuccessful

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "Graph1",
  "properties": {
    "graphId": {
      "type": "string"
    },
    "graphResponse": {
      "type": "object",
      "properties": {
        "compositeResponse": {
          "type": "array",
          "description": "",
          "items": {
            "type": "object",
            "properties": {
              "body": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "success": {
                    "type": "boolean"
                  },
                  "errors": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object"
                    }
                  }
                },
                "required": [
                  "id",
                  "success",
                  "errors"
                ]
              },
              "httpHeaders": {
                "type": "object",
                "properties": {
                  "Location": {
                    "type": "string"
                  }
                },
                "required": [
                  "Location"
                ]
              },
              "httpStatusCode": {
                "type": "integer"
              },
              "referenceId": {
                "type": "string"
              }
            },
            "required": [
              "body",
              "httpHeaders",
              "httpStatusCode",
              "referenceId"
            ]
          }
        }
      },
      "required": [
        "compositeResponse"
      ]
    },
    "isSuccessful": {
      "type": "boolean"
    }
  },
  "required": [
    "graphId",
    "graphResponse",
    "isSuccessful"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}