The electron dot diagram for calcium oxide shows the Ca2+ ion next to the oxide ion which is drawn in square brackets, with the 2- charge outside the brackets. There are 4 lone pairs of electrons surrounding the oxygen atom.