In addition to the sibling commenter there are a couple of organizations with recommendations that one needs to follow. One of those concerns what standards to follow when building bathrooms. They are not technically required but I think it will be hard to get insurance for a house with a bathroom that does not follow the recommendations.