{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-quicksight/json-schema/amazon-quicksight-update-brand-request-schema.json",
  "title": "UpdateBrandRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-quicksight-brands-api-openapi.yml#/components/schemas/UpdateBrandRequest",
  "type": "object",
  "properties": {
    "AwsAccountId": {
      "type": "string",
      "description": "The ID of the Amazon Web Services account that owns the brand."
    },
    "BrandId": {
      "type": "string",
      "description": "The ID of the Quick brand."
    },
    "BrandDefinition": {
      "$ref": "#/$defs/BrandDefinition"
    }
  },
  "required": [
    "AwsAccountId",
    "BrandId"
  ],
  "$defs": {
    "ApplicationTheme": {
      "type": "object",
      "properties": {
        "BrandColorPalette": {
          "$ref": "#/$defs/BrandColorPalette"
        },
        "ContextualAccentPalette": {
          "$ref": "#/$defs/ContextualAccentPalette"
        },
        "BrandElementStyle": {
          "$ref": "#/$defs/BrandElementStyle"
        }
      }
    },
    "BrandColorPalette": {
      "type": "object",
      "properties": {
        "Primary": {
          "$ref": "#/$defs/Palette"
        },
        "Secondary": {
          "$ref": "#/$defs/Palette"
        },
        "Accent": {
          "$ref": "#/$defs/Palette"
        },
        "Measure": {
          "$ref": "#/$defs/Palette"
        },
        "Dimension": {
          "$ref": "#/$defs/Palette"
        },
        "Success": {
          "$ref": "#/$defs/Palette"
        },
        "Info": {
          "$ref": "#/$defs/Palette"
        },
        "Warning": {
          "$ref": "#/$defs/Palette"
        },
        "Danger": {
          "$ref": "#/$defs/Palette"
        }
      }
    },
    "BrandDefinition": {
      "type": "object",
      "properties": {
        "BrandName": {
          "type": "string",
          "description": "The name of the brand."
        },
        "Description": {
          "type": "string",
          "description": "The description of the brand."
        },
        "ApplicationTheme": {
          "$ref": "#/$defs/ApplicationTheme"
        },
        "LogoConfiguration": {
          "$ref": "#/$defs/LogoConfiguration"
        }
      },
      "required": [
        "BrandName"
      ]
    },
    "BrandElementStyle": {
      "type": "object",
      "properties": {
        "NavbarStyle": {
          "$ref": "#/$defs/NavbarStyle"
        }
      }
    },
    "ContextualAccentPalette": {
      "type": "object",
      "properties": {
        "Connection": {
          "$ref": "#/$defs/Palette"
        },
        "Visualization": {
          "$ref": "#/$defs/Palette"
        },
        "Insight": {
          "$ref": "#/$defs/Palette"
        },
        "Automation": {
          "$ref": "#/$defs/Palette"
        }
      }
    },
    "ImageConfiguration": {
      "type": "object",
      "properties": {
        "Source": {
          "$ref": "#/$defs/ImageSource"
        }
      }
    },
    "ImageSetConfiguration": {
      "type": "object",
      "properties": {
        "Original": {
          "$ref": "#/$defs/ImageConfiguration"
        }
      },
      "required": [
        "Original"
      ]
    },
    "ImageSource": {
      "type": "object",
      "properties": {
        "PublicUrl": {
          "type": "string",
          "description": "The public URL that points to the source image."
        },
        "S3Uri": {
          "type": "string",
          "description": "The Amazon S3 URI that points to the source image."
        }
      },
      "description": "Exactly one member is set."
    },
    "LogoConfiguration": {
      "type": "object",
      "properties": {
        "AltText": {
          "type": "string",
          "description": "The alt text for the logo."
        },
        "LogoSet": {
          "$ref": "#/$defs/LogoSetConfiguration"
        }
      },
      "required": [
        "AltText",
        "LogoSet"
      ]
    },
    "LogoSetConfiguration": {
      "type": "object",
      "properties": {
        "Primary": {
          "$ref": "#/$defs/ImageSetConfiguration"
        },
        "Favicon": {
          "$ref": "#/$defs/ImageSetConfiguration"
        }
      },
      "required": [
        "Primary"
      ]
    },
    "NavbarStyle": {
      "type": "object",
      "properties": {
        "GlobalNavbar": {
          "$ref": "#/$defs/Palette"
        },
        "ContextualNavbar": {
          "$ref": "#/$defs/Palette"
        }
      }
    },
    "Palette": {
      "type": "object",
      "properties": {
        "Foreground": {
          "type": "string",
          "description": "The foreground color."
        },
        "Background": {
          "type": "string",
          "description": "The background color."
        }
      }
    }
  }
}