NEW YORK (Reuters) - Olympic and world 100 meters champion Shelly-Ann Fraser has been suspended for six months by the IAAF for a doping violation, the world governing body said Wednesday.

Fraser tested positive for the pain-killer oxycodone at May's Shanghai Diamond League meeting.

She will be eligible to compete again on January 7, the IAAF said on its website (www.iaaf.org).

Fraser told Reuters in July she had taken tooth pain-killer before the Shanghai event and had neglected to list it on a doping form.

She had not run since being provisionally suspended on July 8.

She won the Olympic gold at the 2008 Beijing Games and claimed the world title at Berlin in 2009.

(Reporting by Gene Cherry in Salvo, North Carolina)