A classification of almost full formal groups