Salesforce · Schema

RecordInput

Input for creating or updating a record

Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

Properties

Name Type Description
apiName string The API name of the object type
fields object Field values to set, indexed by field API name
View JSON Schema on GitHub

JSON Schema

salesforce-ui-record-input-schema.json Raw ↑
{
  "type": "object",
  "description": "Input for creating or updating a record",
  "properties": {
    "apiName": {
      "type": "string",
      "description": "The API name of the object type",
      "example": "example_value"
    },
    "fields": {
      "type": "object",
      "description": "Field values to set, indexed by field API name",
      "example": "example_value"
    }
  },
  "required": [
    "apiName",
    "fields"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "RecordInput"
}