Big Clive, a popular youtuber for those of us that like the sort of things he does, has made some videos of typical scooter electrical parts... so far three of them, wiring, charging, ignition tear downs, explaining why and how they work. The comments are interesting also.
https://www.youtube.com/c/Bigclive/videos