Merge pull request #19706 from civicrm/5.35
[civicrm-core.git] / xml / schema / Dedupe / RuleGroup.xml
index f59d28f1e123a862e64fe8ee842b9a127a4319ac..26fe7e63f8c16048856acdd5b7d77dca316351be 100644 (file)
@@ -7,9 +7,13 @@
   <add>1.8</add>
   <field>
     <name>id</name>
+    <title>Rule Group ID</title>
     <type>int unsigned</type>
     <required>true</required>
     <comment>Unique dedupe rule group id</comment>
+    <html>
+      <type>Number</type>
+    </html>
     <add>1.8</add>
   </field>
   <primaryKey>
@@ -18,6 +22,7 @@
   </primaryKey>
   <field>
     <name>contact_type</name>
+    <title>Contact Type</title>
     <type>varchar</type>
     <length>12</length>
     <comment>The type of contacts this group applies to</comment>
@@ -34,6 +39,7 @@
   </field>
   <field>
     <name>threshold</name>
+    <title>Threshold</title>
     <type>int</type>
     <required>true</required>
     <comment>The weight threshold the sum of the rule weights has to cross to consider two contacts the same</comment>
       <type>Text</type>
     </html>
   </field>
-  <field>
-    <name>level</name>
-    <type>enum</type>
-    <values>Strict, Fuzzy</values>
-    <comment>Whether the rule should be used for cases where strict matching of the given contact type is required or a fuzzy one</comment>
-    <add>2.1</add>
-    <drop>4.3</drop>
-  </field>
   <field>
     <name>used</name>
     <type>varchar</type>
+    <title>Length</title>
     <length>12</length>
     <required>true</required>
     <comment>Whether the rule should be used for cases where usage is Unsupervised, Supervised OR General(programatically)</comment>
       <type>Radio</type>
     </html>
   </field>
-  <field>
-    <name>is_default</name>
-    <type>boolean</type>
-    <comment>Is this a default rule (one rule for every contact type + level combination should be default)</comment>
-    <add>2.1</add>
-    <drop>4.3</drop>
-  </field>
   <field>
     <name>name</name>
+    <title>Name</title>
     <type>varchar</type>
     <length>64</length>
     <comment>Name of the rule group</comment>
@@ -80,6 +73,7 @@
   </field>
   <field>
     <name>title</name>
+    <title>Title</title>
     <type>varchar</type>
     <length>255</length>
     <comment>Label of the rule group</comment>
@@ -90,6 +84,7 @@
   </field>
   <field>
     <name>is_reserved</name>
+    <title>Reserved?</title>
     <type>boolean</type>
     <comment>Is this a reserved rule - a rule group that has been optimized and cannot be changed by the admin</comment>
     <add>4.1</add>