From here, it becomes an engineering problem; the engineer considers the ground motion that will occur and evaluates the requirements of the proposed structure in the light of the local foundation conditions.
These are usually described in the form of a design earthquake with a time history of the motion and shaking characteristics that are expected.