{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sitegpt-ai/json-schema/sitegpt-ai-whitelabel-brand-schema.json",
  "title": "Whitelabel-Brand",
  "description": "Details of the whitelabel brand",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sitegpt-ai-whitelabel-api-openapi.yml#/components/schemas/WhitelabelBrand",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Id of the whitelabel brand"
    },
    "name": {
      "type": "string",
      "description": "Name of the whitelabel brand"
    },
    "domain": {
      "type": "string",
      "description": "Domain of the whitelabel brand"
    },
    "marketingDomain": {
      "type": "string",
      "description": "Marketing domain of the whitelabel brand"
    },
    "supportEmail": {
      "type": "string",
      "description": "Support email of the whitelabel brand"
    },
    "color": {
      "type": "string",
      "description": "Color of the whitelabel brand"
    },
    "terms": {
      "type": "string",
      "description": "Terms and conditions of the whitelabel brand"
    },
    "privacyPolicy": {
      "type": "string",
      "description": "Privacy policy of the whitelabel brand"
    },
    "watermark": {
      "type": [
        "string",
        "null"
      ]
    },
    "ownedById": {
      "type": "string",
      "description": "Owner id of the whitelabel brand"
    },
    "logo": {
      "type": "string",
      "description": "Logo of the whitelabel brand"
    },
    "fullLogo": {
      "type": "string",
      "description": "Full logo of the whitelabel brand"
    },
    "metaDetails": {
      "$ref": "#/$defs/WhitelabelBrandMetaDetails"
    },
    "emailSettings": {
      "$ref": "#/$defs/WhitelabelBrandEmailSettings"
    },
    "defaultQuota": {
      "$ref": "#/$defs/WhitelabelBrandDefaultQuota"
    },
    "createdAt": {
      "type": "string",
      "description": "Timestamp at which the brand has been created"
    },
    "updatedAt": {
      "type": "string",
      "description": "Timestamp at which the brand has been recently updated"
    }
  },
  "$defs": {
    "WhitelabelBrandDefaultQuota": {
      "title": "Whitelabel-Brand-Default-Quota",
      "type": "object",
      "description": "Default quota of the brand",
      "properties": {
        "chatbotsQuota": {
          "type": "integer",
          "minimum": 0,
          "description": "Default chatbots quota for the new users"
        },
        "linksQuota": {
          "type": "integer",
          "minimum": 0,
          "description": "Default links quota for the new users"
        },
        "filesQuota": {
          "type": "integer",
          "minimum": 0,
          "description": "Default files quota for the new users"
        },
        "combinedMessagesQuota": {
          "type": "integer",
          "minimum": 0,
          "description": "Default messages quota for the new users"
        },
        "membersQuota": {
          "type": "integer",
          "minimum": 0,
          "description": "Default members quota for the new users"
        }
      }
    },
    "WhitelabelBrandEmailSettings": {
      "title": "Whitelabel-Brand-Email-Settings",
      "type": "object",
      "description": "Email settings of the whitelabel brand",
      "properties": {
        "fromName": {
          "type": [
            "string",
            "null"
          ],
          "description": "From name of email config of the whitelabel brand"
        },
        "fromEmail": {
          "type": "string",
          "description": "From email of email config of the whitelabel brand"
        },
        "replyToEmail": {
          "type": "string",
          "description": "Reply-to email of email config of the whitelabel brand email config"
        },
        "resendApiKey": {
          "type": "string",
          "description": "Resend API key of email config of the whitelabel brand"
        }
      }
    },
    "WhitelabelBrandMetaDetails": {
      "title": "Whitelabel-Brand-Meta-Details",
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "description": "Meta title of the whitelabel brand"
        },
        "description": {
          "type": "string",
          "description": "Meta description of the whitelabel brand"
        },
        "ogImage": {
          "type": "string",
          "description": "Og image of the whitelabel brand"
        }
      },
      "description": "Meta details of the whitelabel brand"
    }
  }
}