<?xml version="1.0" encoding="UTF-8"?>
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
    <fieldset name="rule_information">
        <field name="auto_coupon_usage_limit" formElement="input" sortOrder="299">
            <argument name="data" xsi:type="array">
                <item name="config" xsi:type="array">
                    <item name="source" xsi:type="string">sales_rule</item>
                </item>
            </argument>
            <settings>
                <validation>
                    <rule name="validate-digits" xsi:type="boolean">true</rule>
                </validation>
                <notice translate="true">
                    Maximum number of times each auto-generated coupon can be used. Set to 0 for unlimited.
                </notice>
                <dataType>text</dataType>
                <label translate="true">Uses per Auto Generated Coupon</label>
                <dataScope>auto_coupon_usage_limit</dataScope>
            </settings>
        </field>
    </fieldset>
</form>
