<?php

namespace App\Http\Requests\Exams;

use App\Http\Requests\ApiFormRequest;

class ExamDraftAdminReviewRequest extends ApiFormRequest
{
    public function rules(): array
    {
        return [
            'draft_id' => ['required', 'integer', 'min:1'],
            'review_status' => ['nullable', 'in:draft,submitted,reviewed,finalized,rejected,pending,final,approved'],
            'admin_comments' => ['nullable', 'string'],
            'final_file' => ['nullable', 'file', 'mimes:doc,docx,pdf', 'max:12288'],
        ];
    }
}
