<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class VirtualCardKyRequest extends FormRequest
{
    /**
     * Determine if the user is authorized to make this request.
     */
    public function authorize(): bool
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
     */
    public function rules(): array
    {
        return [
			//'user_id' => 'required',
		//	'status' => 'required',
			'bvn' => ['required', 'digits:11'],
			'nin_no' => ['required', 'digits:11'],
			'house_no' => 'required',
			'street' => 'required',
			'city' => 'required',
			'state' => 'required',
			'country' => 'required',
			'postal_code' => 'required',
			'id_type' => 'required',
			//'id_number' => 'require',
			'id_image_url' =>'required|mimes:png,jpg,jpeg|max:5120',
			'photo' =>'required|mimes:png,jpg,jpeg|max:5120',
			//'address' => 'required',
			//'phone_number' => 'required',
        ];
    }
}
