In order to capture custom data attributes not defined in the standard Janrain configuration, a new field definition must be added to the flow to ensure data consistency for the data being collected.
Before adding a new field to the flow, you must first add a new attribute to the underlying schema.
Add a new attribute using entityType.addAttribute.
Since validation will be primarily enforced via the flow, it is not necessary to strictly define the attribute in the schema.
The name of the new attribute will be used as the
schemaAttribute in the field definition for the flow.
POST a new field definition to the flow using the localized field endpoint. This will allow you to specify all text in your default locale.