CRM-12167: Start Implementation of Visibility per Price Option
[civicrm-core.git] / xml / schema / Core / Address.xml
index 6585bc4e91d2fb84ca1f9cdb4f5e865659f43ccc..878b446df82b06c677a9b163a4c53b51a041a6af 100644 (file)
     <title>Supplemental Address 3</title>
     <type>varchar</type>
     <length>96</length>
+    <import>true</import>
+    <headerPattern>/(supplemental(\s)?)?address(\s\d+)?/i</headerPattern>
+    <dataPattern>/unit|ap(ar)?t(ment)?\s(\d|\w)+/i</dataPattern>
     <comment>Supplemental Address Information, Line 3</comment>
     <add>1.1</add>
     <html>
       <labelColumn>name</labelColumn>
     </pseudoconstant>
     <html>
-      <type>Select</type>
+      <type>ChainSelect</type>
     </html>
     <add>1.1</add>
   </field>
   </foreignKey>
   <field>
     <name>state_province_id</name>
-    <title>State</title>
+    <title>State/Province</title>
     <type>int unsigned</type>
     <comment>Which State_Province does this address belong to.</comment>
     <pseudoconstant>
       <labelColumn>name</labelColumn>
     </pseudoconstant>
     <html>
-      <type>Select</type>
+      <type>ChainSelect</type>
     </html>
     <add>1.1</add>
   </field>
     <name>postal_code</name>
     <title>Postal Code</title>
     <type>varchar</type>
-    <length>12</length>
+    <length>64</length>
     <import>true</import>
     <headerPattern>/postal|zip/i</headerPattern>
     <dataPattern>/\d?\d{4}(-\d{4})?/</dataPattern>