{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/reeldrop-io/json-schema/reeldrop-io-campaign-in-schema.json",
  "title": "CampaignIn",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/reeldrop-io-openapi.json#/components/schemas/CampaignIn",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "title": "Name"
    },
    "type": {
      "type": "string",
      "enum": [
        "ugc",
        "influencer"
      ],
      "title": "Type"
    },
    "hashtag": {
      "type": "string",
      "maxLength": 60,
      "title": "Hashtag",
      "default": ""
    },
    "mention": {
      "type": "string",
      "maxLength": 60,
      "title": "Mention",
      "default": ""
    },
    "budget_cents": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Budget Cents"
    },
    "brief_md": {
      "type": "string",
      "title": "Brief Md",
      "default": ""
    },
    "product_url": {
      "type": "string",
      "title": "Product Url",
      "default": "https://reeldrop.io"
    },
    "allowed_countries": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Allowed Countries",
      "default": []
    },
    "min_followers": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Min Followers"
    },
    "min_account_age_days": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Min Account Age Days"
    },
    "cpm_cents": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cpm Cents"
    },
    "threshold_views": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Threshold Views"
    },
    "cap_reel_cents": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cap Reel Cents"
    },
    "cap_creator_cents": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cap Creator Cents"
    },
    "max_paid_reels_per_creator": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Paid Reels Per Creator"
    },
    "fixed_fee_reel_cents": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Fixed Fee Reel Cents"
    },
    "window_days": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Window Days"
    },
    "hold_days": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Hold Days"
    },
    "spot_check_rate": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Spot Check Rate"
    },
    "accepts_reels_until": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Accepts Reels Until"
    },
    "max_creators": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Creators"
    }
  },
  "type": "object",
  "required": [
    "name",
    "type",
    "budget_cents"
  ]
}