<?php

namespace App\Api\Http\Requests\Rono;

use Illuminate\Foundation\Http\FormRequest;

class RonoRequest extends FormRequest
{
    public function authorize()
    {
        return true;
    }


    public function rules()
    {
        return [
            'name' => [
                'required',
            ],
            'phone_code' => [
                'nullable',
            ],
            'phoneNumber' => [
                'required',
            ],
            'startTime' => [
                'nullable',
            ],
            'duration' => [
                'nullable',
            ],
            'type' => [
                'nullable',
            ],
            'status' => [
                'nullable',
            ],
            'tag' =>[
                'nullable'
            ],
            'createdAt'=>[
                'nullable'
            ],
            'callerId'=>[
                'nullable'
            ],
            'callId'=>[
                'nullable'
            ],
            

        ];
    }
}
