Your local code official will be knowledgeable about the specific requirements for your area and project. No one on an internet chat forum can possibly have the requisite knowledge of local conditions and regulations required, so I suggest you visit your building inspector with a rough sketch of what you want to do, and talk to them about the requirements.