{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-experience-cloud/json-schema/salesforce-experience-cloud-theme-collection-schema.json",
  "title": "ThemeCollection",
  "description": "Collection of site themes",
  "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/ThemeCollection",
  "type": "object",
  "properties": {
    "themes": {
      "type": "array",
      "description": "List of available themes",
      "items": {
        "$ref": "#/$defs/Theme"
      }
    }
  },
  "$defs": {
    "Theme": {
      "type": "object",
      "description": "Theme configuration for an Experience Cloud site",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier of the theme"
        },
        "name": {
          "type": "string",
          "description": "Name of the theme"
        },
        "themeType": {
          "type": "string",
          "description": "Type of the theme"
        },
        "properties": {
          "type": "object",
          "description": "Theme properties including colors, fonts, and images",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    }
  }
}