{
    "name": "required|max:112|string",
    "city_id": "nullable|integer|exists:cities,id",
    "location_google_maps_link": "max:255|url",
    "address": "required_without:location_google_maps_link|string|max:255",
    "latitude_e6": "required_without:location_google_maps_link|integer|between:-90000000,90000000",
    "longitude_e6": "required_without:location_google_maps_link|integer|between:-180000000,180000000",
    "phone": "required|string",
    "eta": "string",
    "internal_code": "string|max:16",
    "domain": "required|max:32|domain",
    "time_zone_offset": {
        "required": true,
        "string": true,
        "regex": "/^[\\+\\-]([0-1][0-9]|2[0-3]):[0-5][0-9]$/"
    },
    "settings": {
        "uid": "string|max:64",
        "slogan": "string|max:80",
        "max_scheduling_days": "integer|min:0|max:365",
        "scheduling_delay_minutes": "integer|min:0",
        "enable_work_schedules": "boolean",
        "auto_sync_work_schedules": "boolean",
        "pay_in_store": "nullable|boolean",
        "order_expiration_minutes": "integer|min:5",
        "service_fee_name": "nullable|string|max:40",
        "service_fee_flat_e2": "integer|min:0",
        "human_service_fee_flat_e2": "numeric|min:0.0",
        "service_fee_prc": "numeric|between:0.0000,1.0000",
        "human_service_fee_prc": "numeric|between:0.00,100.00",
        "order_tax_flat_e2": "integer|min:0",
        "human_order_tax_flat_e2": "numeric|min:0.0",
        "order_tax_prc": "numeric|between:0.0000,1.0000",
        "human_order_tax_prc": "numeric|between:0.00,100.00",
        "shopper_fee_e2": "integer|min:0",
        "shopper_assign_distance": "integer|min:100",
        "human_shopper_fee_e2": "numeric|min:0.0",
        "shopper_fee_prc": "numeric|between:0.0000,1.0000",
        "human_shopper_fee_prc": "numeric|between:0.00,100.00",
        "add_rating_sum": "integer|min:0",
        "add_rating_count": "integer|min:0",
        "min_checkout_price_e2": "integer|min:0",
        "human_min_checkout_price_e2": "numeric|min:0.0",
        "import_config": "array",
        "terms_of_service": "string",
        "max_simultaneous_deliveries": "integer|min:0|max:20",
        "auto_eta_calc": "boolean",
        "checkout_disclaimer": "string",
        "allow_offline_orders": "boolean",
        "allow_timetable_skipping": "boolean",
        "inventory_reminder_delay": "integer|min:0|max:720",
        "service_reminder_delay": "integer|min:0|max:60",
        "use_company_service_fees": "boolean",
        "force_branch_service_fees": "boolean",
        "system_expiration_hours": "nullable|integer|min:0",
        "orders_driver_assigning_in_mins": "integer|min:0",
        "is_pool_automatic": "boolean",
        "is_special_contributor": "boolean",
        "islr_prc": "numeric|between:0.00,100.00",
        "human_islr_prc": "numeric|between:0.00,100.00",
        "iva_retention_prc": "numeric|between:0.00,100.00",
        "human_iva_retention_prc": "numeric|between:0.00,100.00",
        "is_payment_deduction_disabled": "boolean",
        "is_digital_invoice_enabled": "boolean",
        "is_global_tax_included": "boolean",
        "payout_accounts": [
            {
                "type": "required_with:payout_accounts.*|string|in:national_bank_account,mobile_payment",
                "document": "required_if:type,national_bank_account|required_if:type,mobile_payment|string|regex:/^[VEJGP].{7,15}$/",
                "name": "required_if:type,national_bank_account|string",
                "account": "required_if:type,national_bank_account|string|min:20",
                "bank_name": "required_if:type,national_bank_account|string|min:3|max:64",
                "bank_code": "required_if:type,mobile_payment|string|size:4",
                "phone": "required_if:type,mobile_payment|string|max:32",
                "email": "nullable|email:rfc,filter",
                "alias": "nullable|string|max:40"
            }
        ],
        "auto_assign_driver_upon_payment": "boolean",
        "address_for_fiscal_docs": "nullable|string|max:160",
        "email_for_fiscal_docs": "nullable|string|email:rfc,filter",
        "legal_name_for_fiscal_docs": "nullable|string|max:255",
        "emails_for_payments": [
            {
                "email": "rfc,filter"
            }
        ],
        "mark_too_busy_until": "nullable|date",
        "auto_busy_quantity": "nullable|integer",
        "payments_mode": "string|in:company,branch,both",
        "pool_mode": "string|in:company,branch",
        "weight_rounding_mode": "string|in:ceil,floor,half_up,half_down,truncate",
        "tax_rounding_mode": "string|in:ceil,floor,half_up,half_down,truncate",
        "orders_shopper_eta_config": {
            "time_base_in_minutes": {
                "required_with": "orders_shopper_eta_config",
                "integer": true,
                "min": " 1"
            },
            "weight_base_in_kg": {
                "required_with": "orders_shopper_eta_config",
                "integer": true,
                "min": " 1"
            },
            "extra_minutes_per_10kg": {
                "required_with": "orders_shopper_eta_config",
                "integer": true,
                "min": " 1"
            }
        },
        "service_app_modifiers": [
            {
                "is_enabled": "boolean",
                "name": "required|string|max:32",
                "label": "string|max:32",
                "description": "string",
                "layer": "integer|min:0|max:255",
                "price_min_e2": "integer|min:0",
                "human_price_min_e2": "numeric|min:0.0",
                "price_max_e2": "integer",
                "human_price_max_e2": "numeric",
                "hour_beg": {
                    "string": true,
                    "regex": "/^([0-1][0-9]|2[0-3]):[0-5][0-9]$/"
                },
                "hour_end": {
                    "string": true,
                    "regex": "/^([0-1][0-9]|2[0-3]):[0-5][0-9]$/"
                },
                "conditions": "array",
                "payment_methods": [
                    "required|string"
                ],
                "payment_currencies": [
                    "required|string"
                ]
            }
        ],
        "taxes": [
            {
                "is_enabled": "boolean",
                "name": "required|string|max:32",
                "label": "string|max:32",
                "description": "string",
                "layer": "integer|min:0|max:255",
                "price_min_e2": "integer|min:0",
                "human_price_min_e2": "numeric|min:0.0",
                "price_max_e2": "integer",
                "human_price_max_e2": "numeric",
                "hour_beg": {
                    "string": true,
                    "regex": "/^([0-1][0-9]|2[0-3]):[0-5][0-9]$/"
                },
                "hour_end": {
                    "string": true,
                    "regex": "/^([0-1][0-9]|2[0-3]):[0-5][0-9]$/"
                },
                "conditions": "array",
                "payment_methods": [
                    "required|string"
                ],
                "payment_currencies": [
                    "required|string"
                ]
            }
        ]
    }
}