The Americans with Disabilities Act has useful guidance to follow when upgrading or building a new pool. You can find the latest standards here.
The linked older document has some good diagrams to help get you started.
Although not enforceable here, the ADA guidelines are a good standard to aim for when renovating or building pools.