<?xml version="1.0" encoding="utf-8"?>
<form>
	<fields>
		<field name="value" type="text" validate="decimal"
			label="COM_DPCALENDAR_FIELD_EARLYBIRD_VALUE_LABEL" description="COM_DPCALENDAR_FIELD_EARLYBIRD_VALUE_DESC"/>
		<field name="type" type="list" default="value" label="COM_DPCALENDAR_FIELD_EARLYBIRD_TYPE_LABEL">
			<option value="value">COM_DPCALENDAR_FIELD_EARLYBIRD_TYPE_VALUE</option>
			<option value="percentage">COM_DPCALENDAR_FIELD_EARLYBIRD_TYPE_PERCENTAGE</option>
		</field>
		<field name="amount" type="text" default="2" validate="number" filter="integer"
			label="COM_DPCALENDAR_FIELD_EVENTS_DISCOUNT_AMOUNT_LABEL"/>
		<field name="label" type="text" label="COM_DPCALENDAR_FIELD_EARLYBIRD_LABEL_LABEL"/>
		<field name="description" type="textarea" filter="\Joomla\CMS\Component\ComponentHelper::filterText"
			label="COM_DPCALENDAR_FIELD_EARLYBIRD_DESCRIPTION_LABEL"/>
	</fields>
</form>
