Have a look at https://opensource.google.com/docs/releasing/ for details.
I wish the law was worded such that it just had to be unrelated to the work that employee does for the employer, but it was not written with that forsight.
The author is based in Switzerland. He has some other pretty awesome projects, such as the I3 Window Manager