{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/usertour-io/json-schema/usertour-io-create-theme-body-dto-schema.json",
  "title": "CreateThemeBodyDto",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/usertour-io-openapi.json#/components/schemas/CreateThemeBodyDto",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "description": "Theme name."
    },
    "isDefault": {
      "description": "Make this the project default theme.",
      "type": "boolean"
    },
    "settings": {
      "description": "Partial theme styling merged onto the built-in default styling (a new theme starts from it) (colors, fonts, sizes, …). Send only the fields you change; omitted fields are kept. This is pure INTENT: Auto-capable color fields take a hex or the literal \"Auto\" (derived at render); read what \"Auto\" resolves to with expand: [\"resolvedSettings\"].",
      "type": "object",
      "properties": {
        "announcement": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "bubbleWidth": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 100,
              "maximum": 1000
            },
            "modalWidth": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 100,
              "maximum": 1000
            }
          },
          "additionalProperties": false
        },
        "avatar": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "size": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 10,
              "maximum": 200
            },
            "type": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "cartoon",
                "upload",
                "url",
                "none",
                null
              ],
              "description": "Read-only through the API: echo it back unchanged or omit it — a changed value is rejected."
            },
            "url": {
              "type": [
                "string",
                "null"
              ],
              "description": "Read-only through the API: echo it back unchanged or omit it — a changed value is rejected."
            },
            "name": {
              "type": [
                "string",
                "null"
              ],
              "description": "Read-only through the API: echo it back unchanged or omit it — a changed value is rejected."
            }
          },
          "additionalProperties": false
        },
        "backdrop": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "color": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
            },
            "highlight": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "color": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                },
                "opacity": {
                  "description": "Percent, 0-100 (not 0-1).",
                  "type": [
                    "number",
                    "null"
                  ],
                  "minimum": 0,
                  "maximum": 100
                },
                "radius": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "minimum": 0,
                  "maximum": 100
                },
                "spread": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "minimum": 0,
                  "maximum": 100
                },
                "type": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "outside",
                    "inside",
                    null
                  ]
                }
              },
              "additionalProperties": false
            },
            "opacity": {
              "description": "Percent, 0-100 (not 0-1).",
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 100
            }
          },
          "additionalProperties": false
        },
        "banner": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "animationDuration": {
              "description": "Milliseconds.",
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 10000
            },
            "animationTiming": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "smooth",
                "snappy",
                "gentle",
                "linear",
                null
              ]
            },
            "backgroundColor": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "background": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                }
              },
              "additionalProperties": false
            },
            "padding": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 100
            },
            "textColor": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "color": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "border": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "borderColor": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                },
                {
                  "type": "string",
                  "enum": [
                    "Auto"
                  ]
                }
              ],
              "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
              "nullable": true
            },
            "borderRadius": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0
            },
            "borderWidth": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 50
            },
            "borderWidthEnabled": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          "additionalProperties": false
        },
        "brandColor": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "active": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                },
                {
                  "type": "string",
                  "enum": [
                    "Auto"
                  ]
                }
              ],
              "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
              "nullable": true
            },
            "background": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
            },
            "color": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
            },
            "hover": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                },
                {
                  "type": "string",
                  "enum": [
                    "Auto"
                  ]
                }
              ],
              "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
              "nullable": true
            }
          },
          "additionalProperties": false
        },
        "bubble": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "placement": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "position": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "leftTop",
                    "centerTop",
                    "rightTop",
                    "leftBottom",
                    "centerBottom",
                    "rightBottom",
                    "center",
                    null
                  ]
                },
                "positionOffsetX": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "minimum": -1000,
                  "maximum": 1000
                },
                "positionOffsetY": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "minimum": -1000,
                  "maximum": 1000
                }
              },
              "additionalProperties": false
            },
            "width": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 100,
              "maximum": 1000
            }
          },
          "additionalProperties": false
        },
        "buttons": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "borderRadius": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 100
            },
            "height": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 1,
              "maximum": 100
            },
            "minWidth": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 500
            },
            "primary": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "backgroundColor": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "active": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "Auto"
                          ]
                        }
                      ],
                      "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                      "nullable": true
                    },
                    "background": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "Auto"
                          ]
                        }
                      ],
                      "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                      "nullable": true
                    },
                    "hover": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "Auto"
                          ]
                        }
                      ],
                      "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                      "nullable": true
                    }
                  },
                  "additionalProperties": false
                },
                "border": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "borderWidth": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "minimum": 0,
                      "maximum": 20
                    },
                    "color": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "active": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                            },
                            {
                              "type": "string",
                              "enum": [
                                "Auto"
                              ]
                            }
                          ],
                          "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                          "nullable": true
                        },
                        "color": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                            },
                            {
                              "type": "string",
                              "enum": [
                                "Auto"
                              ]
                            }
                          ],
                          "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                          "nullable": true
                        },
                        "hover": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                            },
                            {
                              "type": "string",
                              "enum": [
                                "Auto"
                              ]
                            }
                          ],
                          "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                          "nullable": true
                        }
                      },
                      "additionalProperties": false
                    },
                    "enabled": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "fontWeight": {
                  "anyOf": [
                    {
                      "type": "number",
                      "enum": [
                        100
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        200
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        300
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        400
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        500
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        600
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        700
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        800
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        900
                      ]
                    }
                  ],
                  "nullable": true
                },
                "textColor": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "active": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "Auto"
                          ]
                        }
                      ],
                      "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                      "nullable": true
                    },
                    "color": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "Auto"
                          ]
                        }
                      ],
                      "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                      "nullable": true
                    },
                    "hover": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "Auto"
                          ]
                        }
                      ],
                      "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                      "nullable": true
                    }
                  },
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            },
            "px": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 100
            },
            "secondary": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "backgroundColor": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "active": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "Auto"
                          ]
                        }
                      ],
                      "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                      "nullable": true
                    },
                    "background": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "Auto"
                          ]
                        }
                      ],
                      "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                      "nullable": true
                    },
                    "hover": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "Auto"
                          ]
                        }
                      ],
                      "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                      "nullable": true
                    }
                  },
                  "additionalProperties": false
                },
                "border": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "borderWidth": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "minimum": 0,
                      "maximum": 20
                    },
                    "color": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "active": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                            },
                            {
                              "type": "string",
                              "enum": [
                                "Auto"
                              ]
                            }
                          ],
                          "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                          "nullable": true
                        },
                        "color": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                            },
                            {
                              "type": "string",
                              "enum": [
                                "Auto"
                              ]
                            }
                          ],
                          "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                          "nullable": true
                        },
                        "hover": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                            },
                            {
                              "type": "string",
                              "enum": [
                                "Auto"
                              ]
                            }
                          ],
                          "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                          "nullable": true
                        }
                      },
                      "additionalProperties": false
                    },
                    "enabled": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "fontWeight": {
                  "anyOf": [
                    {
                      "type": "number",
                      "enum": [
                        100
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        200
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        300
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        400
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        500
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        600
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        700
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        800
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        900
                      ]
                    }
                  ],
                  "nullable": true
                },
                "textColor": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "active": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "Auto"
                          ]
                        }
                      ],
                      "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                      "nullable": true
                    },
                    "color": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "Auto"
                          ]
                        }
                      ],
                      "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                      "nullable": true
                    },
                    "hover": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "Auto"
                          ]
                        }
                      ],
                      "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                      "nullable": true
                    }
                  },
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "checklist": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "checkmarkColor": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                },
                {
                  "type": "string",
                  "enum": [
                    "Auto"
                  ]
                }
              ],
              "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
              "nullable": true
            },
            "completedTaskTextDecoration": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "none",
                "line-through",
                null
              ]
            },
            "placement": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "position": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "leftTop",
                    "rightTop",
                    "leftBottom",
                    "rightBottom",
                    "center",
                    null
                  ]
                },
                "positionOffsetX": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "minimum": 0,
                  "maximum": 1000
                },
                "positionOffsetY": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "minimum": 0,
                  "maximum": 1000
                }
              },
              "additionalProperties": false
            },
            "width": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 100,
              "maximum": 1000
            },
            "zIndex": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "additionalProperties": false
        },
        "checklistLauncher": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "borderRadius": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 100
            },
            "color": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "active": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                },
                "background": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                },
                "color": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                },
                "hover": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                }
              },
              "additionalProperties": false
            },
            "counter": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "background": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                },
                "color": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                }
              },
              "additionalProperties": false
            },
            "fontWeight": {
              "anyOf": [
                {
                  "type": "number",
                  "enum": [
                    100
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    200
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    300
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    400
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    500
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    600
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    700
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    800
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    900
                  ]
                }
              ],
              "nullable": true
            },
            "height": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 10,
              "maximum": 200
            },
            "placement": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "position": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "leftTop",
                    "rightTop",
                    "leftBottom",
                    "rightBottom",
                    "center",
                    null
                  ]
                },
                "positionOffsetX": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "minimum": 0,
                  "maximum": 1000
                },
                "positionOffsetY": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "minimum": 0,
                  "maximum": 1000
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "customCss": {
          "type": [
            "string",
            "null"
          ]
        },
        "embed": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "animationDuration": {
              "description": "Milliseconds. Applies to embeds with `animateOnAppear` on.",
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 10000
            },
            "animationTiming": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "smooth",
                "snappy",
                "gentle",
                "linear",
                null
              ]
            },
            "backgroundColor": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "background": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                }
              },
              "additionalProperties": false
            },
            "padding": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 100
            },
            "textColor": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "color": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "focusHighlight": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "color": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                },
                {
                  "type": "string",
                  "enum": [
                    "Auto"
                  ]
                }
              ],
              "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
              "nullable": true
            },
            "opacity": {
              "description": "Percent, 0-100 (not 0-1).",
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 100
            }
          },
          "additionalProperties": false
        },
        "font": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "customFontFamily": {
              "type": [
                "string",
                "null"
              ],
              "description": "Font family name used when font.fontFamily is \"Custom font\" (declare the face itself via customCss @font-face). When set this way it OVERRIDES font.fontFamily at render."
            },
            "fontFamily": {
              "type": [
                "string",
                "null"
              ]
            },
            "fontSize": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 10,
              "maximum": 50
            },
            "fontWeightBold": {
              "anyOf": [
                {
                  "type": "number",
                  "enum": [
                    100
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    200
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    300
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    400
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    500
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    600
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    700
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    800
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    900
                  ]
                }
              ],
              "nullable": true
            },
            "fontWeightNormal": {
              "anyOf": [
                {
                  "type": "number",
                  "enum": [
                    100
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    200
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    300
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    400
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    500
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    600
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    700
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    800
                  ]
                },
                {
                  "type": "number",
                  "enum": [
                    900
                  ]
                }
              ],
              "nullable": true
            },
            "h1FontSize": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 10,
              "maximum": 100
            },
            "h2FontSize": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 10,
              "maximum": 100
            },
            "lineHeight": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 10,
              "maximum": 50
            },
            "linkColor": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                },
                {
                  "type": "string",
                  "enum": [
                    "Auto"
                  ]
                }
              ],
              "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
              "nullable": true
            }
          },
          "additionalProperties": false
        },
        "launcherBeacon": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "color": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                },
                {
                  "type": "string",
                  "enum": [
                    "Auto"
                  ]
                }
              ],
              "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
              "nullable": true
            },
            "size": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 1,
              "maximum": 100
            }
          },
          "additionalProperties": false
        },
        "launcherButtons": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "borderRadius": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 100
            },
            "height": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 1,
              "maximum": 200
            },
            "primary": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "backgroundColor": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "active": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "Auto"
                          ]
                        }
                      ],
                      "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                      "nullable": true
                    },
                    "background": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "Auto"
                          ]
                        }
                      ],
                      "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                      "nullable": true
                    },
                    "hover": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "Auto"
                          ]
                        }
                      ],
                      "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                      "nullable": true
                    }
                  },
                  "additionalProperties": false
                },
                "border": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "borderWidth": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "minimum": 0,
                      "maximum": 100
                    },
                    "color": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "active": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                            },
                            {
                              "type": "string",
                              "enum": [
                                "Auto"
                              ]
                            }
                          ],
                          "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                          "nullable": true
                        },
                        "color": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                            },
                            {
                              "type": "string",
                              "enum": [
                                "Auto"
                              ]
                            }
                          ],
                          "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                          "nullable": true
                        },
                        "hover": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                            },
                            {
                              "type": "string",
                              "enum": [
                                "Auto"
                              ]
                            }
                          ],
                          "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                          "nullable": true
                        }
                      },
                      "additionalProperties": false
                    },
                    "enabled": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "fontWeight": {
                  "anyOf": [
                    {
                      "type": "number",
                      "enum": [
                        100
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        200
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        300
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        400
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        500
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        600
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        700
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        800
                      ]
                    },
                    {
                      "type": "number",
                      "enum": [
                        900
                      ]
                    }
                  ],
                  "nullable": true
                },
                "textColor": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "active": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "Auto"
                          ]
                        }
                      ],
                      "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                      "nullable": true
                    },
                    "color": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "Auto"
                          ]
                        }
                      ],
                      "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                      "nullable": true
                    },
                    "hover": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "Auto"
                          ]
                        }
                      ],
                      "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                      "nullable": true
                    }
                  },
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            },
            "px": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 100
            },
            "width": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 1,
              "maximum": 200
            }
          },
          "additionalProperties": false
        },
        "launcherIcon": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "color": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "active": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                },
                "color": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                },
                "hover": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                }
              },
              "additionalProperties": false
            },
            "opacity": {
              "description": "Percent, 0-100 (not 0-1).",
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 100
            },
            "size": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 1,
              "maximum": 200
            }
          },
          "additionalProperties": false
        },
        "mainColor": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "active": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                },
                {
                  "type": "string",
                  "enum": [
                    "Auto"
                  ]
                }
              ],
              "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
              "nullable": true
            },
            "background": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
            },
            "color": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
            },
            "hover": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                },
                {
                  "type": "string",
                  "enum": [
                    "Auto"
                  ]
                }
              ],
              "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
              "nullable": true
            }
          },
          "additionalProperties": false
        },
        "modal": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "backdropClickBehavior": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "do-nothing",
                "dismiss-flow",
                null
              ]
            },
            "padding": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 100
            },
            "width": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 100,
              "maximum": 1000
            }
          },
          "additionalProperties": false
        },
        "progress": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "chainRoundedHeight": {
              "description": "Pixels. Applies ONLY when progress.type is \"chain-rounded\".",
              "type": [
                "number",
                "null"
              ],
              "minimum": 1,
              "maximum": 10
            },
            "chainSquaredHeight": {
              "description": "Pixels. Applies ONLY when progress.type is \"chain-squared\".",
              "type": [
                "number",
                "null"
              ],
              "minimum": 1,
              "maximum": 10
            },
            "color": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                },
                {
                  "type": "string",
                  "enum": [
                    "Auto"
                  ]
                }
              ],
              "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
              "nullable": true
            },
            "dotsHeight": {
              "description": "Pixels. Applies ONLY when progress.type is \"dots\".",
              "type": [
                "number",
                "null"
              ],
              "minimum": 1,
              "maximum": 10
            },
            "enabled": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "height": {
              "description": "Pixels. Applies ONLY when progress.type is \"full-width\" — each progress type reads its own height key.",
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 10
            },
            "narrowHeight": {
              "description": "Pixels. Applies ONLY when progress.type is \"narrow\".",
              "type": [
                "number",
                "null"
              ],
              "minimum": 1,
              "maximum": 10
            },
            "numberedHeight": {
              "description": "Pixels. Applies ONLY when progress.type is \"numbered\".",
              "type": [
                "number",
                "null"
              ],
              "minimum": 1,
              "maximum": 100
            },
            "position": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "top",
                "bottom",
                null
              ]
            },
            "type": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "full-width",
                "narrow",
                "chain-rounded",
                "chain-squared",
                "dots",
                "numbered",
                null
              ]
            }
          },
          "additionalProperties": false
        },
        "resourceCenter": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "headerBackground": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "color": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                },
                "gradientFrom": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                },
                "gradientTo": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                },
                "type": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "none",
                    "color",
                    "gradient",
                    "image",
                    null
                  ]
                },
                "imageUrl": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Image URL rendered to end users (writable). Empty string clears it. Any http(s) URL you host."
                }
              },
              "additionalProperties": false
            },
            "largeWidth": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 100,
              "maximum": 2000
            },
            "maxHeight": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 100,
              "maximum": 2000
            },
            "normalWidth": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 100,
              "maximum": 1000
            },
            "offsetX": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1000
            },
            "offsetY": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1000
            },
            "placement": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "top-left",
                "top-right",
                "bottom-left",
                "bottom-right",
                null
              ]
            },
            "transitionDuration": {
              "description": "Milliseconds.",
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 10000
            },
            "zIndex": {
              "type": [
                "number",
                "null"
              ]
            },
            "dividerLines": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "Read-only through the API: echo it back unchanged or omit it — a changed value is rejected."
            },
            "logoUrl": {
              "type": [
                "string",
                "null"
              ],
              "description": "Image URL rendered to end users (writable). Empty string clears it. Any http(s) URL you host."
            }
          },
          "additionalProperties": false
        },
        "resourceCenterLauncherButton": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "borderRadius": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 100
            },
            "color": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "active": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                },
                "background": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                },
                "foreground": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                },
                "hover": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "Auto"
                      ]
                    }
                  ],
                  "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                  "nullable": true
                }
              },
              "additionalProperties": false
            },
            "height": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 10,
              "maximum": 200
            },
            "iconType": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "default-question-mark",
                "plaintext-question-mark",
                "custom",
                null
              ]
            },
            "imageHeight": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 10,
              "maximum": 200
            },
            "textMode": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "resource-center-text",
                "no-text",
                null
              ]
            },
            "iconUrl": {
              "type": [
                "string",
                "null"
              ],
              "description": "Image URL rendered to end users (writable). Empty string clears it. Any http(s) URL you host."
            }
          },
          "additionalProperties": false
        },
        "resourceCenterUnreadBadge": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "backgroundColor": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
            },
            "textColor": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
            }
          },
          "additionalProperties": false
        },
        "survey": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "color": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                },
                {
                  "type": "string",
                  "enum": [
                    "Auto"
                  ]
                }
              ],
              "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
              "nullable": true
            }
          },
          "additionalProperties": false
        },
        "tooltip": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "missingTargetBehavior": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "auto-dismiss",
                "use-bubble",
                null
              ]
            },
            "missingTargetTolerance": {
              "description": "SECONDS to keep looking for a missing tooltip target before missingTargetBehavior kicks in. A runtime SDK missing-target setting, when configured, takes precedence over this.",
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 10
            },
            "notchSize": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 5,
              "maximum": 100
            },
            "width": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 100,
              "maximum": 1000
            }
          },
          "additionalProperties": false
        },
        "xbutton": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "color": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                },
                {
                  "type": "string",
                  "enum": [
                    "Auto"
                  ]
                }
              ],
              "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
              "nullable": true
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "variations": {
      "description": "Conditional variations — FULL replacement of the list when present (a variation you omit is deleted; omit the field entirely to leave variations untouched). Array order is evaluation priority.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Echo an existing variation id (from a theme read with the variations expand) to update it in place — its stored settings are the merge base. Omit to create a new variation (the theme base settings are the merge base).",
            "type": "string"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Human-readable label for this variation."
          },
          "conditions": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/$defs/CreateThemeBodyDto__schema0"
            },
            "description": "When this variation applies — evaluated in the BROWSER on each render; the first variation (in array order) whose conditions match wins, else the base settings apply. Takes user attribute / current_url conditions and groups of them."
          },
          "settings": {
            "description": "Partial style patch merged onto the merge base (see `id`).",
            "type": "object",
            "properties": {
              "announcement": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "bubbleWidth": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 100,
                    "maximum": 1000
                  },
                  "modalWidth": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 100,
                    "maximum": 1000
                  }
                },
                "additionalProperties": false
              },
              "avatar": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "size": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 10,
                    "maximum": 200
                  },
                  "type": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "cartoon",
                      "upload",
                      "url",
                      "none",
                      null
                    ],
                    "description": "Read-only through the API: echo it back unchanged or omit it — a changed value is rejected."
                  },
                  "url": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Read-only through the API: echo it back unchanged or omit it — a changed value is rejected."
                  },
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Read-only through the API: echo it back unchanged or omit it — a changed value is rejected."
                  }
                },
                "additionalProperties": false
              },
              "backdrop": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "color": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                  },
                  "highlight": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "color": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                      },
                      "opacity": {
                        "description": "Percent, 0-100 (not 0-1).",
                        "type": [
                          "number",
                          "null"
                        ],
                        "minimum": 0,
                        "maximum": 100
                      },
                      "radius": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "minimum": 0,
                        "maximum": 100
                      },
                      "spread": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "minimum": 0,
                        "maximum": 100
                      },
                      "type": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "enum": [
                          "outside",
                          "inside",
                          null
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "opacity": {
                    "description": "Percent, 0-100 (not 0-1).",
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 100
                  }
                },
                "additionalProperties": false
              },
              "banner": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "animationDuration": {
                    "description": "Milliseconds.",
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 10000
                  },
                  "animationTiming": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "smooth",
                      "snappy",
                      "gentle",
                      "linear",
                      null
                    ]
                  },
                  "backgroundColor": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "background": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      }
                    },
                    "additionalProperties": false
                  },
                  "padding": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 100
                  },
                  "textColor": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "color": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "border": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "borderColor": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                      },
                      {
                        "type": "string",
                        "enum": [
                          "Auto"
                        ]
                      }
                    ],
                    "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                    "nullable": true
                  },
                  "borderRadius": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0
                  },
                  "borderWidth": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 50
                  },
                  "borderWidthEnabled": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "additionalProperties": false
              },
              "brandColor": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "active": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                      },
                      {
                        "type": "string",
                        "enum": [
                          "Auto"
                        ]
                      }
                    ],
                    "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                    "nullable": true
                  },
                  "background": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                  },
                  "color": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                  },
                  "hover": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                      },
                      {
                        "type": "string",
                        "enum": [
                          "Auto"
                        ]
                      }
                    ],
                    "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                    "nullable": true
                  }
                },
                "additionalProperties": false
              },
              "bubble": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "placement": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "position": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "enum": [
                          "leftTop",
                          "centerTop",
                          "rightTop",
                          "leftBottom",
                          "centerBottom",
                          "rightBottom",
                          "center",
                          null
                        ]
                      },
                      "positionOffsetX": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "minimum": -1000,
                        "maximum": 1000
                      },
                      "positionOffsetY": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "minimum": -1000,
                        "maximum": 1000
                      }
                    },
                    "additionalProperties": false
                  },
                  "width": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 100,
                    "maximum": 1000
                  }
                },
                "additionalProperties": false
              },
              "buttons": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "borderRadius": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 100
                  },
                  "height": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 1,
                    "maximum": 100
                  },
                  "minWidth": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 500
                  },
                  "primary": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "backgroundColor": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "active": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "Auto"
                                ]
                              }
                            ],
                            "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                            "nullable": true
                          },
                          "background": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "Auto"
                                ]
                              }
                            ],
                            "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                            "nullable": true
                          },
                          "hover": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "Auto"
                                ]
                              }
                            ],
                            "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                            "nullable": true
                          }
                        },
                        "additionalProperties": false
                      },
                      "border": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "borderWidth": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "minimum": 0,
                            "maximum": 20
                          },
                          "color": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "active": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  {
                                    "type": "string",
                                    "enum": [
                                      "Auto"
                                    ]
                                  }
                                ],
                                "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                                "nullable": true
                              },
                              "color": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  {
                                    "type": "string",
                                    "enum": [
                                      "Auto"
                                    ]
                                  }
                                ],
                                "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                                "nullable": true
                              },
                              "hover": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  {
                                    "type": "string",
                                    "enum": [
                                      "Auto"
                                    ]
                                  }
                                ],
                                "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                                "nullable": true
                              }
                            },
                            "additionalProperties": false
                          },
                          "enabled": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          }
                        },
                        "additionalProperties": false
                      },
                      "fontWeight": {
                        "anyOf": [
                          {
                            "type": "number",
                            "enum": [
                              100
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              200
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              300
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              400
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              500
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              600
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              700
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              800
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              900
                            ]
                          }
                        ],
                        "nullable": true
                      },
                      "textColor": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "active": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "Auto"
                                ]
                              }
                            ],
                            "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                            "nullable": true
                          },
                          "color": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "Auto"
                                ]
                              }
                            ],
                            "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                            "nullable": true
                          },
                          "hover": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "Auto"
                                ]
                              }
                            ],
                            "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                            "nullable": true
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  "px": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 100
                  },
                  "secondary": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "backgroundColor": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "active": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "Auto"
                                ]
                              }
                            ],
                            "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                            "nullable": true
                          },
                          "background": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "Auto"
                                ]
                              }
                            ],
                            "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                            "nullable": true
                          },
                          "hover": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "Auto"
                                ]
                              }
                            ],
                            "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                            "nullable": true
                          }
                        },
                        "additionalProperties": false
                      },
                      "border": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "borderWidth": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "minimum": 0,
                            "maximum": 20
                          },
                          "color": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "active": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  {
                                    "type": "string",
                                    "enum": [
                                      "Auto"
                                    ]
                                  }
                                ],
                                "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                                "nullable": true
                              },
                              "color": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  {
                                    "type": "string",
                                    "enum": [
                                      "Auto"
                                    ]
                                  }
                                ],
                                "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                                "nullable": true
                              },
                              "hover": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  {
                                    "type": "string",
                                    "enum": [
                                      "Auto"
                                    ]
                                  }
                                ],
                                "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                                "nullable": true
                              }
                            },
                            "additionalProperties": false
                          },
                          "enabled": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          }
                        },
                        "additionalProperties": false
                      },
                      "fontWeight": {
                        "anyOf": [
                          {
                            "type": "number",
                            "enum": [
                              100
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              200
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              300
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              400
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              500
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              600
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              700
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              800
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              900
                            ]
                          }
                        ],
                        "nullable": true
                      },
                      "textColor": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "active": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "Auto"
                                ]
                              }
                            ],
                            "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                            "nullable": true
                          },
                          "color": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "Auto"
                                ]
                              }
                            ],
                            "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                            "nullable": true
                          },
                          "hover": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "Auto"
                                ]
                              }
                            ],
                            "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                            "nullable": true
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "checklist": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "checkmarkColor": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                      },
                      {
                        "type": "string",
                        "enum": [
                          "Auto"
                        ]
                      }
                    ],
                    "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                    "nullable": true
                  },
                  "completedTaskTextDecoration": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "none",
                      "line-through",
                      null
                    ]
                  },
                  "placement": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "position": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "enum": [
                          "leftTop",
                          "rightTop",
                          "leftBottom",
                          "rightBottom",
                          "center",
                          null
                        ]
                      },
                      "positionOffsetX": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "minimum": 0,
                        "maximum": 1000
                      },
                      "positionOffsetY": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "minimum": 0,
                        "maximum": 1000
                      }
                    },
                    "additionalProperties": false
                  },
                  "width": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 100,
                    "maximum": 1000
                  },
                  "zIndex": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "additionalProperties": false
              },
              "checklistLauncher": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "borderRadius": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 100
                  },
                  "color": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "active": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      },
                      "background": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      },
                      "color": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      },
                      "hover": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      }
                    },
                    "additionalProperties": false
                  },
                  "counter": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "background": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      },
                      "color": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      }
                    },
                    "additionalProperties": false
                  },
                  "fontWeight": {
                    "anyOf": [
                      {
                        "type": "number",
                        "enum": [
                          100
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          200
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          300
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          400
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          500
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          600
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          700
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          800
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          900
                        ]
                      }
                    ],
                    "nullable": true
                  },
                  "height": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 10,
                    "maximum": 200
                  },
                  "placement": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "position": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "enum": [
                          "leftTop",
                          "rightTop",
                          "leftBottom",
                          "rightBottom",
                          "center",
                          null
                        ]
                      },
                      "positionOffsetX": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "minimum": 0,
                        "maximum": 1000
                      },
                      "positionOffsetY": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "minimum": 0,
                        "maximum": 1000
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "customCss": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "embed": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "animationDuration": {
                    "description": "Milliseconds. Applies to embeds with `animateOnAppear` on.",
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 10000
                  },
                  "animationTiming": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "smooth",
                      "snappy",
                      "gentle",
                      "linear",
                      null
                    ]
                  },
                  "backgroundColor": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "background": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      }
                    },
                    "additionalProperties": false
                  },
                  "padding": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 100
                  },
                  "textColor": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "color": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "focusHighlight": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "color": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                      },
                      {
                        "type": "string",
                        "enum": [
                          "Auto"
                        ]
                      }
                    ],
                    "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                    "nullable": true
                  },
                  "opacity": {
                    "description": "Percent, 0-100 (not 0-1).",
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 100
                  }
                },
                "additionalProperties": false
              },
              "font": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "customFontFamily": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Font family name used when font.fontFamily is \"Custom font\" (declare the face itself via customCss @font-face). When set this way it OVERRIDES font.fontFamily at render."
                  },
                  "fontFamily": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "fontSize": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 10,
                    "maximum": 50
                  },
                  "fontWeightBold": {
                    "anyOf": [
                      {
                        "type": "number",
                        "enum": [
                          100
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          200
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          300
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          400
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          500
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          600
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          700
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          800
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          900
                        ]
                      }
                    ],
                    "nullable": true
                  },
                  "fontWeightNormal": {
                    "anyOf": [
                      {
                        "type": "number",
                        "enum": [
                          100
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          200
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          300
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          400
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          500
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          600
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          700
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          800
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          900
                        ]
                      }
                    ],
                    "nullable": true
                  },
                  "h1FontSize": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 10,
                    "maximum": 100
                  },
                  "h2FontSize": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 10,
                    "maximum": 100
                  },
                  "lineHeight": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 10,
                    "maximum": 50
                  },
                  "linkColor": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                      },
                      {
                        "type": "string",
                        "enum": [
                          "Auto"
                        ]
                      }
                    ],
                    "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                    "nullable": true
                  }
                },
                "additionalProperties": false
              },
              "launcherBeacon": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "color": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                      },
                      {
                        "type": "string",
                        "enum": [
                          "Auto"
                        ]
                      }
                    ],
                    "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                    "nullable": true
                  },
                  "size": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 1,
                    "maximum": 100
                  }
                },
                "additionalProperties": false
              },
              "launcherButtons": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "borderRadius": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 100
                  },
                  "height": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 1,
                    "maximum": 200
                  },
                  "primary": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "backgroundColor": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "active": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "Auto"
                                ]
                              }
                            ],
                            "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                            "nullable": true
                          },
                          "background": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "Auto"
                                ]
                              }
                            ],
                            "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                            "nullable": true
                          },
                          "hover": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "Auto"
                                ]
                              }
                            ],
                            "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                            "nullable": true
                          }
                        },
                        "additionalProperties": false
                      },
                      "border": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "borderWidth": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "minimum": 0,
                            "maximum": 100
                          },
                          "color": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "active": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  {
                                    "type": "string",
                                    "enum": [
                                      "Auto"
                                    ]
                                  }
                                ],
                                "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                                "nullable": true
                              },
                              "color": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  {
                                    "type": "string",
                                    "enum": [
                                      "Auto"
                                    ]
                                  }
                                ],
                                "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                                "nullable": true
                              },
                              "hover": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  {
                                    "type": "string",
                                    "enum": [
                                      "Auto"
                                    ]
                                  }
                                ],
                                "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                                "nullable": true
                              }
                            },
                            "additionalProperties": false
                          },
                          "enabled": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          }
                        },
                        "additionalProperties": false
                      },
                      "fontWeight": {
                        "anyOf": [
                          {
                            "type": "number",
                            "enum": [
                              100
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              200
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              300
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              400
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              500
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              600
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              700
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              800
                            ]
                          },
                          {
                            "type": "number",
                            "enum": [
                              900
                            ]
                          }
                        ],
                        "nullable": true
                      },
                      "textColor": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "active": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "Auto"
                                ]
                              }
                            ],
                            "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                            "nullable": true
                          },
                          "color": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "Auto"
                                ]
                              }
                            ],
                            "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                            "nullable": true
                          },
                          "hover": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "Auto"
                                ]
                              }
                            ],
                            "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                            "nullable": true
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  "px": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 100
                  },
                  "width": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 1,
                    "maximum": 200
                  }
                },
                "additionalProperties": false
              },
              "launcherIcon": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "color": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "active": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      },
                      "color": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      },
                      "hover": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      }
                    },
                    "additionalProperties": false
                  },
                  "opacity": {
                    "description": "Percent, 0-100 (not 0-1).",
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 100
                  },
                  "size": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 1,
                    "maximum": 200
                  }
                },
                "additionalProperties": false
              },
              "mainColor": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "active": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                      },
                      {
                        "type": "string",
                        "enum": [
                          "Auto"
                        ]
                      }
                    ],
                    "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                    "nullable": true
                  },
                  "background": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                  },
                  "color": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                  },
                  "hover": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                      },
                      {
                        "type": "string",
                        "enum": [
                          "Auto"
                        ]
                      }
                    ],
                    "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                    "nullable": true
                  }
                },
                "additionalProperties": false
              },
              "modal": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "backdropClickBehavior": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "do-nothing",
                      "dismiss-flow",
                      null
                    ]
                  },
                  "padding": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 100
                  },
                  "width": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 100,
                    "maximum": 1000
                  }
                },
                "additionalProperties": false
              },
              "progress": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "chainRoundedHeight": {
                    "description": "Pixels. Applies ONLY when progress.type is \"chain-rounded\".",
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 1,
                    "maximum": 10
                  },
                  "chainSquaredHeight": {
                    "description": "Pixels. Applies ONLY when progress.type is \"chain-squared\".",
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 1,
                    "maximum": 10
                  },
                  "color": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                      },
                      {
                        "type": "string",
                        "enum": [
                          "Auto"
                        ]
                      }
                    ],
                    "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                    "nullable": true
                  },
                  "dotsHeight": {
                    "description": "Pixels. Applies ONLY when progress.type is \"dots\".",
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 1,
                    "maximum": 10
                  },
                  "enabled": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "height": {
                    "description": "Pixels. Applies ONLY when progress.type is \"full-width\" — each progress type reads its own height key.",
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 10
                  },
                  "narrowHeight": {
                    "description": "Pixels. Applies ONLY when progress.type is \"narrow\".",
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 1,
                    "maximum": 10
                  },
                  "numberedHeight": {
                    "description": "Pixels. Applies ONLY when progress.type is \"numbered\".",
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 1,
                    "maximum": 100
                  },
                  "position": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "top",
                      "bottom",
                      null
                    ]
                  },
                  "type": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "full-width",
                      "narrow",
                      "chain-rounded",
                      "chain-squared",
                      "dots",
                      "numbered",
                      null
                    ]
                  }
                },
                "additionalProperties": false
              },
              "resourceCenter": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "headerBackground": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "color": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      },
                      "gradientFrom": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      },
                      "gradientTo": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      },
                      "type": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "enum": [
                          "none",
                          "color",
                          "gradient",
                          "image",
                          null
                        ]
                      },
                      "imageUrl": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Image URL rendered to end users (writable). Empty string clears it. Any http(s) URL you host."
                      }
                    },
                    "additionalProperties": false
                  },
                  "largeWidth": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 100,
                    "maximum": 2000
                  },
                  "maxHeight": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 100,
                    "maximum": 2000
                  },
                  "normalWidth": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 100,
                    "maximum": 1000
                  },
                  "offsetX": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 1000
                  },
                  "offsetY": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 1000
                  },
                  "placement": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "top-left",
                      "top-right",
                      "bottom-left",
                      "bottom-right",
                      null
                    ]
                  },
                  "transitionDuration": {
                    "description": "Milliseconds.",
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 10000
                  },
                  "zIndex": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "dividerLines": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "Read-only through the API: echo it back unchanged or omit it — a changed value is rejected."
                  },
                  "logoUrl": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Image URL rendered to end users (writable). Empty string clears it. Any http(s) URL you host."
                  }
                },
                "additionalProperties": false
              },
              "resourceCenterLauncherButton": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "borderRadius": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 100
                  },
                  "color": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "active": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      },
                      "background": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      },
                      "foreground": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      },
                      "hover": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "Auto"
                            ]
                          }
                        ],
                        "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                        "nullable": true
                      }
                    },
                    "additionalProperties": false
                  },
                  "height": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 10,
                    "maximum": 200
                  },
                  "iconType": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "default-question-mark",
                      "plaintext-question-mark",
                      "custom",
                      null
                    ]
                  },
                  "imageHeight": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 10,
                    "maximum": 200
                  },
                  "textMode": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "resource-center-text",
                      "no-text",
                      null
                    ]
                  },
                  "iconUrl": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Image URL rendered to end users (writable). Empty string clears it. Any http(s) URL you host."
                  }
                },
                "additionalProperties": false
              },
              "resourceCenterUnreadBadge": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "backgroundColor": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                  },
                  "textColor": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                  }
                },
                "additionalProperties": false
              },
              "survey": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "color": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                      },
                      {
                        "type": "string",
                        "enum": [
                          "Auto"
                        ]
                      }
                    ],
                    "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                    "nullable": true
                  }
                },
                "additionalProperties": false
              },
              "tooltip": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "missingTargetBehavior": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "auto-dismiss",
                      "use-bubble",
                      null
                    ]
                  },
                  "missingTargetTolerance": {
                    "description": "SECONDS to keep looking for a missing tooltip target before missingTargetBehavior kicks in. A runtime SDK missing-target setting, when configured, takes precedence over this.",
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 0,
                    "maximum": 10
                  },
                  "notchSize": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 5,
                    "maximum": 100
                  },
                  "width": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 100,
                    "maximum": 1000
                  }
                },
                "additionalProperties": false
              },
              "xbutton": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "color": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                      },
                      {
                        "type": "string",
                        "enum": [
                          "Auto"
                        ]
                      }
                    ],
                    "description": "A hex color (e.g. \"#2563eb\"), or the literal \"Auto\" to derive the value from the theme's base colors. Reads return the stored intent — \"Auto\" comes back as \"Auto\", not resolved.",
                    "nullable": true
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          }
        },
        "required": [
          "name",
          "conditions"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false,
  "$defs": {
    "CreateThemeBodyDto__schema0": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "group"
              ]
            },
            "match": {
              "type": "string",
              "enum": [
                "all",
                "any"
              ]
            },
            "conditions": {
              "minItems": 1,
              "type": "array",
              "items": {
                "$ref": "#/$defs/CreateThemeBodyDto__schema0"
              },
              "description": "The grouped conditions — at least one. An EMPTY group is not \"no filter\": it never matches, so next to an AND it makes the whole rule unmatchable, and writing one is rejected. A version saved with an empty group in the BUILDER still reads back with it (validate warns); writing that list back is refused until the group is filled or dropped."
            }
          },
          "required": [
            "type",
            "match",
            "conditions"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "attribute"
              ]
            },
            "scope": {
              "type": "string",
              "enum": [
                "user",
                "company",
                "companyMembership"
              ],
              "description": "Which entity owns the attribute — `user` (the end user), `company`, or `companyMembership`. Same value as the attribute definition's `scope` (see the attribute definitions list); required to disambiguate a codeName that exists in more than one scope."
            },
            "attribute": {
              "type": "string"
            },
            "op": {
              "type": "string",
              "enum": [
                "is",
                "not",
                "contains",
                "not_contains",
                "starts_with",
                "ends_with",
                "any",
                "empty",
                "lt",
                "lte",
                "gt",
                "gte",
                "between",
                "true",
                "false",
                "includes_any",
                "includes_all",
                "not_includes_any",
                "not_includes_all",
                "less_than",
                "exactly",
                "more_than",
                "before",
                "on",
                "after"
              ],
              "description": "Operator — the allowed set depends on the attribute dataType. String: is | not | contains | not_contains | starts_with | ends_with | any | empty. Number: is | not | lt | lte | gt | gte | between | any | empty. Boolean: true | false | any | empty. List: includes_any | includes_all | not_includes_any | not_includes_all | any | empty. DateTime: less_than | exactly | more_than (relative — `value` is a number of days) | before | on | after (`value` is an absolute date) | any | empty. The relative ops are ONE-SIDED bounds around (now − N days): `less_than N` = the date is AFTER now−N — so it also matches every FUTURE date, and on a future-dated attribute (a trial end, a renewal date) it is NOT \"within the last N days\"; `more_than N` = the date is BEFORE now−N. **\"Signed up in the last N days\" therefore needs BOTH bounds** — `less_than N` AND `more_than 0` in one `all` group; `less_than N` alone silently includes anyone whose date is in the future (a mis-mapped trial-end column, a clock/timezone slip), and those are exactly the users a new-user audience must not contain (observed in testing). Negative N shifts the bound into the future: the rolling \"within the NEXT 7 days\" window is `less_than` value \"0\" AND `more_than` value \"-7\" (two conditions, both required). The relative ops are DAY-granularity only — no unit field; for hour/minute windows use an `event` condition with a `within` (which has a `unit`)."
            },
            "value": {
              "description": "The comparison value (string / number-as-string / date). Omit for any/empty/true/false.",
              "type": "string"
            },
            "value2": {
              "description": "Upper bound for the `between` operator (`value` is the lower bound).",
              "type": "string"
            },
            "values": {
              "description": "Values for the List operators (includes_any / includes_all / …).",
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "required": [
            "type",
            "scope",
            "attribute",
            "op"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "segment"
              ]
            },
            "segment": {
              "type": "string"
            },
            "in": {
              "type": "boolean"
            }
          },
          "required": [
            "type",
            "segment",
            "in"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "current_url"
              ]
            },
            "includes": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "URL patterns (anchored whole-url match, NOT substring/regex). `*` = wildcard within one url part; `:name` = one path segment. A bare `*` (i.e. `[\"*\"]`) matches EVERY page on every host incl. deep paths — the canonical always-on / whole-site pattern (use it when content should be available everywhere). Scope it down instead with: `*/` (homepage only — path exactly `/`), `*/pricing` (one page), `*/app/*` (a section + below), `host.com/*` (any page on a specific host). Multiple patterns are OR-matched: the URL matches this list if it matches ANY one pattern (so \"/tasks OR /dashboard\" is one condition with both patterns here — no group needed)."
            },
            "excludes": {
              "description": "URL patterns to exclude (same syntax as includes); excludes win over includes.",
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "required": [
            "type",
            "includes"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "element"
              ]
            },
            "target": {
              "type": "object",
              "properties": {
                "selector": {
                  "type": "string",
                  "minLength": 1,
                  "description": "A stable CSS selector for the element, on the page or inside a same-origin iframe (written relative to the frame's own document). The runtime targets the FIRST match — so either make the selector unique, or pair a stable non-unique selector with `nth` to pick the intended match. A non-unique selector with no `nth` targets the first (often wrong) element and the tooltip silently won't render."
                },
                "text": {
                  "description": "Optional refinement of `selector`. Requires the targeted element's visible text to equal this (exact match, after trim) — use it to pin a specific content/state (e.g. a stable id whose displayed text you want to match: id + text). It refines the element chosen by `selector`/`nth`; on its own it does NOT search among multiple matches, so disambiguate a non-unique selector with `nth`, not `text` alone.",
                  "type": "string"
                },
                "nth": {
                  "description": "Optional refinement of `selector`. 0-based index to pick which match when the selector isn't unique — e.g. a stable selector matching 3 elements + `nth: 1` targets the 2nd, giving a unique result. Matches are taken in document order (as they appear in the page HTML). Range 0–4 — only the first 5 matches are addressable; a larger value is rejected.",
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 4
                }
              },
              "required": [
                "selector"
              ]
            },
            "state": {
              "type": "string",
              "enum": [
                "present",
                "hidden",
                "disabled",
                "enabled",
                "clicked",
                "unclicked"
              ],
              "description": "`present` means NOT CLIPPED AWAY: the element is in the DOM and its box lies inside the viewport / its scroll ancestors — scrolled off-screen or `display:none` never satisfies it (and `hidden` is its negation). It is NOT \"the user can see something there\": an EMPTY, zero-height placeholder node satisfies `present` (observed in testing: a checklist task keyed on an initially-empty `<p>` status line ticked itself the moment the checklist appeared, before the shopper did anything). So do not use element presence as a proxy for \"the app has said something\": most apps keep the container mounted and only fill in its text. Match the TEXT instead (`target.text` + `present`, or the negation trick: the old text `hidden`). Appearances shorter than about a second can be missed entirely. `disabled`/`enabled` read the element disabled state at evaluation time. **`clicked` means \"clicked since page load AND the element is STILL in the DOM right now\"** — both halves, re-checked every evaluation. The click memory latches (the listener attaches the FIRST time the condition is evaluated, so earlier clicks are invisible, and the memory survives a re-render), but the element lookup is redone each poll. Two consequences, one of them silent: (1) **an element that UNMOUNTS on click can NEVER satisfy it** — the click lands, the element vanishes, the lookup fails from then on and the condition stays false forever with no error (observed in testing: a tracker on a button that clears its own toolbar counted ZERO real clicks); (2) an element that unmounts and REMOUNTS satisfies it again, so a tracker gated on it fires once per remount — not once per page load. Unlike `present`, this lookup does NOT require viewport visibility: scrolling the target off-screen keeps `clicked` true. `unclicked` negates the same pair, so it is also false while the element is absent. To count a COMPLETED action, condition on what the app shows afterwards (a success toast, a state change) rather than `clicked` on the button that starts it."
            }
          },
          "required": [
            "type",
            "state"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "content_state"
              ]
            },
            "content": {
              "type": "string",
              "description": "contentId of the FLOW or CHECKLIST whose per-user state to check (an id from the content list). Only flows and checklists record this state — referencing content of any other type is rejected at write."
            },
            "state": {
              "type": "string",
              "enum": [
                "seen",
                "unseen",
                "completed",
                "uncompleted",
                "active",
                "inactive"
              ],
              "description": "The referenced flow/checklist's state for THIS user. seen = started at least once (for a flow, TRUE from the moment it opens; for a checklist, TRUE only once the user EXPANDS the panel — a `initialDisplay: \"button\"` checklist whose launcher is never clicked stays unseen forever); unseen = never started; active = currently open/running; inactive = NOT currently running (covers both never-started and ran-then-closed); completed = reached a goal/completion step; uncompleted = not completed. To gate piece B until flow A has run AND closed (the usual \"show next thing after the welcome flow\" sequencing), use `seen` AND `inactive` together — `seen` alone fires while A is still open (B piles on top), and `completed` alone strands users who skip/dismiss A."
            }
          },
          "required": [
            "type",
            "content",
            "state"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "event"
              ]
            },
            "event": {
              "type": "string"
            },
            "count": {
              "description": "How many times the event must have occurred. Omit it for the common case \"the event has happened\" (treated as at_least 1). Set `op`/`n` for a threshold (`between` needs `n` and `n2`). `at_least`/`between` require n ≥ 1; use `at_most`/`exactly` with 0 for \"never happened\".",
              "type": "object",
              "properties": {
                "op": {
                  "type": "string",
                  "enum": [
                    "at_least",
                    "at_most",
                    "exactly",
                    "between"
                  ]
                },
                "n": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "n2": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "op",
                "n"
              ]
            },
            "within": {
              "description": "Optional time window for the event count. Omit it (or use `any_time`) to count over all time — \"the event has ever happened\". Any other `op` (`in_the_last` / `more_than` / `between`) requires BOTH `value` and `unit`, and `between` also `value2` — rejected at write otherwise.",
              "type": "object",
              "properties": {
                "op": {
                  "type": "string",
                  "enum": [
                    "in_the_last",
                    "more_than",
                    "between",
                    "any_time"
                  ]
                },
                "value": {
                  "type": "number"
                },
                "value2": {
                  "type": "number"
                },
                "unit": {
                  "type": "string",
                  "enum": [
                    "seconds",
                    "minutes",
                    "hours",
                    "days"
                  ]
                }
              },
              "required": [
                "op"
              ]
            },
            "scope": {
              "description": "Whose event activity to count (default `current_user`). `current_user` = only this user's own events. `current_user_in_company` = this user's events, but counted within their currently-associated company context (needs the user associated to a company via `group()` / the company-membership API). `any_user_in_company` = events by ANY user in this user's company — account-level activity (e.g. \"anyone on the account has done X\"). The two company scopes require the user to be in a company or they never match.",
              "type": "string",
              "enum": [
                "current_user",
                "current_user_in_company",
                "any_user_in_company"
              ]
            },
            "where": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/CreateThemeBodyDto__schema1"
              }
            }
          },
          "required": [
            "type",
            "event"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "text_input"
              ]
            },
            "target": {
              "type": "object",
              "properties": {
                "selector": {
                  "type": "string",
                  "minLength": 1,
                  "description": "A stable CSS selector for the element, on the page or inside a same-origin iframe (written relative to the frame's own document). The runtime targets the FIRST match — so either make the selector unique, or pair a stable non-unique selector with `nth` to pick the intended match. A non-unique selector with no `nth` targets the first (often wrong) element and the tooltip silently won't render."
                },
                "text": {
                  "description": "Optional refinement of `selector`. Requires the targeted element's visible text to equal this (exact match, after trim) — use it to pin a specific content/state (e.g. a stable id whose displayed text you want to match: id + text). It refines the element chosen by `selector`/`nth`; on its own it does NOT search among multiple matches, so disambiguate a non-unique selector with `nth`, not `text` alone.",
                  "type": "string"
                },
                "nth": {
                  "description": "Optional refinement of `selector`. 0-based index to pick which match when the selector isn't unique — e.g. a stable selector matching 3 elements + `nth: 1` targets the 2nd, giving a unique result. Matches are taken in document order (as they appear in the page HTML). Range 0–4 — only the first 5 matches are addressable; a larger value is rejected.",
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 4
                }
              },
              "required": [
                "selector"
              ]
            },
            "op": {
              "type": "string",
              "enum": [
                "is",
                "not",
                "contains",
                "not_contains",
                "starts_with",
                "ends_with",
                "match",
                "unmatch",
                "any",
                "empty"
              ]
            },
            "value": {
              "type": "string"
            }
          },
          "required": [
            "type",
            "op"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "text_filled"
              ]
            },
            "target": {
              "type": "object",
              "properties": {
                "selector": {
                  "type": "string",
                  "minLength": 1,
                  "description": "A stable CSS selector for the element, on the page or inside a same-origin iframe (written relative to the frame's own document). The runtime targets the FIRST match — so either make the selector unique, or pair a stable non-unique selector with `nth` to pick the intended match. A non-unique selector with no `nth` targets the first (often wrong) element and the tooltip silently won't render."
                },
                "text": {
                  "description": "Optional refinement of `selector`. Requires the targeted element's visible text to equal this (exact match, after trim) — use it to pin a specific content/state (e.g. a stable id whose displayed text you want to match: id + text). It refines the element chosen by `selector`/`nth`; on its own it does NOT search among multiple matches, so disambiguate a non-unique selector with `nth`, not `text` alone.",
                  "type": "string"
                },
                "nth": {
                  "description": "Optional refinement of `selector`. 0-based index to pick which match when the selector isn't unique — e.g. a stable selector matching 3 elements + `nth: 1` targets the 2nd, giving a unique result. Matches are taken in document order (as they appear in the page HTML). Range 0–4 — only the first 5 matches are addressable; a larger value is rejected.",
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 4
                }
              },
              "required": [
                "selector"
              ]
            }
          },
          "required": [
            "type"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "time_window"
              ]
            },
            "start": {
              "type": "string",
              "description": "Window start (ISO datetime). REQUIRED — the runtime never matches a window without a start, so an end-only window is rejected at write. For \"until X\" semantics, set start to any past instant and end to X."
            },
            "end": {
              "description": "Window end (ISO datetime). Omit for an open-ended \"from start onwards\" window.",
              "type": "string"
            }
          },
          "required": [
            "type",
            "start"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "unsupported"
              ]
            },
            "note": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "description": "Read-side placeholder for a stored condition this API cannot express (`note` says what it stands for — usually a DEAD condition the runtime never matches: a deleted attribute/event, an end-only time window). It cannot be written back (the placeholder carries no data to preserve): echoing it is rejected. Either remove it from the list you write — an explicit choice that DELETES the stored condition; mind that a never-matching node inside an AND list pins the whole rule to \"never fires\", so deleting it can bring the remaining conditions to life — or repair the original condition in the Usertour builder first."
        }
      ]
    },
    "CreateThemeBodyDto__schema1": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "event_attribute"
              ]
            },
            "attribute": {
              "type": "string"
            },
            "op": {
              "type": "string",
              "enum": [
                "is",
                "not",
                "contains",
                "not_contains",
                "starts_with",
                "ends_with",
                "any",
                "empty",
                "lt",
                "lte",
                "gt",
                "gte",
                "between",
                "true",
                "false",
                "includes_any",
                "includes_all",
                "not_includes_any",
                "not_includes_all",
                "less_than",
                "exactly",
                "more_than",
                "before",
                "on",
                "after"
              ]
            },
            "value": {
              "type": "string"
            },
            "value2": {
              "type": "string"
            },
            "values": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "required": [
            "type",
            "attribute",
            "op"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "group"
              ]
            },
            "match": {
              "type": "string",
              "enum": [
                "all",
                "any"
              ]
            },
            "conditions": {
              "minItems": 1,
              "type": "array",
              "items": {
                "$ref": "#/$defs/CreateThemeBodyDto__schema1"
              },
              "description": "The grouped conditions — at least one. An EMPTY group is not \"no filter\": it never matches, so next to an AND it makes the whole rule unmatchable, and writing one is rejected. A version saved with an empty group in the BUILDER still reads back with it (validate warns); writing that list back is refused until the group is filled or dropped."
            }
          },
          "required": [
            "type",
            "match",
            "conditions"
          ]
        }
      ]
    }
  }
}