format generated schema