Salesforce · JSON Structure

Salesforce Sample Lightning Page Structure

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

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

Properties

actions links url

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "SampleLightningPage",
  "properties": {
    "actions": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "properties": {
          "actionListContext": {
            "type": "string"
          },
          "actionTarget": {
            "type": "string"
          },
          "actionTargetType": {
            "type": "string"
          },
          "apiName": {
            "type": "string"
          },
          "externalId": {
            "type": "string"
          },
          "iconUrl": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "isMassAction": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "lwcComponent": {
            "type": "['string', 'null']"
          },
          "primaryColor": {
            "type": "string"
          },
          "relatedListRecordId": {
            "type": "['string', 'null']"
          },
          "relatedSourceObject": {
            "type": "['string', 'null']"
          },
          "section": {
            "type": "['string', 'null']"
          },
          "sourceObject": {
            "type": "string"
          },
          "subtype": {
            "type": "string"
          },
          "targetObject": {
            "type": "string"
          },
          "targetUrl": {
            "type": "['string', 'null']"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "actionListContext",
          "actionTarget",
          "actionTargetType",
          "apiName",
          "externalId",
          "iconUrl",
          "id",
          "isMassAction",
          "label",
          "lwcComponent",
          "primaryColor",
          "relatedListRecordId",
          "relatedSourceObject",
          "section",
          "sourceObject",
          "subtype",
          "targetObject",
          "targetUrl",
          "type"
        ]
      }
    },
    "links": {
      "type": "array",
      "description": "",
      "items": {
        "type": "string"
      }
    },
    "url": {
      "type": "string"
    }
  },
  "required": [
    "actions",
    "links",
    "url"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}