It's 6 pin. I have a 5 pin keyboard, and adapter to ps2, so i know it is not a din-5, it's din-6 (not mini din-6)
p.s. I think it't keyboard from Nixdorf Targon, DEC compatible terminal. Is there possibillitu that this keyboard it AT? Or is it XT?
pss amstrad keyboards have DIN-6 and they are XT