CRM-15168 stdise whitespace across schema xml to make editing easier
[civicrm-core.git] / xml / schema / Event / ParticipantStatusType.xml
1 <?xml version="1.0" encoding="utf-8" ?>
2 <table>
3 <base>CRM/Event</base>
4 <class>ParticipantStatusType</class>
5 <name>civicrm_participant_status_type</name>
6 <comment>various types of CiviEvent participant statuses</comment>
7 <add>3.0</add>
8 <log>true</log>
9 <field>
10 <name>id</name>
11 <type>int unsigned</type>
12 <required>true</required>
13 <comment>unique participant status type id</comment>
14 <add>3.0</add>
15 </field>
16 <primaryKey>
17 <name>id</name>
18 <autoincrement>true</autoincrement>
19 </primaryKey>
20 <field>
21 <name>name</name>
22 <uniqueName>participant_status</uniqueName>
23 <title>Participant Status</title>
24 <type>varchar</type>
25 <length>64</length>
26 <import>true</import>
27 <unique>true</unique>
28 <comment>non-localized name of the status type</comment>
29 <add>3.0</add>
30 </field>
31 <field>
32 <name>label</name>
33 <type>varchar</type>
34 <length>255</length>
35 <unique>true</unique>
36 <localizable>true</localizable>
37 <comment>localized label for display of this status type</comment>
38 <add>3.0</add>
39 </field>
40 <field>
41 <name>class</name>
42 <type>varchar</type>
43 <length>8</length>
44 <comment>the general group of status type this one belongs to</comment>
45 <pseudoconstant>
46 <callback>CRM_Event_PseudoConstant::participantStatusClass</callback>
47 </pseudoconstant>
48 <add>3.0</add>
49 <html>
50 <type>Select</type>
51 </html>
52 </field>
53 <field>
54 <name>is_reserved</name>
55 <type>boolean</type>
56 <comment>whether this is a status type required by the system</comment>
57 <add>3.0</add>
58 </field>
59 <field>
60 <name>is_active</name>
61 <type>boolean</type>
62 <default>1</default>
63 <comment>whether this status type is active</comment>
64 <add>3.0</add>
65 </field>
66 <field>
67 <name>is_counted</name>
68 <type>boolean</type>
69 <comment>whether this status type is counted against event size limit</comment>
70 <add>3.0</add>
71 </field>
72 <field>
73 <name>weight</name>
74 <type>int unsigned</type>
75 <required>true</required>
76 <comment>controls sort order</comment>
77 <add>3.0</add>
78 </field>
79 <field>
80 <name>visibility_id</name>
81 <type>int unsigned</type>
82 <comment>whether the status type is visible to the public, an implicit foreign key to option_value.value related to the `visibility` option_group</comment>
83 <add>3.0</add>
84 <pseudoconstant>
85 <optionGroupName>visibility</optionGroupName>
86 </pseudoconstant>
87 <html>
88 <type>Select</type>
89 </html>
90 </field>
91 </table>