Salesforce · JSON Structure

Salesforce Themes Structure

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

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

Properties

themeItems

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "Themes",
  "properties": {
    "themeItems": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "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"
        ]
      }
    }
  },
  "required": [
    "themeItems"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}