Klaviyo · Schema

ProductBlockStyles

MarketingEmailSMSCustomer DataEcommerceAutomation

Properties

Name Type Description
block_background_color string
block_padding_bottom integer
block_padding_left integer
block_padding_right integer
block_padding_top integer
button_alignment string Text Alignment.
button_background_color string
button_border_color string
button_border_radius integer
button_border_style string Border style.
button_border_width integer
button_drop_shadow_color string
button_font_color string
button_font_family string
button_font_size integer
button_font_style string Font style.
button_font_weight string
button_letter_spacing integer
button_padding_bottom integer
button_padding_left integer
button_padding_right integer
button_padding_top integer
button_text_decoration string
description_font_color string
description_font_family string
description_font_size integer
description_font_style string Font style.
description_font_weight string
description_letter_spacing integer
description_padding_bottom integer
description_padding_top integer
description_text_decoration string
item_border_color string
item_border_style string Border style.
item_border_width integer
item_max_height integer
item_padding_bottom integer
item_padding_left integer
item_padding_right integer
item_padding_top integer
item_text_alignment string Text Alignment.
layout string Product layout options.
num_columns integer
num_rows integer
original_price_font_color string
original_price_font_family string
original_price_font_size integer
original_price_font_style string Font style.
original_price_font_weight string
original_price_text_decoration string
price_font_color string
price_font_family string
price_font_size integer
price_font_style string Font style.
price_font_weight string
price_letter_spacing integer
price_padding_bottom integer
price_padding_top integer
price_text_decoration string
rating_font_color string
rating_font_family string
rating_font_size integer
rating_font_style string Font style.
rating_font_weight string
rating_letter_spacing integer
rating_padding_bottom integer
rating_padding_top integer
rating_text_decoration string
stack_on_mobile boolean
title_font_color string
title_font_family string
title_font_size integer
title_font_style string Font style.
title_font_weight string
title_letter_spacing integer
title_padding_bottom integer
title_padding_top integer
title_text_decoration string
View JSON Schema on GitHub

JSON Schema

