<?php

namespace App\Http\Requests\Grading;

use App\Http\Requests\ApiFormRequest;

class PlacementBatchRequest extends ApiFormRequest
{
    public function authorize(): bool
    {
        return true;
    }

    public function rules(): array
    {
        return [
            'school_year' => ['required', 'string', 'max:50'],
            'placement_test' => ['required', 'string', 'max:100'],
            'placement_level' => ['nullable', 'array'],
        ];
    }
}
