Generates forms and validates data from a schema