Salesforce · JSON Structure

Salesforce Results4 Structure

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

Results4 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

result statusCode

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "Results4",
  "properties": {
    "result": {
      "type": "object",
      "properties": {
        "apiName": {
          "type": "string"
        },
        "childRelationships": {
          "type": "object"
        },
        "eTag": {
          "type": "string"
        },
        "fields": {
          "type": "object",
          "properties": {
            "AnnualRevenue": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "string"
                },
                "value": {
                  "type": "integer"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "BillingCity": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "BillingCountry": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "BillingPostalCode": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "BillingState": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "BillingStreet": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Industry": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Name": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Owner": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "string"
                },
                "value": {
                  "type": "object",
                  "properties": {
                    "apiName": {
                      "type": "string"
                    },
                    "childRelationships": {
                      "type": "object"
                    },
                    "eTag": {
                      "type": "string"
                    },
                    "fields": {
                      "type": "object",
                      "properties": {
                        "Id": {
                          "type": "object"
                        },
                        "Name": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "Id",
                        "Name"
                      ]
                    },
                    "id": {
                      "type": "string"
                    },
                    "lastModifiedById": {
                      "type": "string"
                    },
                    "lastModifiedDate": {
                      "type": "string"
                    },
                    "recordTypeId": {
                      "type": "['string', 'null']"
                    },
                    "recordTypeInfo": {
                      "type": "['string', 'null']"
                    },
                    "systemModstamp": {
                      "type": "string"
                    },
                    "weakEtag": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "apiName",
                    "childRelationships",
                    "eTag",
                    "fields",
                    "id",
                    "lastModifiedById",
                    "lastModifiedDate",
                    "recordTypeId",
                    "recordTypeInfo",
                    "systemModstamp",
                    "weakEtag"
                  ]
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "OwnerId": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Parent": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "['string', 'null']"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "ParentId": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "['string', 'null']"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Phone": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "PhotoUrl": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Site": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "['string', 'null']"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Type": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Website": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            }
          },
          "required": [
            "AnnualRevenue",
            "BillingCity",
            "BillingCountry",
            "BillingPostalCode",
            "BillingState",
            "BillingStreet",
            "Industry",
            "Name",
            "Owner",
            "OwnerId",
            "Parent",
            "ParentId",
            "Phone",
            "PhotoUrl",
            "Site",
            "Type",
            "Website"
          ]
        },
        "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"
      ]
    },
    "statusCode": {
      "type": "integer"
    }
  },
  "required": [
    "result",
    "statusCode"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}