1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
4 <base>CRM/Contact
</base>
5 <class>ContactType
</class>
6 <name>civicrm_contact_type
</name>
7 <comment>Provide type information for contacts
</comment>
11 <title>Contact Type ID
</title>
12 <type>int unsigned
</type>
13 <required>true
</required>
14 <comment>Contact Type ID
</comment>
22 <autoincrement>true
</autoincrement>
28 <comment>Internal name of Contact Type (or Subtype).
</comment>
30 <required>true
</required>
33 <name>contact_type
</name>
34 <fieldName>name
</fieldName>
40 <title>Contact Type Label
</title>
43 <comment>localized Name of Contact Type.
</comment>
44 <localizable>true
</localizable>
48 <name>description
</name>
49 <title>Contact Type Description
</title>
56 <comment>localized Optional verbose description of the type.
</comment>
57 <localizable>true
</localizable>
61 <name>image_URL
</name>
62 <title>Contact Type Image URL
</title>
65 <comment>URL of image if any.
</comment>
69 <name>parent_id
</name>
70 <title>Parent ID
</title>
71 <type>int unsigned
</type>
72 <comment>Optional FK to parent contact type.
</comment>
74 <table>civicrm_contact_type
</table>
75 <keyColumn>id
</keyColumn>
76 <labelColumn>label
</labelColumn>
77 <condition>parent_id IS NULL
</condition>
85 <name>parent_id
</name>
86 <table>civicrm_contact_type
</table>
91 <name>is_active
</name>
92 <title>Contact Type Is Active?
</title>
95 <comment>Is this entry active?
</comment>
99 <name>is_reserved
</name>
100 <title>Contact Type is Reserved?
</title>
103 <comment>Is this contact type a predefined system type
</comment>