As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
DURING CLIMBOUT FROM DTW, RIGHT MAIN LANDING GEAR UNSAFE LIGHT REMAINED ON AFTER GEAR WAS RETRACTED. RECYCLED GEAR AND LIGHT EXTINGUISHED AFTER APPROXIMATELY ONE MINUTE. FLIGHT CONTINUED TO DESTINATION (IAD) AND LANDED WITHOUT INCIDENT. REPLACED RIGHT MAIN GEAR DOWNLOCK SWITCH. OPERATIONAL CHECK OK.