{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/metricool/json-schema/metricool-agency-properties-for-update-dto-schema.json",
  "title": "AgencyPropertiesForUpdateDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/metricool-agency-customization-kit-api-service-api-openapi.yml#/components/schemas/AgencyPropertiesForUpdateDto",
  "type": "object",
  "properties": {
    "agencyLogo": {
      "type": "string"
    },
    "loginLogo": {
      "type": "string"
    },
    "faviconLogo": {
      "type": "string"
    },
    "supportChat": {
      "type": "boolean"
    },
    "helpArticles": {
      "type": "boolean"
    },
    "colorPalette": {
      "$ref": "#/$defs/ColorsDto"
    },
    "reportLogo": {
      "type": "string"
    },
    "mailMessage": {
      "type": "string"
    },
    "mailReplyTo": {
      "type": "string"
    },
    "mailLogo": {
      "type": "string"
    },
    "themeColorPalette": {
      "$ref": "#/$defs/ThemeColorsDto"
    }
  },
  "$defs": {
    "ColorsDto": {
      "required": [
        "blue",
        "charcoal",
        "cobalt",
        "cyan",
        "darkYellow",
        "green",
        "lightYellow",
        "pink",
        "purple",
        "red",
        "slate",
        "teal",
        "yellow"
      ],
      "type": "object",
      "properties": {
        "blue": {
          "minLength": 1,
          "type": "string"
        },
        "teal": {
          "minLength": 1,
          "type": "string"
        },
        "pink": {
          "minLength": 1,
          "type": "string"
        },
        "yellow": {
          "minLength": 1,
          "type": "string"
        },
        "lightYellow": {
          "minLength": 1,
          "type": "string"
        },
        "darkYellow": {
          "minLength": 1,
          "type": "string"
        },
        "purple": {
          "minLength": 1,
          "type": "string"
        },
        "cyan": {
          "minLength": 1,
          "type": "string"
        },
        "red": {
          "minLength": 1,
          "type": "string"
        },
        "green": {
          "minLength": 1,
          "type": "string"
        },
        "slate": {
          "minLength": 1,
          "type": "string"
        },
        "charcoal": {
          "minLength": 1,
          "type": "string"
        },
        "cobalt": {
          "minLength": 1,
          "type": "string"
        }
      },
      "description": "Chart colors, always the 13 of them (Metricool defaults where not customized)."
    },
    "ThemeColorsDto": {
      "type": "object",
      "properties": {
        "topMenuBackgroundColor": {
          "type": "string",
          "description": "Top menu background color"
        },
        "topMenuTextColor": {
          "type": "string",
          "description": "Top menu text color"
        },
        "topMenuSeparatorColor": {
          "type": "string",
          "description": "Top menu separator color"
        },
        "primaryButtonBackgroundColor": {
          "type": "string",
          "description": "Primary button background color"
        },
        "primaryButtonBorderColor": {
          "type": "string",
          "description": "Primary button border color"
        },
        "primaryButtonTextColor": {
          "type": "string",
          "description": "Primary button text color"
        },
        "secondaryButtonBackgroundColor": {
          "type": "string",
          "description": "Secondary button background color"
        },
        "secondaryButtonBorderColor": {
          "type": "string",
          "description": "Secondary button border color"
        },
        "secondaryButtonTextColor": {
          "type": "string",
          "description": "Secondary button text color"
        },
        "backgroundColor": {
          "type": "string",
          "description": "General background color"
        }
      },
      "description": "Optional white-label theme colors. Each field accepts a hex color (#RGB/#RRGGBB, alpha variants #RGBA/#RRGGBBAA included) or the literal 'transparent'. A field left null/blank falls back to the Metricool default when the color has never been customized; in a PATCH that only updates some of the 10 fields, a null/blank field instead keeps whatever was already saved for it - only sending the whole themeColorPalette object as null resets every color back to the default at once."
    }
  }
}