housing codes — Legal Definition, Examples & Cases