Ref data type

When converting to a ref, the following properties may be added:

refMapping The name of a mapping to use to convert the input value.

It is recommended that you use the admin UI to generate the Instruction and mapping for the value.

Your Name » Data import » Models » Model name » Name / Map

The control file generator will also include these mappings.

Example

{
    "source": "mode",
    "destination": "project",
    "name": "example:attribute:project-mode",
    "refMapping": "project-mode"
}