<?xml version="1.0" ?>

<!--

 This file is part of the Sylius package.

 (c) Sylius Sp. z o.o.

 For the full copyright and license information, please view the LICENSE
 file that was distributed with this source code.

-->

<serializer xmlns="http://symfony.com/schema/dic/serializer-mapping"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://symfony.com/schema/dic/serializer-mapping https://symfony.com/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd"
>
    <class name="Sylius\Component\Core\Model\ProductVariant">
        <attribute name="code">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
            <group>admin:product_variant:create</group>
            <group>sylius:admin:product_variant:create</group>
            <group>shop:product_variant:index</group>
            <group>sylius:shop:product_variant:index</group>
            <group>shop:product_variant:show</group>
            <group>sylius:shop:product_variant:show</group>
        </attribute>
        <attribute name="product">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
            <group>admin:product_variant:create</group>
            <group>sylius:admin:product_variant:create</group>
            <group>shop:product_variant:index</group>
            <group>sylius:shop:product_variant:index</group>
            <group>shop:product_variant:show</group>
            <group>sylius:shop:product_variant:show</group>
        </attribute>
        <attribute name="translations">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
            <group>admin:product_variant:create</group>
            <group>sylius:admin:product_variant:create</group>
            <group>admin:product_variant:update</group>
            <group>sylius:admin:product_variant:update</group>
        </attribute>
        <attribute name="optionValues">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
            <group>admin:product_variant:create</group>
            <group>sylius:admin:product_variant:create</group>
            <group>admin:product_variant:update</group>
            <group>sylius:admin:product_variant:update</group>
            <group>shop:product_variant:index</group>
            <group>sylius:shop:product_variant:index</group>
            <group>shop:product_variant:show</group>
            <group>sylius:shop:product_variant:show</group>
        </attribute>
        <attribute name="channelPricings">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
            <group>admin:product_variant:create</group>
            <group>sylius:admin:product_variant:create</group>
            <group>admin:product_variant:update</group>
            <group>sylius:admin:product_variant:update</group>
        </attribute>
        <attribute name="name">
            <group>shop:product_variant:index</group>
            <group>sylius:shop:product_variant:index</group>
            <group>shop:product_variant:show</group>
            <group>sylius:shop:product_variant:show</group>
        </attribute>
        <attribute name="enabled">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
            <group>admin:product_variant:create</group>
            <group>sylius:admin:product_variant:create</group>
            <group>admin:product_variant:update</group>
            <group>sylius:admin:product_variant:update</group>
        </attribute>
        <attribute name="position">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
            <group>admin:product_variant:create</group>
            <group>sylius:admin:product_variant:create</group>
            <group>admin:product_variant:update</group>
            <group>sylius:admin:product_variant:update</group>
        </attribute>
        <attribute name="tracked">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
            <group>admin:product_variant:create</group>
            <group>sylius:admin:product_variant:create</group>
            <group>admin:product_variant:update</group>
            <group>sylius:admin:product_variant:update</group>
        </attribute>
        <attribute name="onHold">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
            <group>admin:product_variant:create</group>
            <group>sylius:admin:product_variant:create</group>
            <group>admin:product_variant:update</group>
            <group>sylius:admin:product_variant:update</group>
        </attribute>
        <attribute name="onHand">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
            <group>admin:product_variant:create</group>
            <group>sylius:admin:product_variant:create</group>
            <group>admin:product_variant:update</group>
            <group>sylius:admin:product_variant:update</group>
        </attribute>
        <attribute name="weight">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
            <group>admin:product_variant:create</group>
            <group>sylius:admin:product_variant:create</group>
            <group>admin:product_variant:update</group>
            <group>sylius:admin:product_variant:update</group>
        </attribute>
        <attribute name="width">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
            <group>admin:product_variant:create</group>
            <group>sylius:admin:product_variant:create</group>
            <group>admin:product_variant:update</group>
            <group>sylius:admin:product_variant:update</group>
        </attribute>
        <attribute name="height">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
            <group>admin:product_variant:create</group>
            <group>sylius:admin:product_variant:create</group>
            <group>admin:product_variant:update</group>
            <group>sylius:admin:product_variant:update</group>
        </attribute>
        <attribute name="depth">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
            <group>admin:product_variant:create</group>
            <group>sylius:admin:product_variant:create</group>
            <group>admin:product_variant:update</group>
            <group>sylius:admin:product_variant:update</group>
        </attribute>
        <attribute name="taxCategory">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
            <group>admin:product_variant:create</group>
            <group>sylius:admin:product_variant:create</group>
            <group>admin:product_variant:update</group>
            <group>sylius:admin:product_variant:update</group>
        </attribute>
        <attribute name="shippingCategory">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
            <group>admin:product_variant:create</group>
            <group>sylius:admin:product_variant:create</group>
            <group>admin:product_variant:update</group>
            <group>sylius:admin:product_variant:update</group>
        </attribute>
        <attribute name="shippingRequired">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
            <group>admin:product_variant:create</group>
            <group>sylius:admin:product_variant:create</group>
            <group>admin:product_variant:update</group>
            <group>sylius:admin:product_variant:update</group>
        </attribute>
        <attribute name="createdAt">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
        </attribute>
        <attribute name="updatedAt">
            <group>admin:product_variant:index</group>
            <group>sylius:admin:product_variant:index</group>
            <group>admin:product_variant:show</group>
            <group>sylius:admin:product_variant:show</group>
        </attribute>
    </class>
</serializer>
