Salesforce · JSON Structure

Salesforce Nav Item2 Structure

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

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

Properties

availableInClassic availableInLightning color content custom developerName iconUrl id itemType label objectApiName objectLabel objectLabelPlural pageReference standardType

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "NavItem2",
  "properties": {
    "availableInClassic": {
      "type": "boolean"
    },
    "availableInLightning": {
      "type": "boolean"
    },
    "color": {
      "type": "string"
    },
    "content": {
      "type": "['string', 'null']"
    },
    "custom": {
      "type": "boolean"
    },
    "developerName": {
      "type": "string"
    },
    "iconUrl": {
      "type": "string"
    },
    "id": {
      "type": "['string', 'null']"
    },
    "itemType": {
      "type": "string"
    },
    "label": {
      "type": "string"
    },
    "objectApiName": {
      "type": "['string', 'null']"
    },
    "objectLabel": {
      "type": "['string', 'null']"
    },
    "objectLabelPlural": {
      "type": "['string', 'null']"
    },
    "pageReference": {
      "type": "object",
      "properties": {
        "attributes": {
          "type": "object",
          "properties": {
            "pageName": {
              "type": "string"
            },
            "objectApiName": {
              "type": "string"
            },
            "actionName": {
              "type": "string"
            }
          }
        },
        "state": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "attributes",
        "state",
        "type"
      ]
    },
    "standardType": {
      "type": "['string', 'null']"
    }
  },
  "required": [
    "availableInClassic",
    "availableInLightning",
    "color",
    "content",
    "custom",
    "developerName",
    "iconUrl",
    "id",
    "itemType",
    "label",
    "objectApiName",
    "objectLabel",
    "objectLabelPlural",
    "pageReference",
    "standardType"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}