Frankie Dettori has been suspended from riding for six months after testing positive for a prohibited substance, according to his legal representative Christopher Stewart-Moore.