missing_fieldskeys for a hint on where things are and what you need to do next.
required_fields: all fields that must be collected before the Sign Up converts into a User.
optional_fields: all fields that can be collected, but are not necessary to convert the Sign Up.
missing_fields: A subset of
required_fields. It contains all fields that still need to be collected before a successful Sign Up. Note that the
missing_fieldswill be updated dynamically. As you add more fields to the Sign Up, they will be removed from
missing_fields.Once it's empty, your Sign Up will automatically convert into a User.
phone_numberare examples of such keys.
phone_number, must be verified before it is fully added to the Sign Up. Similar to what happens with required fields, the Sign Up contains the current state of all verified fields. The keys relative to verification are
unverified_fields: a list of all User attributes that need to be verified and are pending verification. This is a list that gets updated dynamically, eventually becoming an empty array, when verification for all required fields has been successfully completed.
verifications: an object that describes the current state of verification for the Sign Up. There are currently three different keys nested in there;