{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zsign-io/json-schema/zsign-io-branding-response-schema.json",
  "title": "BrandingResponse",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zsign-io-openapi.yml#/components/schemas/BrandingResponse",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "user_id": {
      "type": "string",
      "format": "uuid",
      "title": "User Id"
    },
    "company_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Company Name"
    },
    "logo_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Logo Url"
    },
    "primary_color": {
      "type": "string",
      "title": "Primary Color"
    },
    "custom_domain": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Custom Domain"
    },
    "custom_domain_verified": {
      "type": "boolean",
      "title": "Custom Domain Verified"
    },
    "custom_domain_verified_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Custom Domain Verified At"
    },
    "custom_domain_render_registered": {
      "type": "boolean",
      "title": "Custom Domain Render Registered",
      "default": false
    },
    "custom_domain_target": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Custom Domain Target"
    },
    "custom_domain_a_record": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Custom Domain A Record"
    },
    "badge_removed": {
      "type": "boolean",
      "title": "Badge Removed",
      "default": false
    },
    "embed_origins": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Embed Origins",
      "default": []
    },
    "white_label": {
      "anyOf": [
        {
          "$ref": "#/$defs/WhiteLabelStatus"
        },
        {
          "type": "null"
        }
      ]
    },
    "sender_domain": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sender Domain"
    },
    "sender_domain_verified": {
      "type": "boolean",
      "title": "Sender Domain Verified",
      "default": false
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "user_id",
    "company_name",
    "logo_url",
    "primary_color",
    "custom_domain",
    "custom_domain_verified",
    "custom_domain_verified_at",
    "created_at",
    "updated_at"
  ],
  "$defs": {
    "WhiteLabelStatus": {
      "properties": {
        "active": {
          "type": "boolean",
          "title": "Active"
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status"
        },
        "current_period_end": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Current Period End"
        },
        "price_cents": {
          "type": "integer",
          "title": "Price Cents"
        },
        "monthly_credits": {
          "type": "integer",
          "title": "Monthly Credits"
        }
      },
      "type": "object",
      "required": [
        "active",
        "price_cents",
        "monthly_credits"
      ],
      "title": "WhiteLabelStatus"
    }
  }
}