"Contested case" means a proceeding, including, but not
restricted to, rate making, price fixing, and licensing, in which
the legal rights, duties, or privileges of a party are required by
law to be determined by an agency after an opportunity for
hearing [...]