In my county there are inspectors for water and septic. That's all. So that had to be to code.
Everything else is up to the landowner.