Resonance structure with allylic lone pair


> 
> Draw the appropriate resonance structure for 5-aminolevulinic acid:
> 
> 
> [![5‐amino‐4‐oxopentanoic acid](https://i.stack.imgur.com/q5FkW.png)](https://i.stack.imgur.com/q5FkW.png)
> 
> 
> 


As there is an allylic lone pair, my first arrow goes from the lone pair to form a π-bond, and the second goes from the π-bond to form a lone pair:


[![My answer](https://i.stack.imgur.com/DFxGx.png)](https://i.stack.imgur.com/DFxGx.png)


However, the solution selected a allylic lone pair in a different location in the molecule:



> 
> [![Solution](https://i.stack.imgur.com/sz1Pb.png)](https://i.stack.imgur.com/sz1Pb.png)
> 
> 
> 


Is my answer also correct? If not, how would I choose the correct lone pair?


