Note that resonance structures III and IV do not satisfy the octet rule, and are therefore rejected.
Note also that the two peripheral O atoms are equivalent, and since the central oxygen bears the positive formal charge in the two resonance structure, we conclude that the central oxygen is electrophilic and the other two oxygen atoms are nucleophilic.