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