Salesforce · JSON Structure

Salesforce Layout Item Structure

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

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

Properties

editableForNew editableForUpdate label layoutComponents lookupIdApiName required sortable

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "LayoutItem",
  "properties": {
    "editableForNew": {
      "type": "boolean"
    },
    "editableForUpdate": {
      "type": "boolean"
    },
    "label": {
      "type": "string"
    },
    "layoutComponents": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "properties": {
          "apiName": {
            "type": "['string', 'null']"
          },
          "componentType": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "apiName",
          "componentType",
          "label"
        ]
      }
    },
    "lookupIdApiName": {
      "type": "['string', 'null']"
    },
    "required": {
      "type": "boolean"
    },
    "sortable": {
      "type": "boolean"
    }
  },
  "required": [
    "editableForNew",
    "editableForUpdate",
    "label",
    "layoutComponents",
    "lookupIdApiName",
    "required",
    "sortable"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}