klaviyo-productblockstyles-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ProductBlockStyles",
  "title": "ProductBlockStyles",
  "type": "object",
  "properties": {
    "block_background_color": {
      "type": "string",
      "nullable": true
    },
    "block_padding_bottom": {
      "type": "integer",
      "nullable": true
    },
    "block_padding_left": {
      "type": "integer",
      "nullable": true
    },
    "block_padding_right": {
      "type": "integer",
      "nullable": true
    },
    "block_padding_top": {
      "type": "integer",
      "nullable": true
    },
    "button_alignment": {
      "description": "Text Alignment.",
      "type": "string",
      "enum": [
        "center",
        "left",
        "right"
      ],
      "nullable": true
    },
    "button_background_color": {
      "type": "string",
      "nullable": true
    },
    "button_border_color": {
      "type": "string",
      "nullable": true
    },
    "button_border_radius": {
      "type": "integer",
      "nullable": true
    },
    "button_border_style": {
      "description": "Border style.",
      "type": "string",
      "enum": [
        "dashed",
        "dotted",
        "groove",
        "inset",
        "none",
        "outset",
        "ridge",
        "solid"
      ],
      "nullable": true
    },
    "button_border_width": {
      "type": "integer",
      "nullable": true
    },
    "button_drop_shadow_color": {
      "type": "string",
      "nullable": true
    },
    "button_font_color": {
      "type": "string",
      "nullable": true
    },
    "button_font_family": {
      "type": "string",
      "nullable": true
    },
    "button_font_size": {
      "type": "integer",
      "nullable": true
    },
    "button_font_style": {
      "description": "Font style.",
      "type": "string",
      "enum": [
        "italic",
        "normal"
      ],
      "nullable": true
    },
    "button_font_weight": {
      "type": "string",
      "nullable": true
    },
    "button_letter_spacing": {
      "type": "integer",
      "nullable": true
    },
    "button_padding_bottom": {
      "type": "integer",
      "nullable": true
    },
    "button_padding_left": {
      "type": "integer",
      "nullable": true
    },
    "button_padding_right": {
      "type": "integer",
      "nullable": true
    },
    "button_padding_top": {
      "type": "integer",
      "nullable": true
    },
    "button_text_decoration": {
      "type": "string",
      "nullable": true
    },
    "description_font_color": {
      "type": "string",
      "nullable": true
    },
    "description_font_family": {
      "type": "string",
      "nullable": true
    },
    "description_font_size": {
      "type": "integer",
      "nullable": true
    },
    "description_font_style": {
      "description": "Font style.",
      "type": "string",
      "enum": [
        "italic",
        "normal"
      ],
      "nullable": true
    },
    "description_font_weight": {
      "type": "string",
      "nullable": true
    },
    "description_letter_spacing": {
      "type": "integer",
      "nullable": true
    },
    "description_padding_bottom": {
      "type": "integer",
      "nullable": true
    },
    "description_padding_top": {
      "type": "integer",
      "nullable": true
    },
    "description_text_decoration": {
      "type": "string",
      "nullable": true
    },
    "item_border_color": {
      "type": "string",
      "nullable": true
    },
    "item_border_style": {
      "description": "Border style.",
      "type": "string",
      "enum": [
        "dashed",
        "dotted",
        "groove",
        "inset",
        "none",
        "outset",
        "ridge",
        "solid"
      ],
      "nullable": true
    },
    "item_border_width": {
      "type": "integer",
      "nullable": true
    },
    "item_max_height": {
      "type": "integer",
      "nullable": true
    },
    "item_padding_bottom": {
      "type": "integer",
      "nullable": true
    },
    "item_padding_left": {
      "type": "integer",
      "nullable": true
    },
    "item_padding_right": {
      "type": "integer",
      "nullable": true
    },
    "item_padding_top": {
      "type": "integer",
      "nullable": true
    },
    "item_text_alignment": {
      "description": "Text Alignment.",
      "type": "string",
      "enum": [
        "center",
        "left",
        "right"
      ],
      "nullable": true
    },
    "layout": {
      "description": "Product layout options.",
      "type": "string",
      "enum": [
        "horizontal",
        "vertical-left-image",
        "vertical-right-image"
      ],
      "nullable": true
    },
    "num_columns": {
      "type": "integer",
      "nullable": true
    },
    "num_rows": {
      "type": "integer",
      "nullable": true
    },
    "original_price_font_color": {
      "type": "string",
      "nullable": true
    },
    "original_price_font_family": {
      "type": "string",
      "nullable": true
    },
    "original_price_font_size": {
      "type": "integer",
      "nullable": true
    },
    "original_price_font_style": {
      "description": "Font style.",
      "type": "string",
      "enum": [
        "italic",
        "normal"
      ],
      "nullable": true
    },
    "original_price_font_weight": {
      "type": "string",
      "nullable": true
    },
    "original_price_text_decoration": {
      "type": "string",
      "nullable": true
    },
    "price_font_color": {
      "type": "string",
      "nullable": true
    },
    "price_font_family": {
      "type": "string",
      "nullable": true
    },
    "price_font_size": {
      "type": "integer",
      "nullable": true
    },
    "price_font_style": {
      "description": "Font style.",
      "type": "string",
      "enum": [
        "italic",
        "normal"
      ],
      "nullable": true
    },
    "price_font_weight": {
      "type": "string",
      "nullable": true
    },
    "price_letter_spacing": {
      "type": "integer",
      "nullable": true
    },
    "price_padding_bottom": {
      "type": "integer",
      "nullable": true
    },
    "price_padding_top": {
      "type": "integer",
      "nullable": true
    },
    "price_text_decoration": {
      "type": "string",
      "nullable": true
    },
    "rating_font_color": {
      "type": "string",
      "nullable": true
    },
    "rating_font_family": {
      "type": "string",
      "nullable": true
    },
    "rating_font_size": {
      "type": "integer",
      "nullable": true
    },
    "rating_font_style": {
      "description": "Font style.",
      "type": "string",
      "enum": [
        "italic",
        "normal"
      ],
      "nullable": true
    },
    "rating_font_weight": {
      "type": "string",
      "nullable": true
    },
    "rating_letter_spacing": {
      "type": "integer",
      "nullable": true
    },
    "rating_padding_bottom": {
      "type": "integer",
      "nullable": true
    },
    "rating_padding_top": {
      "type": "integer",
      "nullable": true
    },
    "rating_text_decoration": {
      "type": "string",
      "nullable": true
    },
    "stack_on_mobile": {
      "type": "boolean",
      "nullable": true
    },
    "title_font_color": {
      "type": "string",
      "nullable": true
    },
    "title_font_family": {
      "type": "string",
      "nullable": true
    },
    "title_font_size": {
      "type": "integer",
      "nullable": true
    },
    "title_font_style": {
      "description": "Font style.",
      "type": "string",
      "enum": [
        "italic",
        "normal"
      ],
      "nullable": true
    },
    "title_font_weight": {
      "type": "string",
      "nullable": true
    },
    "title_letter_spacing": {
      "type": "integer",
      "nullable": true
    },
    "title_padding_bottom": {
      "type": "integer",
      "nullable": true
    },
    "title_padding_top": {
      "type": "integer",
      "nullable": true
    },
    "title_text_decoration": {
      "type": "string",
      "nullable": true
    }
  }
}