Salesforce · JSON Structure

Salesforce Ui Record Representation Structure

A Salesforce record with field values and UI metadata

Type: object Properties: 12
Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

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

Properties

id apiName childRelationships eTag fields recordTypeId recordTypeInfo systemModstamp lastModifiedById lastModifiedDate createdById createdDate

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

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "A Salesforce record with field values and UI metadata",
  "name": "RecordRepresentation",
  "properties": {
    "id": {
      "type": "string",
      "description": "The 18-character Salesforce record ID"
    },
    "apiName": {
      "type": "string",
      "description": "The API name of the object type"
    },
    "childRelationships": {
      "type": "object",
      "description": "Child relationship data indexed by relationship name"
    },
    "eTag": {
      "type": "string",
      "description": "ETag for optimistic concurrency control"
    },
    "fields": {
      "type": "object",
      "description": "Field values indexed by field API name"
    },
    "recordTypeId": {
      "type": "string",
      "description": "The record type ID"
    },
    "recordTypeInfo": {
      "type": "object",
      "description": "Record type metadata",
      "properties": {
        "available": {
          "type": "boolean"
        },
        "defaultRecordTypeMapping": {
          "type": "boolean"
        },
        "master": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "recordTypeId": {
          "type": "string"
        }
      }
    },
    "systemModstamp": {
      "type": "datetime"
    },
    "lastModifiedById": {
      "type": "string"
    },
    "lastModifiedDate": {
      "type": "datetime"
    },
    "createdById": {
      "type": "string"
    },
    "createdDate": {
      "type": "datetime"
    }
  },
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}