Pictures of the motor in the link. They wind the 27 pole 3 phase in a wye configuration. The stator coils are in groups of 3 Poles CCW, CW, CCW wrap directions. 9 total groups, so each phase has 3 pole groups in 3 areas on the stator.
I don't really have a means to measure the wire, but it looked like 23AWG when side by side so I bought a spool of it. I've got to find some nomex paper and materials to make the locks/keys/wedges that secure the windings in the stator. Some of the original plastic stuff melted and/or disintegrated.
Rewinding it will be a back burner project because I should have a new motor from a Xiaomi M365 on Monday or Tuesday to get the scooter working again with some modifications. From what I can tell from videos and pictures I've seen where people have disassembled the m365 motors it should be the same proximity sensor set up but with different connectors and 2 wire colors swapped. I'll probably post a little form that too when it arrives.
Nobody seems to have really done or documented much with the Hiboy scooters and motors, in the future I may also swap the electronics to the Xiaomi electronics so I can reprogram and further modify it in the future. Not that I can expect too much but a FWD burnout would be sufficient.
https://photos.app.goo.gl/JD8AgeaFffKrcva37