Creating a Custom Match Rule as a JSON Object

Match rules can be configured and passed at runtime if they are exposed as dataflow options. This enables you to share match rules across machines and override existing match rules with JSON-formatted match rule strings. You can also set stage options when calling the job through a process flow or through the job executor command-line tool.
You can find schemas for MatchRule and MatchInfo in the following folder:

<Spectrum Location>\server\modules\jsonSchemas\matcher.
  1. Save and expose the dataflow that contains the match rule.
  2. Open the dataflow that uses the match rule.
  3. Go to Edit > Dataflow Options.
  4. In the Map dataflow options to stages table, click the matching stage that uses the match rule and check the Custom Match Rule box.
  5. Optional: Change the name of the match rule in the Option label field from "Custom Match Rule" to the name you prefer.
  6. Click OK twice.