Mass calibration of the CODEX cluster sample using SPIDERS spectroscopy – I. The richness–mass relation. Issue 2 (30th March 2019)