The specifications is described in this pdf: https://www.icao.int/publications/Documents/9303_p7_cons_en.pdf