it must be a carbonate ore because the reaction is releasing carbon dioxide.
reaction which takes place, ZnCO3+2HCl⟶ZnCl2+H2O+CO2
let us take an example of calcinating zinc calamine (ZnCO3)
first of all, it is calcinated with insufficient oxygen-
ZnCO3heat−−−−→ZnO+CO2
then, the ZnO obtained is reduced using carbon in form of coke.
ZnO+C⟶Zn+CO