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