{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getthereferral/json-schema/getthereferral-post-v2-advocates-request-schema.json",
  "title": "PostV2AdvocatesRequest",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/getthereferral-openapi-generated.yml#/components/schemas/PostV2AdvocatesRequest",
  "type": "object",
  "properties": {
    "sales_rep_id": {
      "type": "integer"
    },
    "email": {
      "type": "string"
    },
    "country_code": {
      "type": "string"
    },
    "phone": {
      "type": "string"
    },
    "firstname": {
      "type": "string"
    },
    "lastname": {
      "type": "string"
    },
    "password": {
      "type": "string"
    },
    "street1": {
      "type": "string"
    },
    "street2": {
      "type": "string"
    },
    "city": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "zip": {
      "type": "string"
    },
    "refer_code": {
      "type": "string"
    },
    "parent_advocate_id": {
      "type": "string"
    },
    "provider": {
      "type": "string"
    },
    "provider_id": {
      "type": "string"
    },
    "amb_contact_id": {
      "type": "string"
    },
    "amb_acc_owner": {
      "type": "string"
    },
    "ambassador_id": {
      "type": "string"
    },
    "xtrm_pat_user_id": {
      "type": "string"
    },
    "lead_share_url": {
      "type": "string"
    },
    "custom_lead": {
      "type": "string"
    },
    "advocate_invite_url": {
      "type": "string"
    },
    "company_cam_project_id": {
      "type": "string"
    }
  }
}