<?php

namespace App\Http\Requests;

class UpdateSpecDocumentSectionTemplate extends SpecDocumentRequest
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
     */
    public function rules(): array
    {
        return [
            'data' => ['sometimes', 'nullable', 'array'],
        ];
    }
}
