1 <?xml version=
"1.0" encoding=
"utf-8" ?>
3 <base>CRM/Dedupe
</base>
4 <class>RuleGroup
</class>
5 <name>civicrm_dedupe_rule_group
</name>
6 <comment>Dedupe rule groups
</comment>
10 <type>int unsigned
</type>
11 <required>true
</required>
12 <comment>Unique dedupe rule group id
</comment>
17 <autoincrement>true
</autoincrement>
20 <name>contact_type
</name>
23 <comment>The type of contacts this group applies to
</comment>
25 <table>civicrm_contact_type
</table>
26 <keyColumn>name
</keyColumn>
27 <labelColumn>label
</labelColumn>
28 <condition>parent_id IS NULL
</condition>
36 <name>threshold
</name>
38 <required>true
</required>
39 <comment>The weight threshold the sum of the rule weights has to cross to consider two contacts the same
</comment>
45 <values>Strict, Fuzzy
</values>
46 <comment>Whether the rule should be used for cases where strict maching of the given contact type is required or a fuzzy one
</comment>
54 <required>true
</required>
55 <comment>Whether the rule should be used for cases where usage is Unsupervised, Supervised OR General(programatically)
</comment>
57 <callback>CRM_Core_SelectValues::getDedupeRuleTypes()
</callback>
65 <name>is_default
</name>
67 <comment>Is this a default rule (one rule for every contact type + level combination should be default)
</comment>
75 <comment>Name of the rule group
</comment>
82 <comment>Label of the rule group
</comment>
86 <name>is_reserved
</name>
88 <comment>Is this a reserved rule - a rule group that has been optimized and cannot be changed by the admin
</comment>