Merge pull request #23194 from eileenmcnaughton/ds2
[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 <required>true</required>
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>
122 <html>
123 <type>CheckBox</type>
124 </html>
125 </field>
126 <field>
127 <name>start_date</name>
128 <type>datetime</type>
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>
135 <html>
136 <type>Select Date</type>
137 <formatType>activityDateTime</formatType>
138 </html>
139 </field>
140 <field>
141 <name>end_date</name>
142 <type>datetime</type>
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>
149 <html>
150 <type>Select Date</type>
151 <formatType>activityDateTime</formatType>
152 </html>
153 </field>
154 <field>
155 <name>is_online_registration</name>
156 <type>boolean</type>
157 <required>true</required>
158 <title>Is Online Registration</title>
159 <default>0</default>
160 <comment>If true, include registration link on Event Info page.</comment>
161 <add>1.7</add>
162 <html>
163 <type>CheckBox</type>
164 </html>
165 </field>
166 <field>
167 <name>registration_link_text</name>
168 <type>varchar</type>
169 <title>Event Registration Link Text</title>
170 <length>255</length>
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>
173 <add>1.7</add>
174 <html>
175 <type>Text</type>
176 </html>
177 </field>
178 <field>
179 <name>registration_start_date</name>
180 <type>datetime</type>
181 <comment>Date and time that online registration starts.</comment>
182 <add>1.8</add>
183 <html>
184 <type>Select Date</type>
185 <formatType>activityDateTime</formatType>
186 <label>Registration Start Date</label>
187 </html>
188 </field>
189 <field>
190 <name>registration_end_date</name>
191 <type>datetime</type>
192 <comment>Date and time that online registration ends.</comment>
193 <add>1.8</add>
194 <html>
195 <type>Select Date</type>
196 <formatType>activityDateTime</formatType>
197 <label>Registration End Date</label>
198 </html>
199 </field>
200 <field>
201 <name>max_participants</name>
202 <type>int unsigned</type>
203 <title>Max Participants</title>
204 <default>NULL</default>
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>
207 <html>
208 <type>Text</type>
209 </html>
210 </field>
211 <field>
212 <name>event_full_text</name>
213 <type>text</type>
214 <title>Event Information</title>
215 <html>
216 <type>TextArea</type>
217 <rows>4</rows>
218 <cols>60</cols>
219 </html>
220 <localizable>true</localizable>
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>
223 </field>
224 <field>
225 <name>is_monetary</name>
226 <title>Is this a PAID event?</title>
227 <type>boolean</type>
228 <required>true</required>
229 <default>0</default>
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>
232 <html>
233 <type>CheckBox</type>
234 </html>
235 </field>
236 <field>
237 <name>financial_type_id</name>
238 <type>int unsigned</type>
239 <title>Financial Type</title>
240 <default>NULL</default>
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>
247 <html>
248 <type>Select</type>
249 </html>
250 <add>4.3</add>
251 </field>
252 <field>
253 <name>payment_processor</name>
254 <type>varchar</type>
255 <length>128</length>
256 <serialize>SEPARATOR_TRIMMED</serialize>
257 <comment>Payment Processors configured for this Event (if is_monetary is true)</comment>
258 <pseudoconstant>
259 <table>civicrm_payment_processor</table>
260 <keyColumn>id</keyColumn>
261 <labelColumn>name</labelColumn>
262 </pseudoconstant>
263 <html>
264 <type>Select</type>
265 <label>Payment Processors</label>
266 </html>
267 <add>1.8</add>
268 </field>
269 <field>
270 <name>is_map</name>
271 <title>Map Enabled</title>
272 <type>boolean</type>
273 <required>true</required>
274 <default>0</default>
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>
277 <html>
278 <type>CheckBox</type>
279 </html>
280 </field>
281 <field>
282 <name>is_active</name>
283 <title>Is Active</title>
284 <type>boolean</type>
285 <required>true</required>
286 <default>0</default>
287 <comment>Is this Event enabled or disabled/cancelled?</comment>
288 <add>1.7</add>
289 <html>
290 <type>CheckBox</type>
291 </html>
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>
301 <html>
302 <type>Text</type>
303 </html>
304 <add>1.8</add>
305 </field>
306 <field>
307 <name>is_show_location</name>
308 <type>boolean</type>
309 <required>true</required>
310 <title>show location</title>
311 <default>1</default>
312 <comment>If true, show event location.</comment>
313 <add>1.7</add>
314 <html>
315 <type>CheckBox</type>
316 </html>
317 </field>
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>
323 <html>
324 <label>Location Block</label>
325 </html>
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>
335 <field>
336 <name>default_role_id</name>
337 <uniqueName>default_role_id</uniqueName>
338 <title>Default Role</title>
339 <import>true</import>
340 <type>int unsigned</type>
341 <default>1</default>
342 <pseudoconstant>
343 <optionGroupName>participant_role</optionGroupName>
344 </pseudoconstant>
345 <comment>Participant role ID. Implicit FK to civicrm_option_value where option_group = participant_role.</comment>
346 <add>2.0</add>
347 <html>
348 <type>Select</type>
349 </html>
350 </field>
351 <field>
352 <name>intro_text</name>
353 <type>text</type>
354 <html>
355 <type>RichTextEditor</type>
356 <rows>6</rows>
357 <cols>50</cols>
358 </html>
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>
362 <add>1.7</add>
363 </field>
364 <field>
365 <name>footer_text</name>
366 <title>Footer Message</title>
367 <type>text</type>
368 <html>
369 <type>RichTextEditor</type>
370 <rows>6</rows>
371 <cols>50</cols>
372 </html>
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>
375 <add>1.7</add>
376 </field>
377 <field>
378 <name>confirm_title</name>
379 <type>varchar</type>
380 <title>Confirmation Title</title>
381 <length>255</length>
382 <default>NULL</default>
383 <localizable>true</localizable>
384 <comment>Title for Confirmation page.</comment>
385 <html>
386 <type>Text</type>
387 </html>
388 <add>1.7</add>
389 </field>
390 <field>
391 <name>confirm_text</name>
392 <type>text</type>
393 <html>
394 <type>RichTextEditor</type>
395 <rows>6</rows>
396 <cols>50</cols>
397 </html>
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>
401 <add>1.7</add>
402 </field>
403 <field>
404 <name>confirm_footer_text</name>
405 <type>text</type>
406 <title>Footer Text</title>
407 <html>
408 <type>RichTextEditor</type>
409 <rows>6</rows>
410 <cols>50</cols>
411 </html>
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>
414 <add>1.7</add>
415 </field>
416 <field>
417 <name>is_email_confirm</name>
418 <type>boolean</type>
419 <required>true</required>
420 <title>Is confirm email</title>
421 <default>0</default>
422 <comment>If true, confirmation is automatically emailed to contact on successful registration.</comment>
423 <add>1.7</add>
424 <html>
425 <type>CheckBox</type>
426 </html>
427 </field>
428 <field>
429 <name>confirm_email_text</name>
430 <type>text</type>
431 <title>Confirmation Email Text</title>
432 <html>
433 <type>TextArea</type>
434 <rows>4</rows>
435 <cols>50</cols>
436 </html>
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>
439 <add>1.7</add>
440 </field>
441 <field>
442 <name>confirm_from_name</name>
443 <type>varchar</type>
444 <title>Confirm From Name</title>
445 <length>255</length>
446 <localizable>true</localizable>
447 <comment>FROM email name used for confirmation emails.</comment>
448 <add>1.7</add>
449 <html>
450 <type>Text</type>
451 </html>
452 </field>
453 <field>
454 <name>confirm_from_email</name>
455 <type>varchar</type>
456 <title>Confirm From Email</title>
457 <length>255</length>
458 <comment>FROM email address used for confirmation emails.</comment>
459 <add>1.7</add>
460 <html>
461 <type>Text</type>
462 </html>
463 </field>
464 <field>
465 <name>cc_confirm</name>
466 <type>varchar</type>
467 <length>255</length>
468 <comment>comma-separated list of email addresses to cc each time a confirmation is sent</comment>
469 <html>
470 <type>Text</type>
471 <label>CC Confirm</label>
472 </html>
473 <add>1.7</add>
474 </field>
475 <field>
476 <name>bcc_confirm</name>
477 <type>varchar</type>
478 <length>255</length>
479 <comment>comma-separated list of email addresses to bcc each time a confirmation is sent</comment>
480 <html>
481 <type>Text</type>
482 <label>BCC Confirm</label>
483 </html>
484 <add>1.7</add>
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>
500 <field>
501 <name>thankyou_title</name>
502 <type>varchar</type>
503 <title>ThankYou Title</title>
504 <length>255</length>
505 <default>NULL</default>
506 <localizable>true</localizable>
507 <comment>Title for ThankYou page.</comment>
508 <add>1.7</add>
509 <html>
510 <type>Text</type>
511 </html>
512 </field>
513 <field>
514 <name>thankyou_text</name>
515 <type>text</type>
516 <html>
517 <type>RichTextEditor</type>
518 <rows>6</rows>
519 <cols>50</cols>
520 </html>
521 <title>ThankYou Text</title>
522 <localizable>true</localizable>
523 <comment>ThankYou Text.</comment>
524 <add>1.7</add>
525 </field>
526 <field>
527 <name>thankyou_footer_text</name>
528 <type>text</type>
529 <title>Footer Text</title>
530 <html>
531 <type>RichTextEditor</type>
532 <rows>6</rows>
533 <cols>50</cols>
534 </html>
535 <localizable>true</localizable>
536 <comment>Footer message.</comment>
537 <add>1.7</add>
538 </field>
539 <field>
540 <name>is_pay_later</name>
541 <title>Pay Later Allowed</title>
542 <type>boolean</type>
543 <required>true</required>
544 <default>0</default>
545 <comment>if true - allows the user to send payment directly to the org later</comment>
546 <add>2.0</add>
547 <html>
548 <type>CheckBox</type>
549 </html>
550 </field>
551 <field>
552 <name>pay_later_text</name>
553 <title>Pay Later Text</title>
554 <type>text</type>
555 <localizable>true</localizable>
556 <comment>The text displayed to the user in the main form</comment>
557 <add>2.0</add>
558 <html>
559 <type>RichTextEditor</type>
560 </html>
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>
567 <comment>The receipt sent to the user instead of the normal receipt text</comment>
568 <add>2.0</add>
569 <html>
570 <type>Text</type>
571 </html>
572 </field>
573 <field>
574 <name>is_partial_payment</name>
575 <title>Partial Payments Enabled</title>
576 <type>boolean</type>
577 <required>true</required>
578 <default>0</default>
579 <comment>is partial payment enabled for this event</comment>
580 <add>4.3</add>
581 <html>
582 <type>CheckBox</type>
583 </html>
584 </field>
585 <field>
586 <name>initial_amount_label</name>
587 <title>Initial Amount Label</title>
588 <type>varchar</type>
589 <length>255</length>
590 <localizable>true</localizable>
591 <comment>Initial amount label for partial payment</comment>
592 <add>4.3</add>
593 <html>
594 <type>Text</type>
595 </html>
596 </field>
597 <field>
598 <name>initial_amount_help_text</name>
599 <title>Initial Amount Help Text</title>
600 <type>text</type>
601 <localizable>true</localizable>
602 <comment>Initial amount help text for partial payment</comment>
603 <add>4.3</add>
604 <html>
605 <type>Text</type>
606 </html>
607 </field>
608 <field>
609 <name>min_initial_amount</name>
610 <title>Minimum Initial Amount</title>
611 <type>decimal</type>
612 <comment>Minimum initial amount for partial payment</comment>
613 <add>4.3</add>
614 <html>
615 <type>Text</type>
616 </html>
617 </field>
618 <field>
619 <name>is_multiple_registrations</name>
620 <title>Allow Multiple Registrations</title>
621 <type>boolean</type>
622 <required>true</required>
623 <default>0</default>
624 <comment>if true - allows the user to register multiple participants for event</comment>
625 <add>2.1</add>
626 <html>
627 <type>CheckBox</type>
628 </html>
629 </field>
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>
636 <add>4.7</add>
637 </field>
638 <field>
639 <name>allow_same_participant_emails</name>
640 <type>boolean</type>
641 <required>true</required>
642 <title>Does Event allow multiple registrations from same email address?</title>
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>
646 <html>
647 <type>CheckBox</type>
648 </html>
649 </field>
650 <field>
651 <name>has_waitlist</name>
652 <title>Waitlist Enabled</title>
653 <type>boolean</type>
654 <required>true</required>
655 <default>0</default>
656 <comment>Whether the event has waitlist support.</comment>
657 <add>3.0</add>
658 <html>
659 <type>CheckBox</type>
660 </html>
661 </field>
662 <field>
663 <name>requires_approval</name>
664 <type>boolean</type>
665 <required>true</required>
666 <default>0</default>
667 <comment>Whether participants require approval before they can finish registering.</comment>
668 <add>3.0</add>
669 <html>
670 <type>CheckBox</type>
671 <label>Requires Approval</label>
672 </html>
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>
679 <html>
680 <type>Text</type>
681 <label>Expiration Time</label>
682 </html>
683 </field>
684 <field>
685 <name>allow_selfcancelxfer</name>
686 <type>boolean</type>
687 <required>true</required>
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>
698 <type>int</type>
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>
707 <field>
708 <name>waitlist_text</name>
709 <type>text</type>
710 <html>
711 <type>TextArea</type>
712 <rows>4</rows>
713 <cols>60</cols>
714 <label>Waitlist Text</label>
715 </html>
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>
723 <html>
724 <type>TextArea</type>
725 <rows>4</rows>
726 <cols>60</cols>
727 <label>Approval Required Text</label>
728 </html>
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>
737 <required>true</required>
738 <default>0</default>
739 <required>true</required>
740 <comment>whether the event has template</comment>
741 <add>3.0</add>
742 <html>
743 <type>CheckBox</type>
744 </html>
745 </field>
746 <field>
747 <name>template_title</name>
748 <uniqueName>template_title</uniqueName>
749 <type>varchar</type>
750 <import>true</import>
751 <title>Event Template Title</title>
752 <headerPattern>/(template.)?title$/i</headerPattern>
753 <length>255</length>
754 <localizable>true</localizable>
755 <comment>Event Template Title</comment>
756 <html>
757 <type>Text</type>
758 </html>
759 <add>3.0</add>
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>
766 <html>
767 <label>Created By</label>
768 </html>
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>
785 <field>
786 <name>currency</name>
787 <type>varchar</type>
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>
794 <pseudoconstant>
795 <table>civicrm_currency</table>
796 <keyColumn>name</keyColumn>
797 <labelColumn>full_name</labelColumn>
798 <nameColumn>name</nameColumn>
799 <abbrColumn>symbol</abbrColumn>
800 </pseudoconstant>
801 <html>
802 <type>Select</type>
803 <label>Currency</label>
804 </html>
805 </field>
806 <field>
807 <name>campaign_id</name>
808 <component>CiviCampaign</component>
809 <type>int unsigned</type>
810 <title>Campaign ID</title>
811 <comment>The campaign for which this event has been created.</comment>
812 <add>3.4</add>
813 <html>
814 <type>EntityRef</type>
815 <label>Campaign</label>
816 </html>
817 <pseudoconstant>
818 <table>civicrm_campaign</table>
819 <keyColumn>id</keyColumn>
820 <labelColumn>title</labelColumn>
821 <prefetch>FALSE</prefetch>
822 </pseudoconstant>
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>
834 <required>true</required>
835 <default>1</default>
836 <comment>Can people share the event through social media?</comment>
837 <add>4.1</add>
838 <html>
839 <type>CheckBox</type>
840 </html>
841 </field>
842 <field>
843 <name>is_confirm_enabled</name>
844 <title>Is the booking confirmation screen enabled?</title>
845 <type>boolean</type>
846 <required>true</required>
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>
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>
860 <html>
861 <type>EntityRef</type>
862 </html>
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>
872 <type>int unsigned</type>
873 <title>Subevent Slot Label ID</title>
874 <default>NULL</default>
875 <comment>Subevent slot label. Implicit FK to civicrm_option_value where option_group = conference_slot.</comment>
876 <add>4.1</add>
877 <html>
878 <type>Select</type>
879 </html>
880 </field>
881 <field>
882 <name>dedupe_rule_group_id</name>
883 <type>int unsigned</type>
884 <title>Dedupe Rule ID</title>
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>
896 <label>Dedupe Rule</label>
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>
905 <field>
906 <name>is_billing_required</name>
907 <title>Is billing block required</title>
908 <type>boolean</type>
909 <required>true</required>
910 <default>0</default>
911 <comment>if true than billing block is required this event</comment>
912 <add>4.6</add>
913 <html>
914 <type>CheckBox</type>
915 </html>
916 </field>
917 </table>