An alternative Form for Mozilla's JSON Schema Form library with async validation
In the example below we have both the classical client-side validation (required fields, checking for even numbers) and an asynchronous ones.
Async validation is promise based, so can be whatever you want (common use-case: a POST/PUT REST request to a server API).