{
  "$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-request-schema.json",
  "title": "PostApiV22SignupJsonRequest",
  "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/PostApiV22SignupJsonRequest",
  "type": "object",
  "properties": {
    "first_name": {
      "type": "string",
      "description": "Advocate's first name."
    },
    "last_name": {
      "type": "string",
      "description": "Advocate's last name."
    },
    "email": {
      "type": "string",
      "description": "Advocate's email address."
    },
    "timestamp": {
      "type": "string",
      "description": "UNIX timestamp of API call."
    },
    "accessID": {
      "type": "string",
      "description": "API Access ID."
    },
    "signature": {
      "type": "string",
      "description": "Calculated signature."
    },
    "campaignId": {
      "type": "string",
      "description": "Sets the primary campaign in the response."
    },
    "segment_id": {
      "type": "string",
      "description": "ID of a static segment to assign the contact to."
    }
  },
  "required": [
    "first_name",
    "last_name",
    "email",
    "timestamp",
    "accessID",
    "signature"
  ]
}