<?php

namespace App\Http\Requests\Scores;

use App\Http\Requests\ApiFormRequest;

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

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