{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/monacloud/json-schema/monacloud-affiliate-settings-request-schema.json",
  "title": "AffiliateSettingsRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/monacloud-auth-api-openapi.yml#/components/schemas/AffiliateSettingsRequest",
  "properties": {
    "method": {
      "type": "string",
      "enum": [
        "credit",
        "bank"
      ],
      "title": "Method"
    },
    "bank_name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 120
        },
        {
          "type": "null"
        }
      ],
      "title": "Bank Name"
    },
    "bank_account": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 80
        },
        {
          "type": "null"
        }
      ],
      "title": "Bank Account"
    },
    "bank_holder": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 160
        },
        {
          "type": "null"
        }
      ],
      "title": "Bank Holder"
    },
    "tax_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 40
        },
        {
          "type": "null"
        }
      ],
      "title": "Tax Id"
    }
  },
  "type": "object",
  "required": [
    "method"
  ]
}