Salesforce · JSON Structure

Salesforce Records4 Structure

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

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

Properties

apiName childRelationships eTag fields id lastModifiedById lastModifiedDate recordTypeId recordTypeInfo systemModstamp

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "Records4",
  "properties": {
    "apiName": {
      "type": "string"
    },
    "childRelationships": {
      "type": "object"
    },
    "eTag": {
      "type": "string"
    },
    "fields": {
      "type": "object",
      "properties": {
        "BillingCountry": {
          "type": "object",
          "properties": {
            "displayValue": {
              "type": "['string', 'null']"
            },
            "value": {
              "type": "['string', 'null']"
            }
          },
          "required": [
            "displayValue",
            "value"
          ]
        },
        "CreatedDate": {
          "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"
          ]
        },
        "LastModifiedById": {
          "type": "object",
          "properties": {
            "displayValue": {
              "type": "['string', 'null']"
            },
            "value": {
              "type": "string"
            }
          },
          "required": [
            "displayValue",
            "value"
          ]
        },
        "LastModifiedDate": {
          "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"
          ]
        },
        "Owner": {
          "type": "object",
          "properties": {
            "displayValue": {
              "type": "string"
            },
            "value": {
              "type": "object",
              "properties": {
                "apiName": {
                  "type": "string"
                },
                "childRelationships": {
                  "type": "object"
                },
                "eTag": {
                  "type": "string"
                },
                "fields": {
                  "type": "object",
                  "properties": {
                    "Alias": {
                      "type": "object",
                      "properties": {
                        "displayValue": {
                          "type": "object"
                        },
                        "value": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "displayValue",
                        "value"
                      ]
                    },
                    "CreatedDate": {
                      "type": "object",
                      "properties": {
                        "displayValue": {
                          "type": "object"
                        },
                        "value": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "displayValue",
                        "value"
                      ]
                    },
                    "Id": {
                      "type": "object",
                      "properties": {
                        "displayValue": {
                          "type": "object"
                        },
                        "value": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "displayValue",
                        "value"
                      ]
                    },
                    "LastModifiedById": {
                      "type": "object",
                      "properties": {
                        "displayValue": {
                          "type": "object"
                        },
                        "value": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "displayValue",
                        "value"
                      ]
                    },
                    "LastModifiedDate": {
                      "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"
                      ]
                    },
                    "SystemModstamp": {
                      "type": "object",
                      "properties": {
                        "displayValue": {
                          "type": "object"
                        },
                        "value": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "displayValue",
                        "value"
                      ]
                    }
                  },
                  "required": [
                    "Alias",
                    "CreatedDate",
                    "Id",
                    "LastModifiedById",
                    "LastModifiedDate",
                    "Name",
                    "SystemModstamp"
                  ]
                },
                "id": {
                  "type": "string"
                },
                "lastModifiedById": {
                  "type": "string"
                },
                "lastModifiedDate": {
                  "type": "string"
                },
                "recordTypeId": {
                  "type": "['string', 'null']"
                },
                "recordTypeInfo": {
                  "type": "['string', 'null']"
                },
                "systemModstamp": {
                  "type": "string"
                }
              },
              "required": [
                "apiName",
                "childRelationships",
                "eTag",
                "fields",
                "id",
                "lastModifiedById",
                "lastModifiedDate"
              ]
            }
          },
          "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', 'null']"
            }
          },
          "required": [
            "displayValue",
            "value"
          ]
        },
        "Site": {
          "type": "object",
          "properties": {
            "displayValue": {
              "type": "['string', 'null']"
            },
            "value": {
              "type": "['string', 'null']"
            }
          },
          "required": [
            "displayValue",
            "value"
          ]
        },
        "SystemModstamp": {
          "type": "object",
          "properties": {
            "displayValue": {
              "type": "['string', 'null']"
            },
            "value": {
              "type": "string"
            }
          },
          "required": [
            "displayValue",
            "value"
          ]
        },
        "Type": {
          "type": "object",
          "properties": {
            "displayValue": {
              "type": "['string', 'null']"
            },
            "value": {
              "type": "['string', 'null']"
            }
          },
          "required": [
            "displayValue",
            "value"
          ]
        }
      },
      "required": [
        "BillingCountry",
        "CreatedDate",
        "Id",
        "LastModifiedById",
        "LastModifiedDate",
        "Name",
        "Owner",
        "OwnerId",
        "Phone",
        "Site",
        "SystemModstamp",
        "Type"
      ]
    },
    "id": {
      "type": "string"
    },
    "lastModifiedById": {
      "type": "string"
    },
    "lastModifiedDate": {
      "type": "string"
    },
    "recordTypeId": {
      "type": "string"
    },
    "recordTypeInfo": {
      "type": "['string', 'null']"
    },
    "systemModstamp": {
      "type": "string"
    }
  },
  "required": [
    "apiName",
    "childRelationships",
    "eTag",
    "fields",
    "id",
    "lastModifiedById",
    "lastModifiedDate",
    "recordTypeId",
    "recordTypeInfo",
    "systemModstamp"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}