<?xml version="1.0" encoding="UTF-8"?>
<!--
 /**
  * Copyright © Magento, Inc. All rights reserved.
  * See COPYING.txt for license details.
  */
-->

<operations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:noNamespaceSchemaLocation="urn:magento:mftf:DataGenerator/etc/dataOperation.xsd">
    <operation name="EnableFreeShippingConfigState" dataType="free_shipping_config_state" type="create" auth="adminFormKey" url="/admin/system_config/save/section/carriers/" method="POST">
        <object key="groups" dataType="free_shipping_config_state">
            <object key="freeshipping" dataType="free_shipping_config_state">
                <object key="fields" dataType="free_shipping_config_state">
                    <object key="active" dataType="active">
                        <field key="value">string</field>
                    </object>
                </object>
            </object>
        </object>
    </operation>

    <operation name="DisableFreeShippingConfigState" dataType="disable_free_shipping_config_state" type="create" auth="adminFormKey" url="/admin/system_config/save/section/carriers/" method="POST">
        <object key="groups" dataType="disable_free_shipping_config_state">
            <object key="freeshipping" dataType="disable_free_shipping_config_state">
                <object key="fields" dataType="disable_free_shipping_config_state">
                    <object key="active" dataType="disable_free_shipping_config_state">
                        <object key="inherit" dataType="disableFreeShipping">
                            <field key="value">integer</field>
                        </object>
                    </object>
                </object>
            </object>
        </object>
    </operation>

    <operation name="MinimumOrderAmount" dataType="minimum_order_amount" type="create" auth="adminFormKey" url="/admin/system_config/save/section/carriers/" method="POST">
        <object key="groups" dataType="minimum_order_amount">
            <object key="freeshipping" dataType="minimum_order_amount">
                <object key="fields" dataType="minimum_order_amount">
                    <object key="free_shipping_subtotal" dataType="free_shipping_subtotal">
                        <field key="value">string</field>
                    </object>
                </object>
            </object>
        </object>
    </operation>
</operations>

