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