contacts_events-8.x-1.x-dev/config/schema/contacts_events.schema.yml
config/schema/contacts_events.schema.yml
# Booking settings schema.
contacts_events.booking_settings:
type: config_object
mapping:
store_id:
type: string
label: 'Store ID'
autofill_first_ticket:
type: boolean
label: "Auto-fill first ticket with booking manager's details"
admin_payment_confirmation:
type: mapping
mapping:
subject:
type: label
label: 'Subject'
email:
type: mapping
label: 'Email'
mapping:
value:
type: text
label: 'Text'
format:
type: string
label: 'Format'
# Commerce checkout extension schema.
commerce_checkout.commerce_checkout_flow.plugin.booking_flow:
type: commerce_checkout_flow_with_panes_configuration
commerce_checkout.commerce_checkout_pane.booking_payment_process:
type: commerce_checkout_pane_configuration
mapping:
capture:
type: boolean
label: 'Transaction mode'
# Field item schema.
field.value.booking_windows:
type: mapping
label: 'Default value'
mapping:
id:
type: string
label: 'ID'
label:
type: label
label: 'Label'
cut_off:
type: string
label: 'Paid in full by'
cut_off_confirmed:
type: string
label: 'Confirmed by'
field.field_settings.price_map:
type: field.field_settings.commerce_price
label: 'Price map settings'
mapping:
order_item_type:
type: string
label: 'Order item type'
booking_window_field:
type: string
label: 'Booking window field'
class_field:
type: string
label: 'Class field'
field.storage_settings.booking_windows:
type: field.storage_settings.datetime
field.storage_settings.contacts_events_text_overrides:
type: mapping
label: 'Text override settings'
mapping:
allowed_keys:
type: sequence
label: 'Allowed keys'
sequence:
type: label
label: 'Item label'
field.value.contacts_events_text_overrides:
type: mapping
label: Default value
mapping:
name:
type: string
label: Name
text:
type: label
label: Text
# Field widget schema.
field.widget.settings.booking_windows:
type: field.widget.settings.datetime_default
field.widget.settings.inline_entity_form_order_item_tickets:
type: field.widget.settings.inline_entity_form_complex
field.widget.settings.inline_entity_form_tickets:
type: field.widget.settings.inline_entity_form_simple
field.widget.settings.mapped_price_data:
type: mapping
mapping:
price_shown:
type: string
label: 'Price shown'
override_indicator:
type: boolean
label: 'Show override indicator'
strip_trailing_zeroes:
type: boolean
label: 'Strip trailing zeroes after the decimal point'
currency_display:
type: string
label: 'Currency display'
field.widget.settings.mapped_price_class:
type: field.widget.settings.mapped_price_data
field.widget.settings.mapped_price_override_data:
type: field.widget.settings.mapped_price_data
# Field formatter schema.
field.formatter.settings.booking_windows:
type: field.formatter.settings.datetime_default
field.formatter.settings.contacts_events_date_range_compact:
type: field.formatter.settings.daterange_default
# Entity reference handlers.
entity_reference_selection.default:contacts_events_class:
type: entity_reference_selection.default
label: 'Event class selection handler settings'
mapping:
type:
type: string
label: 'Type'
views.field.contacts_events_booking_links:
type: views.field.entity_link
label: 'Booking link'
views.field.contacts_events_booking_relation_icons:
type: views_field
label: 'Booking Relation Icons'
mapping:
argument:
type: string
label: 'Argument'
views.field.contacts_events_ticketholder_ticket_status:
type: views_field
label: 'Ticket Status'
mapping:
argument:
type: string
label: 'Argument'
views.filter.contacts_state_machine_state:
type: views.filter.in_operator
label: 'State'
commerce_order.commerce_order_item_type.*.third_party_settings.contacts_events:
type: mapping
label: 'Contacts Events settings'
mapping:
payable_states:
type: sequence
label: 'Payable states'
nullable: true
sequence:
type: string
label: 'Payable state'
