+1 to these.
We just went through this because it turned out that the pool that was built 8 years (!!) before we bought the house never closed out their building permits, so we had to have final inspections on the pool (luckily, the plumbing and bonding had been done).
Current code for your...