{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alert-camp/json-schema/alert-camp-creator-summary-out-schema.json",
  "title": "CreatorSummaryOut",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alert-camp-creators-api-openapi.yml#/components/schemas/CreatorSummaryOut",
  "properties": {
    "currency": {
      "type": "string",
      "title": "Currency"
    },
    "clicks": {
      "type": "integer",
      "title": "Clicks"
    },
    "clicks_30d": {
      "type": "integer",
      "title": "Clicks 30D"
    },
    "clicks_by_platform": {
      "additionalProperties": {
        "type": "integer"
      },
      "type": "object",
      "title": "Clicks By Platform"
    },
    "attributed_users": {
      "type": "integer",
      "title": "Attributed Users"
    },
    "paying_users": {
      "type": "integer",
      "title": "Paying Users"
    },
    "pro_conversions": {
      "type": "integer",
      "title": "Pro Conversions"
    },
    "regular_conversions": {
      "type": "integer",
      "title": "Regular Conversions"
    },
    "balance": {
      "$ref": "#/$defs/CreatorBalanceOut"
    },
    "payout_threshold_cents": {
      "type": "integer",
      "title": "Payout Threshold Cents"
    },
    "payout_due": {
      "type": "boolean",
      "title": "Payout Due"
    },
    "last_payout_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Payout At"
    },
    "last_payout_cents": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Payout Cents"
    }
  },
  "type": "object",
  "required": [
    "currency",
    "clicks",
    "clicks_30d",
    "clicks_by_platform",
    "attributed_users",
    "paying_users",
    "pro_conversions",
    "regular_conversions",
    "balance",
    "payout_threshold_cents",
    "payout_due",
    "last_payout_at",
    "last_payout_cents"
  ],
  "$defs": {
    "CreatorBalanceOut": {
      "properties": {
        "pending_cents": {
          "type": "integer",
          "title": "Pending Cents"
        },
        "eligible_cents": {
          "type": "integer",
          "title": "Eligible Cents"
        },
        "paid_cents": {
          "type": "integer",
          "title": "Paid Cents"
        },
        "next_eligible_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Next Eligible At"
        }
      },
      "type": "object",
      "required": [
        "pending_cents",
        "eligible_cents",
        "paid_cents",
        "next_eligible_at"
      ],
      "title": "CreatorBalanceOut"
    }
  }
}