There's a Men's and Women's division in both Street and Park.
All sanctioned events earn you points towards the rankings. On that rankings list, countries and regions get a certain allocation of spots in the Games.
In the rankings reports above, your top two points from the 2019 Qualifying Season and your top five points from the 2020 Qualifying Season determine the overall Olympic Rankings. The top three from the 2020 World Championships will be automatically in the Olympics.
Generally, it's performance enhancing drugs that are the focus, not your typical street drugs, although those of course can get you in trouble, too. Find out what's prohibited here.
WADA (World Anti-Doping Agency) sets the standards and other agencies do the testing and reporting. You can get randomly tested at anytime, even outside of a competition.
The International Olympic Committee has recognized World Skate as the governing body running it.