Salesforce · JSON Structure

Salesforce Lookup Results Structure

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

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

Properties

Account

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "LookupResults",
  "properties": {
    "Account": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer"
        },
        "currentPageToken": {
          "type": "['string', 'null']"
        },
        "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": {
                  "Id": {
                    "type": "object",
                    "properties": {
                      "displayValue": {
                        "type": "object"
                      },
                      "value": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "displayValue",
                      "value"
                    ]
                  },
                  "Name": {
                    "type": "object",
                    "properties": {
                      "displayValue": {
                        "type": "object"
                      },
                      "value": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "displayValue",
                      "value"
                    ]
                  },
                  "Site": {
                    "type": "object",
                    "properties": {
                      "displayValue": {
                        "type": "object"
                      },
                      "value": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "displayValue",
                      "value"
                    ]
                  }
                },
                "required": [
                  "Id",
                  "Name",
                  "Site"
                ]
              },
              "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"
      ]
    }
  },
  "required": [
    "Account"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}