{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-experience-cloud/json-schema/salesforce-experience-cloud-branding-set-schema.json",
  "title": "BrandingSet",
  "description": "A branding set with visual properties",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-experience-cloud-branding-sets-api-openapi.yml#/components/schemas/BrandingSet",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Branding set ID"
    },
    "name": {
      "type": "string",
      "description": "Name of the branding set"
    },
    "description": {
      "type": "string",
      "description": "Description of the branding set"
    },
    "properties": {
      "type": "array",
      "description": "Branding properties",
      "items": {
        "$ref": "#/$defs/BrandingProperty"
      }
    }
  },
  "$defs": {
    "BrandingProperty": {
      "type": "object",
      "description": "A property within a branding set",
      "properties": {
        "name": {
          "type": "string",
          "description": "Property name (e.g., primaryColor, headerFont)"
        },
        "type": {
          "type": "string",
          "description": "Property type",
          "enum": [
            "Color",
            "Font",
            "Image",
            "String"
          ]
        },
        "value": {
          "type": "string",
          "description": "Property value"
        }
      }
    }
  }
}