{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clickwise-net/json-schema/clickwise-net-affiliate-onboarding-start-request-schema.json",
  "title": "AffiliateOnboardingStartRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clickwise-net-panel-openapi.yml#/components/schemas/AffiliateOnboardingStartRequest",
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "format": "email"
    },
    "username": {
      "type": "string"
    },
    "website": {
      "type": "string",
      "format": "uri"
    },
    "category": {
      "type": "string"
    },
    "message": {
      "type": "string",
      "description": "Free-text: how will you promote?"
    },
    "lang": {
      "type": "string"
    },
    "phone": {
      "type": "string"
    },
    "wa_service_opt_in": {
      "type": "boolean",
      "default": false
    },
    "wa_marketing_opt_in": {
      "type": "boolean",
      "default": false
    },
    "application_id": {
      "type": "integer",
      "description": "Application id returned by an earlier retryable response."
    },
    "access_secret": {
      "type": "string",
      "writeOnly": true,
      "description": "Per-application secret returned by an earlier response."
    },
    "on_behalf_of": {
      "type": "object",
      "additionalProperties": {},
      "description": "Full-read/API operators only: email, company and site for the third-party applicant."
    }
  }
}