Building an accessory structure in your backyard requires careful navigation through municipal zoning codes, building bylaws, and provincial housing legislation.…