A pool that has over 24" of water must have a permit. The installation and use of a pool whether above ground or in ground is governed by many specific codes. Some examples of these codes are fencing, alarm and GFCI requirements. Please make sure your installer is well versed in these codes.
Everything you always wanted to know about NYS Pool codes here: New York State Swimming Pool Rules & Regulations
Electricity must also be run out to your pool pump, and this must be inspected by a Licensed Electrical Underwriter. Extension cords are unacceptable.
NOTE: The pool may not be used until ALL inspections are complete and you have received a certificate of compliance.