generating jschema with validation too