Merge pull request #22808 from colemanw/searchKitMailingTask
[civicrm-core.git] / xml / schema / Event / Event.xml
CommitLineData
3f3a3ba0 1<?xml version="1.0" encoding="iso-8859-1" ?>
6a488035 2
3f3a3ba0
CW
3<table>
4 <base>CRM/Event</base>
5 <class>Event</class>
6 <name>civicrm_event</name>
2562d09a 7 <description>Scheduled in-person or online events which contacts can register for and attend.</description>
3f3a3ba0 8 <add>1.7</add>
6a488035 9 <log>true</log>
449c4e6b 10 <icon>fa-calendar</icon>
8ab43c93 11 <labelField>title</labelField>
d31fb4e3 12 <component>CiviEvent</component>
a7bd99ff 13 <paths>
5c385299 14 <add>civicrm/event/add?reset=1</add>
a7bd99ff
CW
15 <view>civicrm/event/info?reset=1&amp;id=[id]</view>
16 </paths>
3f3a3ba0
CW
17 <field>
18 <name>id</name>
19 <type>int unsigned</type>
e51b7372 20 <title>Event ID</title>
3f3a3ba0
CW
21 <required>true</required>
22 <comment>Event</comment>
0481e12c
A
23 <html>
24 <type>Number</type>
25 </html>
3f3a3ba0
CW
26 <add>1.7</add>
27 </field>
28 <primaryKey>
29 <name>id</name>
30 <autoincrement>true</autoincrement>
31 </primaryKey>
32 <field>
33 <name>title</name>
6a488035 34 <uniqueName>event_title</uniqueName>
3f3a3ba0 35 <type>varchar</type>
6a488035
TO
36 <import>true</import>
37 <title>Event Title</title>
38 <headerPattern>/(event.)?title$/i</headerPattern>
3f3a3ba0 39 <length>255</length>
6a488035
TO
40 <localizable>true</localizable>
41 <comment>Event Title (e.g. Fall Fundraiser Dinner)</comment>
614d72ec 42 <html>
43 <type>Text</type>
44 </html>
3f3a3ba0
CW
45 <add>1.7</add>
46 </field>
47 <field>
6a488035 48 <name>summary</name>
3f3a3ba0
CW
49 <type>text</type>
50 <title>Event Summary</title>
7deea513 51 <html>
52 <type>TextArea</type>
817807ab 53 <rows>4</rows>
54 <cols>60</cols>
7deea513 55 </html>
6a488035
TO
56 <localizable>true</localizable>
57 <comment>Brief summary of event. Text and html allowed. Displayed on Event Registration form and can be used on other CMS pages which need an event summary.</comment>
3f3a3ba0
CW
58 <add>1.7</add>
59 </field>
60 <field>
61 <name>description</name>
62 <type>text</type>
6a488035 63 <uniqueName>event_description</uniqueName>
3f3a3ba0 64 <title>Event Description</title>
7deea513 65 <html>
c413e8dc 66 <type>RichTextEditor</type>
817807ab 67 <rows>8</rows>
68 <cols>60</cols>
7deea513 69 </html>
6a488035
TO
70 <localizable>true</localizable>
71 <comment>Full description of event. Text and html allowed. Displayed on built-in Event Information screens.</comment>
72 <add>1.7</add>
73 </field>
74 <field>
75 <name>event_type_id</name>
76 <type>int unsigned</type>
77 <uniqueName>event_type_id</uniqueName>
7c759b5e 78 <title>Event Type</title>
6a488035
TO
79 <default>0</default>
80 <pseudoconstant>
6a488035 81 <optionGroupName>event_type</optionGroupName>
6a488035 82 </pseudoconstant>
614d72ec 83 <html>
e0991796 84 <type>Select</type>
614d72ec 85 </html>
3f3a3ba0
CW
86 <comment>Event Type ID.Implicit FK to civicrm_option_value where option_group = event_type.</comment>
87 <add>1.7</add>
88 </field>
6a488035
TO
89 <index>
90 <name>index_event_type_id</name>
91 <fieldName>event_type_id</fieldName>
92 <add>1.8</add>
93 </index>
3f3a3ba0
CW
94 <field>
95 <name>participant_listing_id</name>
96 <type>int unsigned</type>
6a488035 97 <uniqueName>participant_listing_id</uniqueName>
7c759b5e 98 <title>Participant Listing</title>
5d4300ea 99 <default>NULL</default>
7c759b5e
CW
100 <pseudoconstant>
101 <optionGroupName>participant_listing</optionGroupName>
102 </pseudoconstant>
3f3a3ba0
CW
103 <comment>Should we expose the participant list? Implicit FK to civicrm_option_value where option_group = participant_listing.</comment>
104 <add>2.0</add>
614d72ec 105 <html>
106 <type>Select</type>
107 </html>
3f3a3ba0 108 </field>
6a488035
TO
109 <index>
110 <name>index_participant_listing_id</name>
111 <fieldName>participant_listing_id</fieldName>
112 <add>2.0</add>
113 </index>
3f3a3ba0
CW
114 <field>
115 <name>is_public</name>
116 <type>boolean</type>
117 <title>Is Event Public</title>
118 <default>1</default>
119 <comment>Public events will be included in the iCal feeds. Access to private event information may be limited using ACLs.</comment>
120 <add>1.7</add>
614d72ec 121 <html>
122 <type>CheckBox</type>
123 </html>
3f3a3ba0 124 </field>
6a488035
TO
125 <field>
126 <name>start_date</name>
f61cf6ab 127 <type>timestamp</type>
6a488035
TO
128 <uniqueName>event_start_date</uniqueName>
129 <title>Event Start Date</title>
130 <headerPattern>/^start|(s(tart\s)?date)$/i</headerPattern>
131 <import>true</import>
132 <comment>Date and time that event starts.</comment>
133 <add>1.7</add>
f61cf6ab
FW
134 <required>false</required>
135 <default>NULL</default>
614d72ec 136 <html>
137 <type>Select Date</type>
c03ba827 138 <formatType>activityDateTime</formatType>
614d72ec 139 </html>
6a488035
TO
140 </field>
141 <field>
142 <name>end_date</name>
f61cf6ab 143 <type>timestamp</type>
6a488035
TO
144 <uniqueName>event_end_date</uniqueName>
145 <title>Event End Date</title>
146 <headerPattern>/^end|(e(nd\s)?date)$/i</headerPattern>
147 <import>true</import>
148 <comment>Date and time that event ends. May be NULL if no defined end date/time</comment>
149 <add>1.7</add>
f61cf6ab
FW
150 <required>false</required>
151 <default>NULL</default>
614d72ec 152 <html>
153 <type>Select Date</type>
c03ba827 154 <formatType>activityDateTime</formatType>
614d72ec 155 </html>
6a488035 156 </field>
3f3a3ba0
CW
157 <field>
158 <name>is_online_registration</name>
159 <type>boolean</type>
6a488035 160 <title>Is Online Registration</title>
3f3a3ba0
CW
161 <default>0</default>
162 <comment>If true, include registration link on Event Info page.</comment>
163 <add>1.7</add>
614d72ec 164 <html>
165 <type>CheckBox</type>
166 </html>
6a488035 167 </field>
3f3a3ba0
CW
168 <field>
169 <name>registration_link_text</name>
170 <type>varchar</type>
6a488035 171 <title>Event Registration Link Text</title>
3f3a3ba0 172 <length>255</length>
6a488035
TO
173 <localizable>true</localizable>
174 <comment>Text for link to Event Registration form which is displayed on Event Information screen when is_online_registration is true.</comment>
3f3a3ba0 175 <add>1.7</add>
614d72ec 176 <html>
177 <type>Text</type>
178 </html>
3f3a3ba0 179 </field>
6a488035
TO
180 <field>
181 <name>registration_start_date</name>
f61cf6ab 182 <type>timestamp</type>
6a488035
TO
183 <comment>Date and time that online registration starts.</comment>
184 <add>1.8</add>
f61cf6ab
FW
185 <required>false</required>
186 <default>NULL</default>
614d72ec 187 <html>
188 <type>Select Date</type>
c03ba827 189 <formatType>activityDateTime</formatType>
fd735f54 190 <label>Registration Start Date</label>
614d72ec 191 </html>
6a488035
TO
192 </field>
193 <field>
194 <name>registration_end_date</name>
f61cf6ab 195 <type>timestamp</type>
6a488035
TO
196 <comment>Date and time that online registration ends.</comment>
197 <add>1.8</add>
f61cf6ab
FW
198 <required>false</required>
199 <default>NULL</default>
614d72ec 200 <html>
201 <type>Select Date</type>
c03ba827 202 <formatType>activityDateTime</formatType>
fd735f54 203 <label>Registration End Date</label>
614d72ec 204 </html>
6a488035 205 </field>
3f3a3ba0
CW
206 <field>
207 <name>max_participants</name>
208 <type>int unsigned</type>
6a488035
TO
209 <title>Max Participants</title>
210 <default>NULL</default>
3f3a3ba0
CW
211 <comment>Maximum number of registered participants to allow. After max is reached, a custom Event Full message is displayed. If NULL, allow unlimited number of participants.</comment>
212 <add>1.7</add>
614d72ec 213 <html>
214 <type>Text</type>
215 </html>
6a488035 216 </field>
3f3a3ba0
CW
217 <field>
218 <name>event_full_text</name>
219 <type>text</type>
6a488035 220 <title>Event Information</title>
7deea513 221 <html>
222 <type>TextArea</type>
817807ab 223 <rows>4</rows>
224 <cols>60</cols>
7deea513 225 </html>
6a488035 226 <localizable>true</localizable>
3f3a3ba0
CW
227 <comment>Message to display on Event Information page and INSTEAD OF Event Registration form if maximum participants are signed up. Can include email address/info about getting on a waiting list, etc. Text and html allowed.</comment>
228 <add>1.7</add>
6a488035 229 </field>
3f3a3ba0
CW
230 <field>
231 <name>is_monetary</name>
6a488035 232 <title>Is this a PAID event?</title>
3f3a3ba0 233 <type>boolean</type>
6a488035 234 <default>0</default>
3f3a3ba0
CW
235 <comment>If true, one or more fee amounts must be set and a Payment Processor must be configured for Online Event Registration.</comment>
236 <add>1.7</add>
614d72ec 237 <html>
238 <type>CheckBox</type>
239 </html>
3f3a3ba0 240 </field>
3f3a3ba0
CW
241 <field>
242 <name>financial_type_id</name>
243 <type>int unsigned</type>
7c759b5e 244 <title>Financial Type</title>
6a488035 245 <default>NULL</default>
6d68a4cb
CW
246 <comment>Financial type assigned to paid event registrations for this event. Required if is_monetary is true.</comment>
247 <pseudoconstant>
248 <table>civicrm_financial_type</table>
249 <keyColumn>id</keyColumn>
250 <labelColumn>name</labelColumn>
251 </pseudoconstant>
614d72ec 252 <html>
e0991796 253 <type>Select</type>
614d72ec 254 </html>
3f3a3ba0 255 <add>4.3</add>
6a488035
TO
256 </field>
257 <field>
258 <name>payment_processor</name>
259 <type>varchar</type>
260 <length>128</length>
476627e4 261 <serialize>SEPARATOR_TRIMMED</serialize>
6a488035 262 <comment>Payment Processors configured for this Event (if is_monetary is true)</comment>
6d68a4cb
CW
263 <pseudoconstant>
264 <table>civicrm_payment_processor</table>
265 <keyColumn>id</keyColumn>
266 <labelColumn>name</labelColumn>
267 </pseudoconstant>
614d72ec 268 <html>
e0991796 269 <type>Select</type>
fd735f54 270 <label>Payment Processors</label>
614d72ec 271 </html>
6a488035
TO
272 <add>1.8</add>
273 </field>
3f3a3ba0 274 <field>
6a488035
TO
275 <name>is_map</name>
276 <title>Map Enabled</title>
3f3a3ba0 277 <type>boolean</type>
6a488035 278 <default>0</default>
3f3a3ba0
CW
279 <comment>Include a map block on the Event Information page when geocode info is available and a mapping provider has been specified?</comment>
280 <add>1.7</add>
614d72ec 281 <html>
282 <type>CheckBox</type>
283 </html>
3f3a3ba0 284 </field>
6a488035
TO
285 <field>
286 <name>is_active</name>
287 <title>Is Active</title>
288 <type>boolean</type>
289 <default>0</default>
3f3a3ba0
CW
290 <comment>Is this Event enabled or disabled/cancelled?</comment>
291 <add>1.7</add>
614d72ec 292 <html>
293 <type>CheckBox</type>
294 </html>
6a488035
TO
295 </field>
296 <field>
297 <name>fee_label</name>
298 <type>varchar</type>
299 <import>true</import>
300 <title>Fee Label</title>
301 <headerPattern>/^fee|(f(ee\s)?label)$/i</headerPattern>
302 <length>255</length>
303 <localizable>true</localizable>
614d72ec 304 <html>
305 <type>Text</type>
306 </html>
6a488035 307 <add>1.8</add>
3f3a3ba0
CW
308 </field>
309 <field>
310 <name>is_show_location</name>
311 <type>boolean</type>
6a488035 312 <title>show location</title>
3f3a3ba0
CW
313 <default>1</default>
314 <comment>If true, show event location.</comment>
315 <add>1.7</add>
614d72ec 316 <html>
317 <type>CheckBox</type>
318 </html>
3f3a3ba0 319 </field>
6a488035
TO
320 <field>
321 <name>loc_block_id</name>
322 <type>int unsigned</type>
323 <title>Location Block ID</title>
324 <comment>FK to Location Block ID</comment>
57e94608
A
325 <html>
326 <label>Location Block</label>
327 </html>
6a488035
TO
328 <add>2.0</add>
329 </field>
330 <foreignKey>
331 <name>loc_block_id</name>
332 <table>civicrm_loc_block</table>
333 <key>id</key>
334 <onDelete>SET NULL</onDelete>
335 <add>2.0</add>
336 </foreignKey>
3f3a3ba0
CW
337 <field>
338 <name>default_role_id</name>
6a488035 339 <uniqueName>default_role_id</uniqueName>
35b13852 340 <title>Default Role</title>
6a488035 341 <import>true</import>
3f3a3ba0 342 <type>int unsigned</type>
6a488035 343 <default>1</default>
7c759b5e
CW
344 <pseudoconstant>
345 <optionGroupName>participant_role</optionGroupName>
346 </pseudoconstant>
3f3a3ba0
CW
347 <comment>Participant role ID. Implicit FK to civicrm_option_value where option_group = participant_role.</comment>
348 <add>2.0</add>
614d72ec 349 <html>
350 <type>Select</type>
351 </html>
6a488035 352 </field>
3f3a3ba0
CW
353 <field>
354 <name>intro_text</name>
355 <type>text</type>
7deea513 356 <html>
c413e8dc 357 <type>RichTextEditor</type>
817807ab 358 <rows>6</rows>
359 <cols>50</cols>
7deea513 360 </html>
6a488035
TO
361 <title>Introductory Message</title>
362 <localizable>true</localizable>
363 <comment>Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.</comment>
3f3a3ba0
CW
364 <add>1.7</add>
365 </field>
366 <field>
367 <name>footer_text</name>
6a488035 368 <title>Footer Message</title>
3f3a3ba0 369 <type>text</type>
7deea513 370 <html>
c413e8dc 371 <type>RichTextEditor</type>
817807ab 372 <rows>6</rows>
373 <cols>50</cols>
7deea513 374 </html>
6a488035
TO
375 <localizable>true</localizable>
376 <comment>Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.</comment>
3f3a3ba0
CW
377 <add>1.7</add>
378 </field>
379 <field>
380 <name>confirm_title</name>
381 <type>varchar</type>
6a488035 382 <title>Confirmation Title</title>
3f3a3ba0 383 <length>255</length>
6a488035
TO
384 <default>NULL</default>
385 <localizable>true</localizable>
386 <comment>Title for Confirmation page.</comment>
614d72ec 387 <html>
388 <type>Text</type>
389 </html>
3f3a3ba0
CW
390 <add>1.7</add>
391 </field>
392 <field>
393 <name>confirm_text</name>
394 <type>text</type>
7deea513 395 <html>
c413e8dc 396 <type>RichTextEditor</type>
817807ab 397 <rows>6</rows>
398 <cols>50</cols>
7deea513 399 </html>
6a488035
TO
400 <title>Confirm Text</title>
401 <localizable>true</localizable>
402 <comment>Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.</comment>
3f3a3ba0
CW
403 <add>1.7</add>
404 </field>
405 <field>
406 <name>confirm_footer_text</name>
407 <type>text</type>
6a488035 408 <title>Footer Text</title>
7deea513 409 <html>
c413e8dc 410 <type>RichTextEditor</type>
817807ab 411 <rows>6</rows>
412 <cols>50</cols>
7deea513 413 </html>
6a488035
TO
414 <localizable>true</localizable>
415 <comment>Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.</comment>
3f3a3ba0
CW
416 <add>1.7</add>
417 </field>
418 <field>
419 <name>is_email_confirm</name>
420 <type>boolean</type>
6a488035 421 <title>Is confirm email</title>
3f3a3ba0
CW
422 <default>0</default>
423 <comment>If true, confirmation is automatically emailed to contact on successful registration.</comment>
424 <add>1.7</add>
614d72ec 425 <html>
426 <type>CheckBox</type>
427 </html>
3f3a3ba0
CW
428 </field>
429 <field>
430 <name>confirm_email_text</name>
431 <type>text</type>
6a488035 432 <title>Confirmation Email Text</title>
7deea513 433 <html>
434 <type>TextArea</type>
817807ab 435 <rows>4</rows>
436 <cols>50</cols>
7deea513 437 </html>
6a488035
TO
438 <localizable>true</localizable>
439 <comment>text to include above standard event info on confirmation email. emails are text-only, so do not allow html for now</comment>
3f3a3ba0
CW
440 <add>1.7</add>
441 </field>
442 <field>
443 <name>confirm_from_name</name>
444 <type>varchar</type>
6a488035 445 <title>Confirm From Name</title>
3f3a3ba0 446 <length>255</length>
6a488035
TO
447 <localizable>true</localizable>
448 <comment>FROM email name used for confirmation emails.</comment>
3f3a3ba0 449 <add>1.7</add>
614d72ec 450 <html>
451 <type>Text</type>
452 </html>
6a488035 453 </field>
3f3a3ba0
CW
454 <field>
455 <name>confirm_from_email</name>
456 <type>varchar</type>
6a488035 457 <title>Confirm From Email</title>
3f3a3ba0 458 <length>255</length>
6a488035 459 <comment>FROM email address used for confirmation emails.</comment>
3f3a3ba0 460 <add>1.7</add>
614d72ec 461 <html>
462 <type>Text</type>
463 </html>
3f3a3ba0
CW
464 </field>
465 <field>
466 <name>cc_confirm</name>
467 <type>varchar</type>
468 <length>255</length>
6a488035 469 <comment>comma-separated list of email addresses to cc each time a confirmation is sent</comment>
614d72ec 470 <html>
471 <type>Text</type>
fd735f54 472 <label>CC Confirm</label>
614d72ec 473 </html>
3f3a3ba0 474 <add>1.7</add>
6a488035 475 </field>
3f3a3ba0
CW
476 <field>
477 <name>bcc_confirm</name>
478 <type>varchar</type>
479 <length>255</length>
6a488035 480 <comment>comma-separated list of email addresses to bcc each time a confirmation is sent</comment>
614d72ec 481 <html>
482 <type>Text</type>
fd735f54 483 <label>BCC Confirm</label>
614d72ec 484 </html>
3f3a3ba0 485 <add>1.7</add>
6a488035
TO
486 </field>
487 <field>
488 <name>default_fee_id</name>
489 <type>int unsigned</type>
490 <title>Default Fee ID</title>
491 <comment>FK to civicrm_option_value.</comment>
492 <add>1.7</add>
493 </field>
494 <field>
495 <name>default_discount_fee_id</name>
496 <type>int unsigned</type>
497 <title>Default Discount Fee ID</title>
498 <comment>FK to civicrm_option_value.</comment>
499 <add>1.7</add>
500 </field>
3f3a3ba0
CW
501 <field>
502 <name>thankyou_title</name>
503 <type>varchar</type>
6a488035 504 <title>ThankYou Title</title>
3f3a3ba0 505 <length>255</length>
6a488035
TO
506 <default>NULL</default>
507 <localizable>true</localizable>
508 <comment>Title for ThankYou page.</comment>
3f3a3ba0 509 <add>1.7</add>
614d72ec 510 <html>
511 <type>Text</type>
512 </html>
3f3a3ba0
CW
513 </field>
514 <field>
515 <name>thankyou_text</name>
516 <type>text</type>
7deea513 517 <html>
c413e8dc 518 <type>RichTextEditor</type>
817807ab 519 <rows>6</rows>
520 <cols>50</cols>
7deea513 521 </html>
6a488035
TO
522 <title>ThankYou Text</title>
523 <localizable>true</localizable>
524 <comment>ThankYou Text.</comment>
3f3a3ba0
CW
525 <add>1.7</add>
526 </field>
527 <field>
528 <name>thankyou_footer_text</name>
529 <type>text</type>
6a488035 530 <title>Footer Text</title>
7deea513 531 <html>
c413e8dc 532 <type>RichTextEditor</type>
817807ab 533 <rows>6</rows>
534 <cols>50</cols>
7deea513 535 </html>
6a488035
TO
536 <localizable>true</localizable>
537 <comment>Footer message.</comment>
3f3a3ba0
CW
538 <add>1.7</add>
539 </field>
540 <field>
6a488035
TO
541 <name>is_pay_later</name>
542 <title>Pay Later Allowed</title>
543 <type>boolean</type>
544 <default>0</default>
3f3a3ba0
CW
545 <comment>if true - allows the user to send payment directly to the org later</comment>
546 <add>2.0</add>
614d72ec 547 <html>
548 <type>CheckBox</type>
549 </html>
6a488035 550 </field>
3f3a3ba0 551 <field>
6a488035
TO
552 <name>pay_later_text</name>
553 <title>Pay Later Text</title>
554 <type>text</type>
555 <localizable>true</localizable>
3f3a3ba0 556 <comment>The text displayed to the user in the main form</comment>
6a488035 557 <add>2.0</add>
614d72ec 558 <html>
c413e8dc 559 <type>RichTextEditor</type>
614d72ec 560 </html>
6a488035
TO
561 </field>
562 <field>
563 <name>pay_later_receipt</name>
564 <title>Pay Later Receipt Text</title>
565 <type>text</type>
566 <localizable>true</localizable>
3f3a3ba0 567 <comment>The receipt sent to the user instead of the normal receipt text</comment>
6a488035 568 <add>2.0</add>
614d72ec 569 <html>
570 <type>Text</type>
571 </html>
6a488035 572 </field>
3f3a3ba0 573 <field>
6a488035
TO
574 <name>is_partial_payment</name>
575 <title>Partial Payments Enabled</title>
3f3a3ba0
CW
576 <type>boolean</type>
577 <default>0</default>
578 <comment>is partial payment enabled for this event</comment>
579 <add>4.3</add>
614d72ec 580 <html>
581 <type>CheckBox</type>
582 </html>
6a488035 583 </field>
3f3a3ba0 584 <field>
6a488035
TO
585 <name>initial_amount_label</name>
586 <title>Initial Amount Label</title>
587 <type>varchar</type>
3f3a3ba0 588 <length>255</length>
6a488035 589 <localizable>true</localizable>
3f3a3ba0
CW
590 <comment>Initial amount label for partial payment</comment>
591 <add>4.3</add>
614d72ec 592 <html>
593 <type>Text</type>
594 </html>
6a488035 595 </field>
3f3a3ba0 596 <field>
6a488035
TO
597 <name>initial_amount_help_text</name>
598 <title>Initial Amount Help Text</title>
599 <type>text</type>
600 <localizable>true</localizable>
3f3a3ba0
CW
601 <comment>Initial amount help text for partial payment</comment>
602 <add>4.3</add>
614d72ec 603 <html>
604 <type>Text</type>
605 </html>
6a488035 606 </field>
3f3a3ba0 607 <field>
6a488035
TO
608 <name>min_initial_amount</name>
609 <title>Minimum Initial Amount</title>
610 <type>decimal</type>
3f3a3ba0
CW
611 <comment>Minimum initial amount for partial payment</comment>
612 <add>4.3</add>
614d72ec 613 <html>
614 <type>Text</type>
615 </html>
6a488035 616 </field>
3f3a3ba0 617 <field>
6a488035
TO
618 <name>is_multiple_registrations</name>
619 <title>Allow Multiple Registrations</title>
620 <type>boolean</type>
621 <default>0</default>
3f3a3ba0
CW
622 <comment>if true - allows the user to register multiple participants for event</comment>
623 <add>2.1</add>
614d72ec 624 <html>
625 <type>CheckBox</type>
626 </html>
6a488035 627 </field>
f1bc01e0
J
628 <field>
629 <name>max_additional_participants</name>
630 <type>int unsigned</type>
631 <title>Maximum number of additional participants per registration</title>
632 <default>0</default>
633 <comment>Maximum number of additional participants that can be registered on a single booking</comment>
675cca92 634 <add>4.7</add>
f1bc01e0 635 </field>
3f3a3ba0
CW
636 <field>
637 <name>allow_same_participant_emails</name>
638 <type>boolean</type>
6a488035 639 <title>Does Event allow multiple registrations from same email address?</title>
3f3a3ba0
CW
640 <default>0</default>
641 <comment>if true - allows the user to register multiple registrations from same email address.</comment>
642 <add>2.2</add>
614d72ec 643 <html>
644 <type>CheckBox</type>
645 </html>
3f3a3ba0 646 </field>
6a488035
TO
647 <field>
648 <name>has_waitlist</name>
649 <title>Waitlist Enabled</title>
650 <type>boolean</type>
651 <comment>Whether the event has waitlist support.</comment>
652 <add>3.0</add>
614d72ec 653 <html>
654 <type>CheckBox</type>
655 </html>
6a488035
TO
656 </field>
657 <field>
658 <name>requires_approval</name>
659 <type>boolean</type>
660 <comment>Whether participants require approval before they can finish registering.</comment>
661 <add>3.0</add>
614d72ec 662 <html>
663 <type>CheckBox</type>
fd735f54 664 <label>Requires Approval</label>
614d72ec 665 </html>
6a488035
TO
666 </field>
667 <field>
668 <name>expiration_time</name>
669 <type>int unsigned</type>
670 <comment>Expire pending but unconfirmed registrations after this many hours.</comment>
671 <add>3.0</add>
614d72ec 672 <html>
673 <type>Text</type>
fd735f54 674 <label>Expiration Time</label>
614d72ec 675 </html>
6a488035 676 </field>
7dbb67ae
DG
677 <field>
678 <name>allow_selfcancelxfer</name>
679 <type>boolean</type>
680 <default>0</default>
681 <title>Allow Self-service Cancellation or Transfer</title>
682 <comment>Allow self service cancellation or transfer for event?</comment>
683 <add>4.7</add>
684 <html>
685 <type>CheckBox</type>
686 </html>
687 </field>
688 <field>
689 <name>selfcancelxfer_time</name>
a54cf42b 690 <type>int</type>
7dbb67ae
DG
691 <default>0</default>
692 <title>Self-service Cancellation or Transfer Time</title>
693 <comment>Number of hours prior to event start date to allow self-service cancellation or transfer.</comment>
694 <add>4.7</add>
695 <html>
696 <type>Text</type>
697 </html>
698 </field>
6a488035
TO
699 <field>
700 <name>waitlist_text</name>
701 <type>text</type>
7deea513 702 <html>
703 <type>TextArea</type>
817807ab 704 <rows>4</rows>
705 <cols>60</cols>
fd735f54 706 <label>Waitlist Text</label>
7deea513 707 </html>
6a488035
TO
708 <localizable>true</localizable>
709 <comment>Text to display when the event is full, but participants can signup for a waitlist.</comment>
710 <add>3.0</add>
711 </field>
712 <field>
713 <name>approval_req_text</name>
714 <type>text</type>
7deea513 715 <html>
716 <type>TextArea</type>
817807ab 717 <rows>4</rows>
718 <cols>60</cols>
fd735f54 719 <label>Approval Required Text</label>
7deea513 720 </html>
6a488035
TO
721 <localizable>true</localizable>
722 <comment>Text to display when the approval is required to complete registration for an event.</comment>
723 <add>3.0</add>
724 </field>
725 <field>
726 <name>is_template</name>
727 <title>Is an Event Template</title>
728 <type>boolean</type>
729 <default>0</default>
99f13d8d 730 <required>true</required>
6a488035
TO
731 <comment>whether the event has template</comment>
732 <add>3.0</add>
614d72ec 733 <html>
734 <type>CheckBox</type>
735 </html>
6a488035 736 </field>
3f3a3ba0
CW
737 <field>
738 <name>template_title</name>
6a488035 739 <uniqueName>template_title</uniqueName>
3f3a3ba0 740 <type>varchar</type>
6a488035
TO
741 <import>true</import>
742 <title>Event Template Title</title>
743 <headerPattern>/(template.)?title$/i</headerPattern>
3f3a3ba0 744 <length>255</length>
6a488035
TO
745 <localizable>true</localizable>
746 <comment>Event Template Title</comment>
614d72ec 747 <html>
748 <type>Text</type>
749 </html>
3f3a3ba0 750 <add>3.0</add>
6a488035
TO
751 </field>
752 <field>
753 <name>created_id</name>
754 <type>int unsigned</type>
755 <title>Created By Contact ID</title>
756 <comment>FK to civicrm_contact, who created this event</comment>
57e94608
A
757 <html>
758 <label>Created By</label>
759 </html>
6a488035
TO
760 <add>3.0</add>
761 </field>
762 <foreignKey>
763 <name>created_id</name>
764 <table>civicrm_contact</table>
765 <key>id</key>
766 <add>3.0</add>
767 <onDelete>SET NULL</onDelete>
768 </foreignKey>
769 <field>
770 <name>created_date</name>
771 <type>datetime</type>
772 <title>Event Created Date</title>
773 <comment>Date and time that event was created.</comment>
774 <add>3.0</add>
775 </field>
3f3a3ba0
CW
776 <field>
777 <name>currency</name>
778 <type>varchar</type>
6a488035
TO
779 <length>3</length>
780 <import>true</import>
781 <headerPattern>/cur(rency)?/i</headerPattern>
782 <dataPattern>/^[A-Z]{3}$/i</dataPattern>
783 <comment>3 character string, value from config setting or input via user.</comment>
784 <add>3.3</add>
bd44e0df
AS
785 <pseudoconstant>
786 <table>civicrm_currency</table>
787 <keyColumn>name</keyColumn>
a38a89fc 788 <labelColumn>full_name</labelColumn>
c3de5c5a 789 <nameColumn>name</nameColumn>
a8fdb24e 790 <abbrColumn>symbol</abbrColumn>
bd44e0df 791 </pseudoconstant>
614d72ec 792 <html>
e0991796 793 <type>Select</type>
fd735f54 794 <label>Currency</label>
614d72ec 795 </html>
6a488035
TO
796 </field>
797 <field>
798 <name>campaign_id</name>
88c31c05 799 <component>CiviCampaign</component>
6a488035 800 <type>int unsigned</type>
57e94608 801 <title>Campaign ID</title>
6a488035 802 <comment>The campaign for which this event has been created.</comment>
3f3a3ba0 803 <add>3.4</add>
614d72ec 804 <html>
916b6181 805 <type>EntityRef</type>
57e94608
A
806 <label>Campaign</label>
807 </html>
25ad69f2
CW
808 <pseudoconstant>
809 <table>civicrm_campaign</table>
810 <keyColumn>id</keyColumn>
811 <labelColumn>title</labelColumn>
812 <prefetch>FALSE</prefetch>
813 </pseudoconstant>
6a488035
TO
814 </field>
815 <foreignKey>
816 <name>campaign_id</name>
817 <table>civicrm_campaign</table>
818 <key>id</key>
819 <onDelete>SET NULL</onDelete>
820 </foreignKey>
821 <field>
822 <name>is_share</name>
823 <title>Is shared through social media</title>
824 <type>boolean</type>
825 <default>1</default>
826 <comment>Can people share the event through social media?</comment>
3f3a3ba0 827 <add>4.1</add>
614d72ec 828 <html>
829 <type>CheckBox</type>
830 </html>
6a488035 831 </field>
1909126f 832 <field>
833 <name>is_confirm_enabled</name>
834 <title>Is the booking confirmation screen enabled?</title>
835 <type>boolean</type>
836 <default>1</default>
837 <comment>If false, the event booking confirmation screen gets skipped</comment>
838 <add>4.5</add>
839 <html>
840 <type>CheckBox</type>
841 </html>
842 </field>
6a488035
TO
843 <field>
844 <name>parent_event_id</name>
845 <type>int unsigned</type>
846 <title>Parent Event ID</title>
847 <default>NULL</default>
848 <comment>Implicit FK to civicrm_event: parent event</comment>
614d72ec 849 <html>
916b6181 850 <type>EntityRef</type>
614d72ec 851 </html>
6a488035
TO
852 <add>4.1</add>
853 </field>
854 <index>
855 <name>index_parent_event_id</name>
856 <fieldName>parent_event_id</fieldName>
857 <add>4.1</add>
858 </index>
859 <field>
860 <name>slot_label_id</name>
3f3a3ba0
CW
861 <type>int unsigned</type>
862 <title>Subevent Slot Label ID</title>
6a488035 863 <default>NULL</default>
3f3a3ba0 864 <comment>Subevent slot label. Implicit FK to civicrm_option_value where option_group = conference_slot.</comment>
6a488035 865 <add>4.1</add>
614d72ec 866 <html>
867 <type>Select</type>
868 </html>
6a488035 869 </field>
03390e26 870 <field>
871 <name>dedupe_rule_group_id</name>
872 <type>int unsigned</type>
57e94608 873 <title>Dedupe Rule ID</title>
03390e26 874 <default>NULL</default>
875 <comment>Rule to use when matching registrations for this event</comment>
876 <pseudoconstant>
877 <table>civicrm_dedupe_rule_group</table>
878 <keyColumn>id</keyColumn>
879 <nameColumn>name</nameColumn>
880 <labelColumn>title</labelColumn>
881 </pseudoconstant>
882 <add>4.5</add>
883 <html>
884 <type>Select</type>
57e94608 885 <label>Dedupe Rule</label>
03390e26 886 </html>
887 </field>
888 <foreignKey>
889 <name>dedupe_rule_group_id</name>
890 <table>civicrm_dedupe_rule_group</table>
891 <key>id</key>
892 <add>4.5</add>
893 </foreignKey>
e45f6ab0
PB
894 <field>
895 <name>is_billing_required</name>
115fa278 896 <title>Is billing block required</title>
e45f6ab0
PB
897 <type>boolean</type>
898 <default>0</default>
115fa278 899 <comment>if true than billing block is required this event</comment>
900 <add>4.6</add>
e45f6ab0
PB
901 <html>
902 <type>CheckBox</type>
903 </html>
904 </field>
f61cf6ab
FW
905 <field>
906 <name>event_tz</name>
907 <type>text</type>
908 <uniqueName>event_tz</uniqueName>
909 <title>Event Time Zone</title>
910 <import>true</import>
911 <comment>Event's native time zone</comment>
bccecebc 912 <add>5.47</add>
f61cf6ab
FW
913 <default>NULL</default>
914 <html>
915 <type>Select</type>
916 </html>
917 <pseudoconstant>
918 <callback>CRM_Core_SelectValues::timezone</callback>
919 </pseudoconstant>
920 </field>
6a488035 921</table>