Usertour · Schema

CreateThemeBodyDto

CompanyOpen SourceUser OnboardingSoftware-as-a-ServiceDeveloper Tools

Properties

Name Type Description
name string Theme name.
isDefault boolean Make this the project default theme.
settings object 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: Au
variations array 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.
View JSON Schema on GitHub

JSON Schema

usertour-io-create-theme-body-dto-schema.json Raw ↑
{
  "$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})$"
                        },
    

# --- truncated at 32 KB (212 KB total) ---
# Full source: https://artifacts.apis.io/usertour-io/json-schema/usertour-io-create-theme-body-dto-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/usertour-io-create-theme-body-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.