{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getoneprofile-ai/json-schema/getoneprofile-ai-affiliate-settings-read-schema-schema.json",
  "title": "AffiliateSettingsReadSchema",
  "description": "What the affiliate has set for themselves: where payouts go and the custom code.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getoneprofile-ai-affiliate-api-openapi.yml#/components/schemas/AffiliateSettingsReadSchema",
  "properties": {
    "paypal_email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "The PayPal account payouts are sent to.",
      "title": "Paypal Email"
    },
    "paypal_email_confirmed_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "When the payout email was last set; the destination hold counts from it.",
      "title": "Paypal Email Confirmed At"
    },
    "vanity_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "The claimed custom code, when one exists.",
      "title": "Vanity Code"
    }
  },
  "required": [
    "paypal_email",
    "paypal_email_confirmed_at",
    "vanity_code"
  ],
  "type": "object"
}