{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-experience-cloud/json-schema/salesforce-experience-cloud-theme-2-schema.json",
  "title": "Theme_2",
  "description": "A site theme configuration",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-experience-cloud-themes-api-openapi.yml#/components/schemas/Theme_2",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Theme ID"
    },
    "name": {
      "type": "string",
      "description": "Name of the theme"
    },
    "description": {
      "type": "string",
      "description": "Description of the theme"
    },
    "isActive": {
      "type": "boolean",
      "description": "Whether this is the currently active theme"
    },
    "themeType": {
      "type": "string",
      "description": "Type of theme"
    },
    "properties": {
      "type": "array",
      "description": "Theme property values",
      "items": {
        "$ref": "#/$defs/ThemeProperty"
      }
    }
  },
  "$defs": {
    "ThemeProperty": {
      "type": "object",
      "description": "A property within a theme",
      "properties": {
        "name": {
          "type": "string",
          "description": "Property name"
        },
        "type": {
          "type": "string",
          "description": "Property type",
          "enum": [
            "Color",
            "Font",
            "Image",
            "String",
            "Number"
          ]
        },
        "value": {
          "type": "string",
          "description": "Property value"
        },
        "group": {
          "type": "string",
          "description": "Logical grouping of the property"
        }
      }
    }
  }
}