add schema generating for hidden fields