[TASK] Factor out mapping definition file