Form resource - updated schema definition

Added data property to schema definition for generate method