1. In a medium bowl, combine tomatoes, onion, capers, olive oil, basil, lemon juice, shallots, 1 teaspoon salt, and 1/2 teaspoon black pepper, stirring gently. Cover and refrigerate to allow flavors to meld, preferably at least an hour or up to 1 day.