{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/favcrm-io/json-schema/favcrm-io-register-member-request-schema.json",
  "title": "RegisterMemberRequest",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/favcrm-io-openapi.yaml#/components/schemas/RegisterMemberRequest",
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "phone": {
      "type": "string"
    },
    "email": {
      "type": "string",
      "format": "email"
    },
    "source": {
      "type": "string"
    },
    "registrationTicket": {
      "type": "string",
      "description": "Single-use ticket from a `REGISTRATION_REQUIRED` OTP verify response. Required when the phone belongs to an unregistered WhatsApp contact; the existing contact record is upgraded in place."
    }
  }
}