{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/easyleadcloud-com/json-schema/easyleadcloud-com-admin-affiliate-create-request-schema.json",
  "title": "AdminAffiliateCreateRequest",
  "x-generated": "2026-12-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/easyleadcloud-com-api-openapi.json#/components/schemas/AdminAffiliateCreateRequest",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name"
    },
    "email": {
      "type": "string",
      "title": "Email"
    },
    "code": {
      "type": "string",
      "title": "Code",
      "default": ""
    },
    "channel_url": {
      "type": "string",
      "title": "Channel Url",
      "default": ""
    },
    "payout_method": {
      "type": "string",
      "title": "Payout Method",
      "default": "Wise"
    },
    "promo_rate_pct": {
      "type": "number",
      "title": "Promo Rate Pct",
      "default": 40.0
    },
    "promo_days": {
      "type": "integer",
      "title": "Promo Days",
      "default": 90
    },
    "base_rate_pct": {
      "type": "number",
      "title": "Base Rate Pct",
      "default": 30.0
    }
  },
  "type": "object",
  "required": [
    "name",
    "email"
  ]
}