<?php

namespace App\Modules\Integrations\Platform\Requests;

use Illuminate\Foundation\Http\FormRequest;

class IngestBiometricPunchesRequest extends FormRequest
{
    public function authorize(): bool
    {
        return true;
    }

    /**
     * @return array<string, mixed>
     */
    public function rules(): array
    {
        return [
            'punches' => ['required', 'array', 'min:1'],
            'punches.*' => ['required', 'array'],
        ];
    }
}

