Salesforce · JSON Structure

Salesforce Get Lookup Field Suggestions Structure

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

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

Properties

lookupResults metadata

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "GetLookupFieldSuggestions",
  "properties": {
    "lookupResults": {
      "type": "object",
      "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"
                      },
                      "Name": {
                        "type": "object"
                      },
                      "Site": {
                        "type": "object"
                      }
                    },
                    "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"
      ]
    },
    "metadata": {
      "type": "object",
      "properties": {
        "Account": {
          "type": "object",
          "properties": {
            "fieldApiName": {
              "type": "['string', 'null']"
            },
            "objectApiName": {
              "type": "['string', 'null']"
            },
            "secondaryField": {
              "type": "string"
            },
            "targetInfo": {
              "type": "object"
            }
          },
          "required": [
            "fieldApiName",
            "objectApiName",
            "secondaryField",
            "targetInfo"
          ]
        }
      },
      "required": [
        "Account"
      ]
    }
  },
  "required": [
    "lookupResults",
    "metadata"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}