1 <?xml version=
"1.0" encoding=
"utf-8" ?>
3 <base>CRM/Dedupe
</base>
4 <class>DedupeRule
</class>
5 <name>civicrm_dedupe_rule
</name>
6 <comment>Dedupe rules for use by rule groups
</comment>
10 <title>Dedupe Rule ID
</title>
11 <type>int unsigned
</type>
12 <required>true
</required>
13 <comment>Unique dedupe rule id
</comment>
21 <autoincrement>true
</autoincrement>
24 <name>dedupe_rule_group_id
</name>
25 <title>Group ID
</title>
26 <type>int unsigned
</type>
27 <required>true
</required>
28 <comment>The id of the rule group this rule belongs to
</comment>
35 <name>dedupe_rule_group_id
</name>
36 <table>civicrm_dedupe_rule_group
</table>
41 <name>rule_table
</name>
42 <title>Rule Table
</title>
45 <required>true
</required>
46 <comment>The name of the table this rule is about
</comment>
50 <name>rule_field
</name>
51 <title>Rule Field
</title>
54 <required>true
</required>
55 <comment>The name of the field of the table referenced in rule_table
</comment>
59 <name>rule_length
</name>
60 <title>Rule Length
</title>
61 <type>int unsigned
</type>
62 <comment>The length of the matching substring
</comment>
69 <name>rule_weight
</name>
72 <required>true
</required>
73 <comment>The weight of the rule
</comment>