Salesforce · JSON Structure

Salesforce Get Child Records Structure

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

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

Properties

count currentPageToken currentPageUrl nextPageToken nextPageUrl previousPageToken previousPageUrl records

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "GetChildRecords",
  "properties": {
    "count": {
      "type": "integer"
    },
    "currentPageToken": {
      "type": "string"
    },
    "currentPageUrl": {
      "type": "string"
    },
    "nextPageToken": {
      "type": "['string', 'null']"
    },
    "nextPageUrl": {
      "type": "['string', 'null']"
    },
    "previousPageToken": {
      "type": "['string', 'null']"
    },
    "previousPageUrl": {
      "type": "['string', 'null']"
    },
    "records": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "properties": {
          "apiName": {
            "type": "string"
          },
          "childRelationships": {
            "type": "object"
          },
          "eTag": {
            "type": "string"
          },
          "fields": {
            "type": "object",
            "properties": {
              "AccountId": {
                "type": "object",
                "properties": {
                  "displayValue": {
                    "type": "['string', 'null']"
                  },
                  "value": {
                    "type": "string"
                  }
                },
                "required": [
                  "displayValue",
                  "value"
                ]
              },
              "Id": {
                "type": "object",
                "properties": {
                  "displayValue": {
                    "type": "['string', 'null']"
                  },
                  "value": {
                    "type": "string"
                  }
                },
                "required": [
                  "displayValue",
                  "value"
                ]
              },
              "Name": {
                "type": "object",
                "properties": {
                  "displayValue": {
                    "type": "['string', 'null']"
                  },
                  "value": {
                    "type": "string"
                  }
                },
                "required": [
                  "displayValue",
                  "value"
                ]
              }
            },
            "required": [
              "AccountId",
              "Id",
              "Name"
            ]
          },
          "id": {
            "type": "string"
          },
          "lastModifiedById": {
            "type": "string"
          },
          "lastModifiedDate": {
            "type": "string"
          },
          "recordTypeId": {
            "type": "string"
          },
          "recordTypeInfo": {
            "type": "['string', 'null']"
          },
          "systemModstamp": {
            "type": "string"
          },
          "weakEtag": {
            "type": "integer"
          }
        },
        "required": [
          "apiName",
          "childRelationships",
          "eTag",
          "fields",
          "id",
          "lastModifiedById",
          "lastModifiedDate",
          "recordTypeId",
          "recordTypeInfo",
          "systemModstamp",
          "weakEtag"
        ]
      }
    }
  },
  "required": [
    "count",
    "currentPageToken",
    "currentPageUrl",
    "nextPageToken",
    "nextPageUrl",
    "previousPageToken",
    "previousPageUrl",
    "records"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}