All swimming pools that are capable of holding water over 24 inches deep, including inflatable pools, require a building permit and must comply with the NYS Uniform Fire Prevention and Building Code for barriers.