<?php //resource_metadata_e289d2e3d4fbaca42a46fb2e7ab412d9

return [PHP_INT_MAX, static function () { return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate(
    $o = [
        clone (\Symfony\Component\VarExporter\Internal\Registry::$prototypes['ApiPlatform\\Core\\Metadata\\Resource\\ResourceMetadata'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('ApiPlatform\\Core\\Metadata\\Resource\\ResourceMetadata')),
    ],
    null,
    [
        'ApiPlatform\\Core\\Metadata\\Resource\\ResourceMetadata' => [
            'shortName' => [
                'Product',
            ],
            'description' => [
                '',
            ],
            'itemOperations' => [
                [
                    'GET' => [
                        'security' => 'is_granted("ROLE_EXACT_SHOP_MANAGER") or is_granted("ROLE_EXACT_MANAGER") or is_granted("ROLE_EXACT_API")',
                        'input' => null,
                        'output' => null,
                        'method' => 'GET',
                        'stateless' => null,
                        'input_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                        'output_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                    'update_product_simple' => [
                        'security' => 'is_granted("ROLE_EXACT_SHOP_MANAGER") or is_granted("ROLE_EXACT_MANAGER")',
                        'input_formats' => [
                            'json' => [
                                'application/json',
                            ],
                        ],
                        'method' => 'PUT',
                        'status' => 200,
                        'path' => '/products/{id}/simple',
                        'denormalization_context' => [
                            'groups' => [
                                'put:product:simple',
                            ],
                        ],
                        'validation_groups' => [
                            'Default',
                            'put:product:simple',
                        ],
                        'openapi_context' => [
                            'summary' => 'Update a simple product',
                            'description' => 'Update a simple product. The field `shop` is mandatory if connected as `manager (ROLE_MANAGER)`, to identify the product\'s shop',
                            'requestBody' => [
                                'content' => [
                                    'application/json' => [
                                        'schema' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'calory' => [
                                                    'type' => 'number',
                                                ],
                                                'withAlcool' => [
                                                    'type' => 'boolean',
                                                ],
                                                'new' => [
                                                    'type' => 'boolean',
                                                ],
                                                'blockedBySlot' => [
                                                    'type' => 'boolean',
                                                ],
                                                'restricted' => [
                                                    'type' => 'boolean',
                                                ],
                                                'multiQuantity' => [
                                                    'type' => 'boolean',
                                                ],
                                                'modes' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'shopMode' => [
                                                                'type' => 'number',
                                                            ],
                                                            'price' => [
                                                                'type' => 'number',
                                                            ],
                                                            'tax' => [
                                                                'type' => 'number',
                                                            ],
                                                            'enabled' => [
                                                                'type' => 'boolean',
                                                            ],
                                                        ],
                                                    ],
                                                ],
                                                'shop' => [
                                                    'type' => 'number',
                                                    'nullable' => true,
                                                    'description' => 'Required if user has ROLE_SHOP_MANAGER. Ignored if user has ROLE_MANAGER.',
                                                ],
                                                'menus' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'integer',
                                                    ],
                                                ],
                                                'options' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'integer',
                                                    ],
                                                ],
                                                'aliments' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'integer',
                                                    ],
                                                ],
                                                'translations' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'name' => [
                                                                'type' => 'string',
                                                            ],
                                                            'description' => [
                                                                'type' => 'string',
                                                            ],
                                                            'locale' => [
                                                                'type' => 'string',
                                                            ],
                                                        ],
                                                    ],
                                                ],
                                                'outOfStock' => [
                                                    'type' => 'boolean',
                                                ],
                                                'productCategories' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'category' => [
                                                                'type' => 'string',
                                                            ],
                                                        ],
                                                    ],
                                                ],
                                                'preparationTime' => [
                                                    'type' => 'number',
                                                ],
                                                'displayNotes' => [
                                                    'type' => 'boolean',
                                                ],
                                                'enabled' => [
                                                    'type' => 'boolean',
                                                ],
                                                'externalId' => [
                                                    'type' => 'string',
                                                    'nullable' => true,
                                                ],
                                                'imageUrl' => [
                                                    'type' => 'string',
                                                    'nullable' => true,
                                                ],
                                            ],
                                        ],
                                        'example' => [
                                            'calory' => 1,
                                            'withAlcool' => true,
                                            'new' => true,
                                            'blockedBySlot' => false,
                                            'restricted' => true,
                                            'multiQuantity' => true,
                                            'modes' => [
                                                [
                                                    'shopMode' => 167,
                                                    'price' => 200,
                                                    'tax' => 1,
                                                    'enabled' => true,
                                                ],
                                            ],
                                            'shop' => 81,
                                            'menus' => [
                                                77,
                                            ],
                                            'options' => [
                                                478,
                                                495,
                                            ],
                                            'aliments' => [
                                                2,
                                                3,
                                                5,
                                                6,
                                            ],
                                            'translations' => [
                                                [
                                                    'name' => 'amine test',
                                                    'description' => 'amine test',
                                                    'locale' => 'fr_FR',
                                                ],
                                            ],
                                            'outOfStock' => false,
                                            'productCategories' => [
                                                [
                                                    'category' => '192',
                                                ],
                                                [
                                                    'category' => '191',
                                                ],
                                            ],
                                            'preparationTime' => 10,
                                            'displayNotes' => true,
                                            'enabled' => true,
                                            'externalId' => 'ext-123456',
                                            'imageUrl' => 'https://example.com/image.jpg',
                                        ],
                                    ],
                                ],
                            ],
                            'responses' => [
                                200 => [
                                    'description' => 'Product updated successfully',
                                ],
                                404 => [
                                    'description' => 'Resource not found',
                                ],
                                400 => [
                                    'description' => 'Invalid input',
                                ],
                                422 => [
                                    'description' => 'Unprocessable entity',
                                ],
                            ],
                        ],
                        'input' => null,
                        'output' => null,
                        'stateless' => null,
                        'output_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                    'update_product_menu' => [
                        'security' => 'is_granted("ROLE_EXACT_SHOP_MANAGER") or is_granted("ROLE_EXACT_MANAGER")',
                        'input_formats' => [
                            'json' => [
                                'application/json',
                            ],
                        ],
                        'method' => 'PUT',
                        'status' => 200,
                        'path' => '/products/{id}/menu',
                        'denormalization_context' => [
                            'groups' => [
                                'put:product:menu',
                            ],
                        ],
                        'validation_groups' => [
                            'Default',
                            'put:product:menu',
                        ],
                        'openapi_context' => [
                            'summary' => 'Update a menu',
                            'description' => 'Update a menu product. The field `shop` is mandatory if connected as `manager (ROLE_MANAGER)`, to identify the product\'s shop',
                            'requestBody' => [
                                'content' => [
                                    'application/json' => [
                                        'schema' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'calory' => [
                                                    'type' => 'number',
                                                ],
                                                'withAlcool' => [
                                                    'type' => 'boolean',
                                                ],
                                                'new' => [
                                                    'type' => 'boolean',
                                                ],
                                                'blockedBySlot' => [
                                                    'type' => 'boolean',
                                                ],
                                                'restricted' => [
                                                    'type' => 'boolean',
                                                ],
                                                'multiQuantity' => [
                                                    'type' => 'boolean',
                                                ],
                                                'modes' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'shopMode' => [
                                                                'type' => 'number',
                                                            ],
                                                            'price' => [
                                                                'type' => 'number',
                                                            ],
                                                            'tax' => [
                                                                'type' => 'number',
                                                            ],
                                                            'enabled' => [
                                                                'type' => 'boolean',
                                                            ],
                                                        ],
                                                    ],
                                                ],
                                                'shop' => [
                                                    'type' => 'number',
                                                    'nullable' => true,
                                                    'description' => 'Required if user has ROLE_SHOP_MANAGER. Ignored if user has ROLE_MANAGER.',
                                                ],
                                                'menus' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'integer',
                                                    ],
                                                ],
                                                'options' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'integer',
                                                    ],
                                                ],
                                                'aliments' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'integer',
                                                    ],
                                                ],
                                                'translations' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'name' => [
                                                                'type' => 'string',
                                                            ],
                                                            'description' => [
                                                                'type' => 'string',
                                                            ],
                                                            'locale' => [
                                                                'type' => 'string',
                                                            ],
                                                        ],
                                                    ],
                                                ],
                                                'outOfStock' => [
                                                    'type' => 'boolean',
                                                ],
                                                'productCategories' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'category' => [
                                                                'type' => 'string',
                                                            ],
                                                        ],
                                                    ],
                                                ],
                                                'preparationTime' => [
                                                    'type' => 'number',
                                                ],
                                                'displayNotes' => [
                                                    'type' => 'boolean',
                                                ],
                                                'enabled' => [
                                                    'type' => 'boolean',
                                                ],
                                                'externalId' => [
                                                    'type' => 'string',
                                                    'nullable' => true,
                                                ],
                                                'imageUrl' => [
                                                    'type' => 'string',
                                                    'nullable' => true,
                                                ],
                                                'steps' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'name' => [
                                                                'type' => 'string',
                                                            ],
                                                            'stepItems' => [
                                                                'type' => 'array',
                                                                'items' => [
                                                                    'type' => 'object',
                                                                    'properties' => [
                                                                        'product' => [
                                                                            'type' => 'integer',
                                                                        ],
                                                                        'price' => [
                                                                            'type' => 'number',
                                                                        ],
                                                                    ],
                                                                ],
                                                            ],
                                                        ],
                                                    ],
                                                ],
                                            ],
                                        ],
                                        'example' => [
                                            'calory' => 1,
                                            'withAlcool' => true,
                                            'new' => true,
                                            'blockedBySlot' => false,
                                            'restricted' => true,
                                            'multiQuantity' => true,
                                            'modes' => [
                                                [
                                                    'shopMode' => 167,
                                                    'price' => 200,
                                                    'tax' => 1,
                                                    'enabled' => true,
                                                ],
                                            ],
                                            'shop' => 81,
                                            'menus' => [
                                                77,
                                            ],
                                            'options' => [
                                                478,
                                                495,
                                            ],
                                            'aliments' => [
                                                2,
                                                3,
                                                5,
                                                6,
                                            ],
                                            'translations' => [
                                                [
                                                    'name' => 'amine test',
                                                    'description' => 'amine test',
                                                    'locale' => 'fr_FR',
                                                ],
                                            ],
                                            'outOfStock' => false,
                                            'productCategories' => [
                                                [
                                                    'category' => '192',
                                                ],
                                                [
                                                    'category' => '191',
                                                ],
                                            ],
                                            'preparationTime' => 10,
                                            'displayNotes' => true,
                                            'enabled' => true,
                                            'externalId' => 'ext-123456',
                                            'imageUrl' => 'https://example.com/image.jpg',
                                            'steps' => [
                                                [
                                                    'name' => '1 repas',
                                                    'stepItems' => [
                                                        [
                                                            'product' => 772,
                                                            'price' => 0,
                                                        ],
                                                    ],
                                                ],
                                                [
                                                    'name' => '2 repas',
                                                    'stepItems' => [
                                                        [
                                                            'product' => 773,
                                                            'price' => 10,
                                                        ],
                                                    ],
                                                ],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                            'responses' => [
                                200 => [
                                    'description' => 'Product updated successfully',
                                ],
                                404 => [
                                    'description' => 'Resource not found',
                                ],
                                400 => [
                                    'description' => 'Invalid input',
                                ],
                                422 => [
                                    'description' => 'Unprocessable entity',
                                ],
                            ],
                        ],
                        'input' => null,
                        'output' => null,
                        'stateless' => null,
                        'output_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                    'upload_image' => [
                        'path' => '/products/{id}/attach-image',
                        'security' => 'is_granted("ROLE_EXACT_SHOP_MANAGER")',
                        'method' => 'POST',
                        'controller' => 'App\\Controller\\Api\\ImageUploader\\ImageUploaderController',
                        'input_formats' => [
                            'multipart' => [
                                'multipart/form-data',
                            ],
                        ],
                        'denormalization_context' => [
                            'groups' => [
                                'product:attach:image',
                            ],
                        ],
                        'openapi_context' => [
                            'summary' => 'Change image',
                            'requestBody' => [
                                'content' => [
                                    'multipart/form-data' => [
                                        'schema' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'imageFile' => [
                                                    'type' => 'string',
                                                    'format' => 'binary',
                                                ],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                        ],
                        'input' => null,
                        'output' => null,
                        'stateless' => null,
                        'output_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                    'DELETE' => [
                        'security' => 'is_granted("ROLE_EXACT_SHOP_MANAGER") or is_granted("ROLE_EXACT_MANAGER")',
                        'input' => null,
                        'output' => null,
                        'method' => 'DELETE',
                        'stateless' => null,
                        'input_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                        'output_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                ],
            ],
            'collectionOperations' => [
                [
                    'post_product_simple' => [
                        'security' => 'is_granted("ROLE_EXACT_SHOP_MANAGER") or is_granted("ROLE_EXACT_MANAGER")',
                        'input_formats' => [
                            'json' => [
                                'application/json',
                            ],
                        ],
                        'method' => 'POST',
                        'status' => 201,
                        'path' => '/products/simple',
                        'denormalization_context' => [
                            'groups' => [
                                'post:product:simple',
                            ],
                        ],
                        'validation_groups' => [
                            'Default',
                            'post:product:simple',
                        ],
                        'openapi_context' => [
                            'summary' => 'Create a new simple product',
                            'description' => 'Create a simple product. The field `shop` is mandatory if connected as `manager (ROLE_MANAGER)`, to identify the product\'s shop',
                            'requestBody' => [
                                'content' => [
                                    'application/json' => [
                                        'schema' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'calory' => [
                                                    'type' => 'number',
                                                ],
                                                'withAlcool' => [
                                                    'type' => 'boolean',
                                                ],
                                                'new' => [
                                                    'type' => 'boolean',
                                                ],
                                                'blockedBySlot' => [
                                                    'type' => 'boolean',
                                                ],
                                                'restricted' => [
                                                    'type' => 'boolean',
                                                ],
                                                'multiQuantity' => [
                                                    'type' => 'boolean',
                                                ],
                                                'modes' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'shopMode' => [
                                                                'type' => 'number',
                                                            ],
                                                            'price' => [
                                                                'type' => 'number',
                                                            ],
                                                            'tax' => [
                                                                'type' => 'number',
                                                            ],
                                                            'enabled' => [
                                                                'type' => 'boolean',
                                                            ],
                                                        ],
                                                    ],
                                                ],
                                                'shop' => [
                                                    'type' => 'number',
                                                    'nullable' => true,
                                                    'description' => 'Required if user has ROLE_SHOP_MANAGER. Ignored if user has ROLE_MANAGER.',
                                                ],
                                                'menus' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'integer',
                                                    ],
                                                ],
                                                'options' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'integer',
                                                    ],
                                                ],
                                                'aliments' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'integer',
                                                    ],
                                                ],
                                                'translations' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'name' => [
                                                                'type' => 'string',
                                                            ],
                                                            'description' => [
                                                                'type' => 'string',
                                                            ],
                                                            'locale' => [
                                                                'type' => 'string',
                                                            ],
                                                        ],
                                                    ],
                                                ],
                                                'outOfStock' => [
                                                    'type' => 'boolean',
                                                ],
                                                'categories' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'string',
                                                    ],
                                                ],
                                                'preparationTime' => [
                                                    'type' => 'number',
                                                ],
                                                'displayNotes' => [
                                                    'type' => 'boolean',
                                                ],
                                                'enabled' => [
                                                    'type' => 'boolean',
                                                ],
                                                'externalId' => [
                                                    'type' => 'string',
                                                    'nullable' => true,
                                                ],
                                                'imageUrl' => [
                                                    'type' => 'string',
                                                    'nullable' => true,
                                                ],
                                            ],
                                        ],
                                        'example' => [
                                            'calory' => 1,
                                            'withAlcool' => true,
                                            'new' => true,
                                            'blockedBySlot' => false,
                                            'restricted' => true,
                                            'multiQuantity' => true,
                                            'modes' => [
                                                [
                                                    'shopMode' => 167,
                                                    'price' => 200,
                                                    'tax' => 1,
                                                    'enabled' => true,
                                                ],
                                            ],
                                            'shop' => 81,
                                            'menus' => [
                                                77,
                                            ],
                                            'options' => [
                                                478,
                                                495,
                                            ],
                                            'aliments' => [
                                                2,
                                                3,
                                                5,
                                                6,
                                            ],
                                            'translations' => [
                                                [
                                                    'name' => 'amine test',
                                                    'description' => 'amine test',
                                                    'locale' => 'fr_FR',
                                                ],
                                            ],
                                            'outOfStock' => false,
                                            'categories' => [
                                                '192',
                                                '191',
                                            ],
                                            'preparationTime' => 10,
                                            'displayNotes' => true,
                                            'enabled' => true,
                                            'externalId' => 'ext-123456',
                                            'imageUrl' => 'https://example.com/image.jpg',
                                        ],
                                    ],
                                ],
                            ],
                            'responses' => [
                                201 => [
                                    'description' => 'Product created successfully',
                                ],
                                400 => [
                                    'description' => 'Invalid input',
                                ],
                                422 => [
                                    'description' => 'Unprocessable entity',
                                ],
                            ],
                        ],
                        'input' => null,
                        'output' => null,
                        'stateless' => null,
                        'output_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                    'post_product_menu' => [
                        'security' => 'is_granted("ROLE_EXACT_SHOP_MANAGER") or is_granted("ROLE_EXACT_MANAGER")',
                        'input_formats' => [
                            'json' => [
                                'application/json',
                            ],
                        ],
                        'method' => 'POST',
                        'status' => 201,
                        'path' => '/products/menu',
                        'denormalization_context' => [
                            'groups' => [
                                'post:product:menu',
                            ],
                        ],
                        'validation_groups' => [
                            'Default',
                            'post:product:menu',
                        ],
                        'openapi_context' => [
                            'summary' => 'Create a new menu',
                            'description' => 'Create a menu with steps. The field `shop` is mandatory if connected as `manager (ROLE_MANAGER)`, to identify the product\'s shop',
                            'requestBody' => [
                                'content' => [
                                    'application/json' => [
                                        'schema' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'calory' => [
                                                    'type' => 'number',
                                                ],
                                                'withAlcool' => [
                                                    'type' => 'boolean',
                                                ],
                                                'new' => [
                                                    'type' => 'boolean',
                                                ],
                                                'blockedBySlot' => [
                                                    'type' => 'boolean',
                                                ],
                                                'restricted' => [
                                                    'type' => 'boolean',
                                                ],
                                                'multiQuantity' => [
                                                    'type' => 'boolean',
                                                ],
                                                'modes' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'shopMode' => [
                                                                'type' => 'number',
                                                            ],
                                                            'price' => [
                                                                'type' => 'number',
                                                            ],
                                                            'tax' => [
                                                                'type' => 'number',
                                                            ],
                                                            'enabled' => [
                                                                'type' => 'boolean',
                                                            ],
                                                        ],
                                                    ],
                                                ],
                                                'shop' => [
                                                    'type' => 'number',
                                                    'nullable' => true,
                                                    'description' => 'Required if user has ROLE_SHOP_MANAGER. Ignored if user has ROLE_MANAGER.',
                                                ],
                                                'menus' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'integer',
                                                    ],
                                                ],
                                                'options' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'integer',
                                                    ],
                                                ],
                                                'aliments' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'integer',
                                                    ],
                                                ],
                                                'translations' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'name' => [
                                                                'type' => 'string',
                                                            ],
                                                            'description' => [
                                                                'type' => 'string',
                                                            ],
                                                            'locale' => [
                                                                'type' => 'string',
                                                            ],
                                                        ],
                                                    ],
                                                ],
                                                'outOfStock' => [
                                                    'type' => 'boolean',
                                                ],
                                                'categories' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'string',
                                                    ],
                                                ],
                                                'preparationTime' => [
                                                    'type' => 'number',
                                                ],
                                                'displayNotes' => [
                                                    'type' => 'boolean',
                                                ],
                                                'enabled' => [
                                                    'type' => 'boolean',
                                                ],
                                                'externalId' => [
                                                    'type' => 'string',
                                                    'nullable' => true,
                                                ],
                                                'imageUrl' => [
                                                    'type' => 'string',
                                                    'nullable' => true,
                                                ],
                                                'steps' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'name' => [
                                                                'type' => 'string',
                                                            ],
                                                            'stepItems' => [
                                                                'type' => 'array',
                                                                'items' => [
                                                                    'type' => 'object',
                                                                    'properties' => [
                                                                        'product' => [
                                                                            'type' => 'integer',
                                                                        ],
                                                                        'price' => [
                                                                            'type' => 'number',
                                                                        ],
                                                                    ],
                                                                ],
                                                            ],
                                                        ],
                                                    ],
                                                ],
                                            ],
                                        ],
                                        'example' => [
                                            'calory' => 1,
                                            'withAlcool' => true,
                                            'new' => true,
                                            'blockedBySlot' => false,
                                            'restricted' => true,
                                            'multiQuantity' => true,
                                            'modes' => [
                                                [
                                                    'shopMode' => 167,
                                                    'price' => 200,
                                                    'tax' => 1,
                                                    'enabled' => true,
                                                ],
                                            ],
                                            'shop' => 81,
                                            'menus' => [
                                                77,
                                            ],
                                            'options' => [
                                                478,
                                                495,
                                            ],
                                            'aliments' => [
                                                2,
                                                3,
                                                5,
                                                6,
                                            ],
                                            'translations' => [
                                                [
                                                    'name' => 'amine test',
                                                    'description' => 'amine test',
                                                    'locale' => 'fr_FR',
                                                ],
                                            ],
                                            'outOfStock' => false,
                                            'categories' => [
                                                '192',
                                                '191',
                                            ],
                                            'preparationTime' => 10,
                                            'displayNotes' => true,
                                            'enabled' => true,
                                            'externalId' => 'ext-123456',
                                            'imageUrl' => 'https://example.com/image.jpg',
                                            'steps' => [
                                                [
                                                    'name' => '1 repas',
                                                    'stepItems' => [
                                                        [
                                                            'product' => 772,
                                                            'price' => 0,
                                                        ],
                                                    ],
                                                ],
                                                [
                                                    'name' => '2 repas',
                                                    'stepItems' => [
                                                        [
                                                            'product' => 773,
                                                            'price' => 10,
                                                        ],
                                                    ],
                                                ],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                            'responses' => [
                                201 => [
                                    'description' => 'Product created successfully',
                                ],
                                400 => [
                                    'description' => 'Invalid input',
                                ],
                                422 => [
                                    'description' => 'Unprocessable entity',
                                ],
                            ],
                        ],
                        'input' => null,
                        'output' => null,
                        'stateless' => null,
                        'output_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                ],
            ],
            'subresourceOperations' => [
                [
                    'api_products_options_get_subresource' => [
                        'security' => 'is_granted("ROLE_EXACT_SHOP_MANAGER") or is_granted("ROLE_EXACT_MANAGER") or is_granted("ROLE_EXACT_API")',
                        'input_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                        'output_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                    'api_menus_products_get_subresource' => [
                        'security' => 'is_granted("ROLE_EXACT_SHOP_MANAGER") or is_granted("ROLE_EXACT_MANAGER") or is_granted("ROLE_EXACT_API")',
                        'input_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                        'output_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                ],
            ],
            'graphql' => [
                [
                    'item_query' => [],
                    'collection_query' => [],
                    'delete' => [],
                    'update' => [],
                    'create' => [],
                ],
            ],
            'attributes' => [
                [
                    'security' => 'is_granted("ROLE_EXACT_SHOP_MANAGER")',
                    'cache_headers' => null,
                    'denormalization_context' => null,
                    'deprecation_reason' => null,
                    'elasticsearch' => null,
                    'fetch_partial' => null,
                    'force_eager' => null,
                    'formats' => null,
                    'filters' => [
                        'annotated_app_entity_product_product_product_api_platform_core_bridge_doctrine_orm_filter_boolean_filter',
                    ],
                    'hydra_context' => null,
                    'input' => null,
                    'mercure' => null,
                    'messenger' => null,
                    'normalization_context' => [
                        'groups' => [
                            'get:product',
                        ],
                    ],
                    'openapi_context' => null,
                    'order' => null,
                    'output' => null,
                    'pagination_client_enabled' => null,
                    'pagination_client_items_per_page' => null,
                    'pagination_client_partial' => null,
                    'pagination_via_cursor' => null,
                    'pagination_enabled' => null,
                    'pagination_fetch_join_collection' => null,
                    'pagination_items_per_page' => 10,
                    'pagination_maximum_items_per_page' => 30,
                    'pagination_partial' => null,
                    'route_prefix' => 'v2',
                    'security_message' => null,
                    'security_post_denormalize' => null,
                    'security_post_denormalize_message' => null,
                    'security_post_validation' => null,
                    'security_post_validation_message' => null,
                    'stateless' => null,
                    'sunset' => null,
                    'swagger_context' => null,
                    'validation_groups' => null,
                    'url_generation_strategy' => null,
                    'composite_identifier' => null,
                    'exception_to_status' => null,
                    'query_parameter_validation_enabled' => null,
                ],
            ],
        ],
    ],
    $o[0],
    []
); }];
