Salesforce · JSON Structure

Salesforce Records Structure

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

Records 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

00QB0000003pOQsMAM 00QB0000003pORDMA2

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "Records",
  "properties": {
    "00QB0000003pOQsMAM": {
      "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"
              ]
            },
            "City": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Company": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Country": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "CreatedBy": {
              "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"
              ]
            },
            "CreatedById": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "CreatedDate": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "CurrentGenerators__c": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Description": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "['string', 'null']"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Email": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Fax": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "FirstName": {
              "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"
              ]
            },
            "LastModifiedBy": {
              "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"
              ]
            },
            "LastModifiedById": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "LastModifiedDate": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "LastName": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "LeadSource": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "MobilePhone": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "['string', 'null']"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "NumberOfEmployees": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "['string', 'null']"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "NumberofLocations__c": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "integer"
                }
              },
              "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', 'null']"
                    },
                    "lastModifiedDate": {
                      "type": "['string', 'null']"
                    },
                    "recordTypeId": {
                      "type": "['string', 'null']"
                    },
                    "recordTypeInfo": {
                      "type": "['string', 'null']"
                    },
                    "systemModstamp": {
                      "type": "['string', 'null']"
                    },
                    "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"
              ]
            },
            "Phone": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "PostalCode": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Primary__c": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "ProductInterest__c": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Rating": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "SICCode__c": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Salutation": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "State": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Status": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Street": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Title": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Website": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "['string', 'null']"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            }
          },
          "required": [
            "AnnualRevenue",
            "City",
            "Company",
            "Country",
            "CreatedBy",
            "CreatedById",
            "CreatedDate",
            "CurrentGenerators__c",
            "Description",
            "Email",
            "Fax",
            "FirstName",
            "Industry",
            "LastModifiedBy",
            "LastModifiedById",
            "LastModifiedDate",
            "LastName",
            "LeadSource",
            "MobilePhone",
            "NumberOfEmployees",
            "NumberofLocations__c",
            "Owner",
            "OwnerId",
            "Phone",
            "PostalCode",
            "Primary__c",
            "ProductInterest__c",
            "Rating",
            "SICCode__c",
            "Salutation",
            "State",
            "Status",
            "Street",
            "Title",
            "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"
      ]
    },
    "00QB0000003pORDMA2": {
      "type": "object",
      "properties": {
        "apiName": {
          "type": "string"
        },
        "childRelationships": {
          "type": "object"
        },
        "eTag": {
          "type": "string"
        },
        "fields": {
          "type": "object",
          "properties": {
            "AnnualRevenue": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "['string', 'null']"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "City": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "['string', 'null']"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Company": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Country": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "CreatedBy": {
              "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"
              ]
            },
            "CreatedById": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "CreatedDate": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "CurrentGenerators__c": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Description": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "['string', 'null']"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Email": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Fax": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "['string', 'null']"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "FirstName": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "Industry": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "['string', 'null']"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "LastModifiedBy": {
              "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"
              ]
            },
            "LastModifiedById": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "['string', 'null']"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
                "value"
              ]
            },
            "LastModifiedDate": {
              "type": "object",
              "properties": {
                "displayValue": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "displayValue",
               

# --- truncated at 32 KB (43 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/salesforce/refs/heads/main/json-structure/salesforce-records-structure.json