The organizers define the races in their Notice Of Race (NOR) to include boats of defined minimum size and equipment so at least in name they are capable of off-shore sailing. If a minimum number of one-design boats show an interest in a regatta, the organizer arranges for the class to have a separate starting sequence, or class start.
In recent years the J/105 class sailboats has been the sailboat that often has the most boats in their class for any individual regatta, and has a class start in every NOOD regatta.
In One-Design racing, sailboats compete against other boats in identical boats as defined by their class association, so the first boat over the finish line wins (as opposed to handicap racing, where sailboats of different designs compete against each other, and the winner is determined by calculations involving each boat's individual time, rating and the race course distance). In theory, since the boats are equal, it is the skill of the team of sailors on each boat that determines who wins the regatta.