{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/referralcandy/main/json-schema/referralcandy-post-api-v22-signup-json-response-schema.json",
  "title": "PostApiV22SignupJsonResponse",
  "x-generated": "2026-10-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/referralcandy-openapi-generated.yml#/components/schemas/PostApiV22SignupJsonResponse",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "A message indicating the outcome of the API call."
    },
    "reason": {
      "type": "string",
      "description": "Further information provided about the response."
    },
    "referralcorner_url": {
      "type": "string",
      "description": "URL of the advocate's Portal Sharing Page of the primary campaign enrollment."
    },
    "referral_link": {
      "type": "string",
      "description": "URL of the advocate's unique referral link of the primary campaign enrollment."
    },
    "invite_code": {
      "type": "string",
      "description": "The latest invite code(AIC) of the advocate of the primary campaign enrollment."
    },
    "segment": {
      "type": "string",
      "description": "Segment assignment details."
    },
    "enrollments": {
      "type": "string",
      "description": "Array of enrollment results for each campaign."
    }
  }
}