<?php

namespace App\Http\Requests\Administrator;

use App\Http\Requests\ApiFormRequest;

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

    public function rules(): array
    {
        return [
            'school_year' => ['nullable', 'string', 'max:50'],
            'percentile' => ['nullable', 'numeric', 'min:1', 'max:99'],
        ];
    }
}
