Wrong: I designed your building to withstand an earthquake with a magnitude of 7.0 and intensity 10.
Right: I designed your building according to the minimum safety requirements of the building code which aims to protect life and limb from harm due to a 475-year return period earthquake. I also designed the foundations as appropriate. The intensity depends on the expected level of damage. If all buildings were designed properly, the intensity scale (expected level of damage) would go down for the area around your building.