Salesforce · JSON Structure
Salesforce Get Record Dataand Object Metadata Structure
Type: object
Properties: 5
Required: 5
Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales
GetRecordDataandObjectMetadata is a JSON Structure definition published by Salesforce, describing 5 properties, of which 5 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.
Properties
eTag
layoutUserStates
layouts
objectInfos
records
Meta-schema: https://json-structure.org/draft/2020-12/schema
JSON Structure
{
"type": "object",
"name": "GetRecordDataandObjectMetadata",
"properties": {
"eTag": {
"type": "string"
},
"layoutUserStates": {
"type": "object",
"properties": {
"00hB0000000JrBRIA0": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"sectionUserStates": {
"type": "object",
"properties": {
"01BB0000002rP3IMAU": {
"type": "object",
"properties": {
"collapsed": {
"type": "boolean"
},
"id": {
"type": "string"
}
},
"required": [
"collapsed",
"id"
]
},
"01BB0000002rP3JMAU": {
"type": "object",
"properties": {
"collapsed": {
"type": "boolean"
},
"id": {
"type": "string"
}
},
"required": [
"collapsed",
"id"
]
},
"01BB0000002rP3LMAU": {
"type": "object",
"properties": {
"collapsed": {
"type": "boolean"
},
"id": {
"type": "string"
}
},
"required": [
"collapsed",
"id"
]
},
"01BB0000002rP3MMAU": {
"type": "object",
"properties": {
"collapsed": {
"type": "boolean"
},
"id": {
"type": "string"
}
},
"required": [
"collapsed",
"id"
]
},
"01BB0000002rP3NMAU": {
"type": "object",
"properties": {
"collapsed": {
"type": "boolean"
},
"id": {
"type": "string"
}
},
"required": [
"collapsed",
"id"
]
}
},
"required": [
"01BB0000002rP3IMAU",
"01BB0000002rP3JMAU",
"01BB0000002rP3LMAU",
"01BB0000002rP3MMAU",
"01BB0000002rP3NMAU"
]
}
},
"required": [
"id",
"sectionUserStates"
]
}
},
"required": [
"00hB0000000JrBRIA0"
]
},
"layouts": {
"type": "object",
"properties": {
"Lead": {
"type": "object",
"properties": {
"012000000000000AAA": {
"type": "object",
"properties": {
"Full": {
"type": "object",
"properties": {
"View": {
"type": "object",
"properties": {
"eTag": {
"type": "object"
},
"id": {
"type": "object"
},
"layoutType": {
"type": "object"
},
"mode": {
"type": "object"
},
"objectApiName": {
"type": "object"
},
"recordTypeId": {
"type": "object"
},
"saveOptions": {
"type": "object"
},
"sections": {
"type": "object"
}
},
"required": [
"eTag",
"id",
"layoutType",
"mode",
"objectApiName",
"recordTypeId",
"saveOptions",
"sections"
]
}
},
"required": [
"View"
]
}
},
"required": [
"Full"
]
}
},
"required": [
"012000000000000AAA"
]
}
},
"required": [
"Lead"
]
},
"objectInfos": {
"type": "object",
"properties": {
"Group": {
"type": "object",
"properties": {
"apiName": {
"type": "string"
},
"associateEntityType": {
"type": "['string', 'null']"
},
"associateParentEntity": {
"type": "['string', 'null']"
},
"childRelationships": {
"type": "array",
"description": "",
"items": {
"type": "object",
"properties": {
"childObjectApiName": {
"type": "string"
},
"fieldName": {
"type": "string"
},
"junctionIdListNames": {
"type": "array",
"description": "",
"items": {
"type": "object"
}
},
"junctionReferenceTo": {
"type": "array",
"description": "",
"items": {
"type": "object"
}
},
"relationshipName": {
"type": "string"
}
},
"required": [
"childObjectApiName",
"fieldName",
"junctionIdListNames",
"junctionReferenceTo",
"relationshipName"
]
}
},
"createable": {
"type": "boolean"
},
"custom": {
"type": "boolean"
},
"defaultRecordTypeId": {
"type": "['string', 'null']"
},
"deletable": {
"type": "boolean"
},
"dependentFields": {
"type": "object"
},
"eTag": {
"type": "string"
},
"feedEnabled": {
"type": "boolean"
},
"fields": {
"type": "object",
"properties": {
"CreatedById": {
"type": "object",
"properties": {
"apiName": {
"type": "string"
},
"calculated": {
"type": "boolean"
},
"compound": {
"type": "boolean"
},
"compoundComponentName": {
"type": "['string', 'null']"
},
"compoundFieldName": {
"type": "['string', 'null']"
},
"controllerName": {
"type": "['string', 'null']"
},
"controllingFields": {
"type": "array",
"description": "",
"items": {
"type": "object"
}
},
"createable": {
"type": "boolean"
},
"custom": {
"type": "boolean"
},
"dataType": {
"type": "string"
},
"extraTypeInfo": {
"type": "['string', 'null']"
},
"filterable": {
"type": "boolean"
},
"filteredLookupInfo": {
"type": "['string', 'null']"
},
"highScaleNumber": {
"type": "boolean"
},
"htmlFormatted": {
"type": "boolean"
},
"inlineHelpText": {
"type": "['string', 'null']"
},
"label": {
"type": "string"
},
"length": {
"type": "integer"
},
"nameField": {
"type": "boolean"
},
"polymorphicForeignKey": {
"type": "boolean"
},
"precision": {
"type": "integer"
},
"reference": {
"type": "boolean"
},
"referenceTargetField": {
"type": "['string', 'null']"
},
"referenceToInfos": {
"type": "array",
"description": "",
"items": {
"type": "object"
}
},
"relationshipName": {
"type": "string"
},
"required": {
"type": "boolean"
},
"scale": {
"type": "integer"
},
"searchPrefilterable": {
"type": "boolean"
},
"sortable": {
"type": "boolean"
},
"unique": {
"type": "boolean"
},
"updateable": {
"type": "boolean"
}
},
"required": [
"apiName",
"calculated",
"compound",
"compoundComponentName",
"compoundFieldName",
"controllerName",
"controllingFields",
"createable",
"custom",
"dataType",
"extraTypeInfo",
"filterable",
"filteredLookupInfo",
"highScaleNumber",
"htmlFormatted",
"inlineHelpText",
"label",
"length",
"nameField",
"polymorphicForeignKey",
"precision",
"reference",
"referenceTargetField",
"referenceToInfos",
"relationshipName",
"required",
"scale",
"searchPrefilterable",
"sortable",
"unique",
"updateable"
]
},
"CreatedDate": {
"type": "object",
"properties": {
"apiName": {
"type": "string"
},
"calculated": {
"type": "boolean"
},
"compound": {
"type": "boolean"
},
"compoundComponentName": {
"type": "['string', 'null']"
},
"compoundFieldName": {
"type": "['string', 'null']"
},
"controllerName": {
"type": "['string', 'null']"
},
"controllingFields": {
"type": "array",
"description": "",
"items": {
"type": "object"
}
},
"createable": {
"type": "boolean"
},
"custom": {
"type": "boolean"
},
"dataType": {
"type": "string"
},
"extraTypeInfo": {
"type": "['string', 'null']"
},
"filterable": {
"type": "boolean"
},
"filteredLookupInfo": {
"type": "['string', 'null']"
},
"highScaleNumber": {
"type": "boolean"
},
"htmlFormatted": {
"type": "boolean"
},
"inlineHelpText": {
"type": "['string', 'null']"
},
"label": {
"type": "string"
},
"length": {
"type": "integer"
},
"nameField": {
"type": "boolean"
},
"polymorphicForeignKey": {
"type": "boolean"
},
"precision": {
"type": "integer"
},
"reference": {
"type": "boolean"
},
"referenceTargetField": {
"type": "['string', 'null']"
},
"referenceToInfos": {
"type": "array",
"description": "",
"items": {
"type": "object"
}
},
"relationshipName": {
"type": "['string', 'null']"
},
"required": {
"type": "boolean"
},
"scale": {
"type": "integer"
},
"searchPrefilterable": {
"type": "boolean"
},
"sortable": {
"type": "boolean"
},
"unique": {
"type": "boolean"
},
"updateable": {
"type": "boolean"
}
},
"required": [
"apiName",
"calculated",
"compound",
"compoundComponentName",
"compoundFieldName",
"controllerName",
"controllingFields",
"createable",
"custom",
"dataType",
"extraTypeInfo",
"filterable",
"filteredLookupInfo",
"highScaleNumber",
"htmlFormatted",
"inlineHelpText",
"label",
"length",
"nameField",
"polymorphicForeignKey",
"precision",
"reference",
"referenceTargetField",
"referenceToInfos",
"relationshipName",
"required",
"scale",
"searchPrefilterable",
"sortable",
"unique",
"updateable"
]
},
"DeveloperName": {
"type": "object",
"properties": {
"apiName": {
"type": "string"
},
"calculated": {
"type": "boolean"
},
"compound": {
"type": "boolean"
},
"compoundComponentName": {
"type": "['string', 'null']"
},
"compoundFieldName": {
"type": "['string', 'null']"
},
"controllerName": {
"type": "['string', 'null']"
},
"controllingFields": {
"type": "array",
"description": "",
"items": {
"type": "object"
}
},
"createable": {
"type": "boolean"
},
"custom": {
"type": "boolean"
},
"dataType": {
"type": "string"
},
"extraTypeInfo": {
"type": "['string', 'null']"
},
"filterable": {
"type": "boolean"
},
"filteredLookupInfo": {
"type": "['string', 'null']"
},
"highScaleNumber": {
"type": "boolean"
},
"htmlFormatted": {
"type": "boolean"
},
"inlineHelpText": {
"type": "['string', 'null']"
},
"label": {
"type": "string"
},
"length": {
"type": "integer"
},
"nameField": {
"type": "boolean"
},
"polymorphicForeignKey": {
"type": "boolean"
},
"precision": {
"type": "integer"
},
"reference": {
"type": "boolean"
},
"referenceTargetField": {
"type": "['string', 'null']"
},
"referenceToInfos": {
"type": "array",
"description": "",
"items": {
"type": "object"
}
},
"relationshipName": {
"type": "['string', 'null']"
},
"required": {
"type": "boolean"
},
"scale": {
"type": "integer"
},
"searchPrefilterable": {
"type": "boolean"
},
"sortable": {
"type": "boolean"
},
"unique": {
"type": "boolean"
},
"updateable": {
"type": "boolean"
}
},
"required": [
"apiName",
"calculated",
"compound",
"compoundComponentName",
"compoundFieldName",
"controllerName",
"controllingFields",
"createable",
"custom",
"dataType",
"extraTypeInfo",
"filterable",
"filteredLookupInfo",
"highScaleNumber",
"htmlFormatted",
"inlineHelpText",
"label",
"length",
"nameField",
"polymorphicForeignKey",
"precision",
"reference",
"referenceTargetField",
"referenceToInfos",
"relationshipName",
"required",
"scale",
"searchPrefilterable",
"sortable",
"unique",
"updateable"
]
},
"DoesIncludeBosses": {
"type": "object",
"properties": {
"apiName": {
"type": "string"
},
"calculated": {
"type": "boolean"
},
"compound": {
"type": "boolean"
},
"compoundComponentName": {
"type": "['string', 'null']"
},
"compoundFieldName": {
"type": "['string', 'null']"
},
"controllerName": {
"type": "['string', 'null']"
},
"controllingFields": {
"type": "array",
"description": "",
"items": {
"type": "object"
}
},
"createable": {
"type": "boolean"
},
"custom": {
"type": "boolean"
},
"dataType": {
"type": "string"
},
"extraTypeInfo": {
"type": "['string', 'null']"
},
"filterable": {
"type": "boolean"
},
"filteredLookupInfo": {
"type": "['string', 'null']"
},
"highScaleNumber": {
"type": "boolean"
},
"htmlFormatted": {
"type": "boolean"
},
"inlineHelpText": {
"type": "['string', 'null']"
},
"label": {
"type": "string"
},
"length": {
"type": "integer"
},
"nameField": {
"type": "boolean"
},
"polymorphicForeignKey": {
"type": "boolean"
},
"precision": {
"type": "integer"
},
"reference": {
"type": "boolean"
},
"referenceTargetField": {
"type": "['string', 'null']"
},
"referenceToInfos": {
"type": "array",
"description": "",
"items": {
"type": "object"
}
},
"relationshipName": {
"type": "['string', 'null']"
},
"required": {
"type": "boolean"
},
"scale": {
"type": "integer"
},
"searchPrefilterable": {
"type": "boolean"
},
"sortable": {
"type": "boolean"
},
"unique": {
"type": "boolean"
},
"updateable": {
"type": "boolean"
}
},
"required": [
"apiName",
"calculated",
"compound",
"compoundComponentName",
"compoundFieldName",
"controllerName",
"controllingFields",
"createable",
"custom",
"dataType",
"extraTypeInfo",
"filterable",
"filteredLookupInfo",
"highScaleNumber",
"htmlFormatted",
"inlineHelpText",
"label",
"length",
"nameField",
"polymorphicForeignKey",
"precision",
"reference",
"referenceTargetField",
"referenceToInfos",
"relationshipName",
"required",
"scale",
"searchPrefilterable",
"sortable",
"unique",
"updateable"
]
},
"DoesSendEmailToMembers": {
"type": "object",
"properties": {
"apiName": {
"type": "string"
},
"calculated": {
"type": "boolean"
},
"compound": {
"type": "boolean"
},
"compoundComponentName": {
"type": "['string', 'null']"
},
"compoundFieldName": {
"type": "['string', 'null']"
},
"controllerName": {
"type": "['string', 'null']"
},
"controllingFields": {
"type": "array",
"description": "",
"items": {
"type": "object"
}
},
"createable": {
"type": "boolean"
},
"custom": {
"type": "boolean"
},
"dataType": {
"type": "string"
},
"extraTypeInfo": {
"type": "['string', 'null']"
},
"filterable": {
"type": "boolean"
},
"filteredLookupInfo": {
"type": "['string', 'null']"
},
"highScaleNumber": {
"type": "boolean"
},
"htmlFormatted": {
"type": "boolean"
},
"inlineHelpText": {
"type": "['string', 'null']"
},
"label": {
"type": "string"
},
"length": {
"type": "integer"
},
"nameField": {
"type": "boolean"
},
"polymorphicForeignKey": {
"type": "boolean"
},
"precision": {
"type": "integer"
},
"reference": {
"type": "boolean"
},
"referenceTargetField": {
"type": "['string', 'null']"
},
"referenceToInfos": {
"type": "array",
"description": "",
"items": {
"type": "object"
}
},
"relationshipName": {
"type": "['string', 'null']"
},
"required": {
"type": "boolean"
},
"scale": {
"type": "integer"
},
"searchPrefilterable": {
"type": "boolean"
},
"sortable": {
"type": "boolean"
},
"unique": {
"type": "boolean"
},
"updateable": {
"type": "boolean"
}
},
"required": [
"apiName",
"calculated",
"compound",
"compoundComponentName",
"compoundFieldName",
"controllerName",
"controllingFields",
"createable",
"custom",
"dataType",
"extraTypeInfo",
"filterable",
"filteredLookupInfo",
"highScaleNumber",
"htmlFormatted",
"inlineHelpText",
"label",
"length",
"nameField",
"polymorphicForeignKey",
"precision",
"reference",
"referenceTargetField",
"referenceToInfos",
"relationshipName",
"required",
"scale",
"searchPrefilterable",
"sortable",
"unique",
"updateable"
]
},
"Email": {
"type": "object",
"properties": {
"apiName": {
"type": "string"
},
"calculated": {
"type": "boolean"
},
"compound": {
"type": "boolean"
},
"compoundComponentName": {
"type": "['string', 'null']"
},
"compoundFieldName": {
"type": "['string', 'null']"
},
"controllerName": {
"type": "['string', 'null']"
},
"controllingFields": {
"type": "array",
"description": "",
"items": {
"type": "object"
}
},
"createable": {
"type": "boolean"
},
"custom": {
"type": "boolean"
},
"dataType": {
"type": "string"
},
"extraTypeInfo": {
"type": "['st
# --- truncated at 32 KB (1429 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/salesforce/refs/heads/main/json-structure/salesforce-get-record-dataand-object-metadata-structure.json