{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getoneprofile-ai/json-schema/getoneprofile-ai-affiliate-program-read-schema-schema.json",
  "title": "AffiliateProgramReadSchema",
  "description": "What the affiliate program pays right now: the public half of the offer.",
  "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/AffiliateProgramReadSchema",
  "properties": {
    "conversion_deadline_days": {
      "description": "Days after signup within which a referral must start paying for the stamped terms to hold; later conversions earn the standard schedule.",
      "title": "Conversion Deadline Days",
      "type": "integer"
    },
    "duration_months": {
      "description": "How many months of that customer's payments the rate applies to.",
      "title": "Duration Months",
      "type": "integer"
    },
    "launch_offer_active": {
      "description": "Whether the launch offer currently applies.",
      "title": "Launch Offer Active",
      "type": "boolean"
    },
    "launch_offer_ends_on": {
      "description": "The last day of the launch offer, unless ended earlier.",
      "format": "date",
      "title": "Launch Offer Ends On",
      "type": "string"
    },
    "payout_minimum_cents": {
      "description": "Available balance, in USD cents, below which a monthly payout rolls over.",
      "title": "Payout Minimum Cents",
      "type": "integer"
    },
    "pending_days": {
      "description": "How long an earned commission stays pending before it is payable.",
      "title": "Pending Days",
      "type": "integer"
    },
    "rate_bps": {
      "description": "Commission rate a customer attributed today is stamped with, in basis points.",
      "title": "Rate Bps",
      "type": "integer"
    },
    "standard_duration_months": {
      "description": "The standard duration, in months, outside the launch offer.",
      "title": "Standard Duration Months",
      "type": "integer"
    },
    "standard_rate_bps": {
      "description": "The standard rate, in basis points, outside the launch offer.",
      "title": "Standard Rate Bps",
      "type": "integer"
    }
  },
  "required": [
    "rate_bps",
    "duration_months",
    "standard_rate_bps",
    "standard_duration_months",
    "launch_offer_active",
    "launch_offer_ends_on",
    "conversion_deadline_days",
    "pending_days",
    "payout_minimum_cents"
  ],
  "type": "object"
}