Exactly. They've imposed "international building codes" on everything from dog houses to sheds. You have to apply for permits, submit architectural drawings (signed by an architect, not something you do yourself), elevation maps, aerial photos, etc. For a dog house.
It also has to conform to some amorphous design style, for which there is no actual definition. If you could see where I live you'd laugh your behind off at that. The houses are virtually all renter-occupied and most are in various states of disrepair. No one gives a wahoo about "style."
Chickens are allowed but the structure regulations are absurd to discourage anyone from building anything. You can have chickens... but not really, because you can't build anything for them to live in. The guy at the planning office said he'd be furious if anyone tried to implement something like this where he lives (he has chickens, too).
Anyway, several of our neighbors have chickens and their coops are nowhere near any of these outlandish standards. I don't know if that's an indication that this ridiculousness isn't enforced or what. My roommate has thrown up her hands at the whole thing.