This question already has an answer here:
There's a problem from an old exam that I was trying to do. The original structure is given on the left and they want all the possible resonance forms that have closed-shell atoms (octet for S) and formal charges of -1, 0, or +1 on all atoms. There's then a bold note that says, "As always, you should remember that linear atoms (sp hybridization) are not expected in rings of this size." So, my professor said that the circled electron pair in red is localized to the nitrogen atom, which therefore means that the resonance contributor on the right is invalid.
So, just to double check my logic, I'm assuming that the circled pair on right is localized because by moving them as if they were a delocalized pair, it would change the hybridization of nitrogen from sp2 to sp, which would make it's electronic geometry linear. Therefore, the pair on the nitrogen is localized because of the bold note (As always, you should remember that linear atoms (sp hybridization) are not expected in rings of this size) correct?