Salesforce · JSON Structure

Salesforce Theme Item Structure

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

ThemeItem 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

colors icons name

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "ThemeItem",
  "properties": {
    "colors": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string"
          },
          "context": {
            "type": "string"
          },
          "theme": {
            "type": "string"
          }
        },
        "required": [
          "color",
          "context",
          "theme"
        ]
      }
    },
    "icons": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "properties": {
          "contentType": {
            "type": "string"
          },
          "height": {
            "type": "integer"
          },
          "theme": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "width": {
            "type": "integer"
          }
        },
        "required": [
          "contentType",
          "height",
          "theme",
          "url",
          "width"
        ]
      }
    },
    "name": {
      "type": "string"
    }
  },
  "required": [
    "colors",
    "icons",
    "name"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}