Salesforce · Schema

CompositeGraphRequest

Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

Properties

Name Type Description
graphs array
View JSON Schema on GitHub

JSON Schema

salesforce-composite-graph-request-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "graphs": {
      "type": "array",
      "description": "",
      "example": [],
      "items": {
        "type": "object",
        "properties": {
          "graphId": {
            "type": "string",
            "example": "500123"
          },
          "compositeRequest": {
            "type": "array",
            "description": "",
            "example": [],
            "items": {
              "type": "object",
              "properties": {
                "method": {
                  "type": "string",
                  "example": "example_value"
                },
                "url": {
                  "type": "string",
                  "example": "https://www.example.com"
                },
                "referenceId": {
                  "type": "string",
                  "example": "500123"
                },
                "body": {
                  "type": "object",
                  "properties": {
                    "Name": {
                      "type": "object"
                    },
                    "Custom__c": {
                      "type": "object"
                    }
                  },
                  "required": [
                    "Name",
                    "Custom__c"
                  ]
                }
              },
              "required": [
                "method",
                "url",
                "referenceId"
              ]
            }
          }
        },
        "required": [
          "graphId",
          "compositeRequest"
        ]
      }
    }
  },
  "required": [
    "graphs"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CompositeGraphRequest"
}