Raw schema
{
"type": "object",
"properties": {
"accessToken": {
"type": "string",
"description": "One-time access token from verify_payment"
},
"title": {
"type": "string",
"description": "Campaign title (shown to participants)"
},
"description": {
"type": "string",
"description": "Short description of the campaign purpose"
},
"questions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Question text"
}
},
"required": [
"text"
],
"additionalProperties": false
},
"minItems": 1,
"description": "List of audio questions for participants to answer"
},
"cohortEmails": {
"type": "array",
"items": {
"type": "string",
"format": "email"
},
"minItems": 2,
"description": "Email addresses of participants (minimum 2 for privacy)"
},
"rewardMode": {
"type": "string",
"enum": [
"INCENTIVIZED",
"NO_REWARD"
],
"description": "INCENTIVIZED: crypto rewards per response. NO_REWARD: survey only, flat activation fee."
},
"incentiveCents": {
"type": "integer",
"description": "Reward per participant in cents (e.g. 500 = $5.00). Required for INCENTIVIZED."
},
"rewardMint": {
"type": "string",
"description": "SPL token mint address for rewards. Defaults to USDC if omitted."
},
"digitalGiftText": {
"type": "string",
"description": "Optional digital gift description shown to NO_REWARD participants (e.g. a discount code)"
},
"minPercent": {
"type": "number",
"minimum": 50,
"maximum": 100,
"description": "Minimum response rate (%) required to unlock results. Defaults to 50."
},
"expiresInDays": {
"type": "integer",
"minimum": 1,
"maximum": 42,
"description": "Campaign duration in days (1–42, default 7)"
}
},
"required": [
"accessToken",
"title",
"description",
"questions",
"cohortEmails",
"rewardMode"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}