schema generation works