Cities have their own local building codes but also often individual home subdivisions have what are called a Home Owner's Association that often trump the laws of the City. An HOA is something usually agreed to simply by signing your deed for the home in that area. Another name fir this is called, "deed restrictions" can can hold up in a court of law if not abided by.