generate layouts schema