Portrait size should be 1024x1500. Add a 360x360 square where the small icon should be and count pixels from left and top:
mid_left and mid_top are used for the middle size version (862x1013). By default mid_left: 162 and mid_top: 0, like this: