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