There are other requirements. The building must function as a complete system and meet all the respective code requirements. If you are adding to a structure you need to analyse the interactions between the new elements and the existing.
When it comes to lateral load you need to consider the loads, the location of the loads and their relative stiffness's. In brief if your new structure is less stiff laterally then it will likely impose lateral loads on the existing structure. If it is more stiff then it will likely attract lateral loads which could be very significant. You can somewhat avoid the transfer of lateral loads if you provide separation joints between the two structures. But that could have its own challenges if differential deflections are high.
The above is an overview of a thorough analysis. The easy way is to attach your structure and rely on the lateral system of the existing larger building. Of course you have to be sure there is sufficient capacity in the existing lateral system and the load paths to it.