#O=stackrel(+)O-O^-#. From left to right, around each #O# atom there are 6, 5, and 7 valence electrons, resulting in formal charges of #0#, #+1#, and #-1# respectively. Of course, I can draw the resonance structure with the negative charge on the LH #O# atom. Because there are 3 regions of electron density around the central #O# atom, (the double bond, the lone pair, and the single bond), we would predict a bent structure, with an #O-O-O# bond angle of a bit less than #120^@# around the central oxygen atom.
Here is a link that may help. (I assume it's public domain!).