<?php

namespace App\Http\Requests;


class AddProfileRequest extends ApiBaseRequest
{

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'street_no'=>'required|regex:'.$this->script_validation_rule,
            'street_name'=>'required|regex:'.$this->script_validation_rule,
            'city'=>'required|regex:'.$this->script_validation_rule,
            'state'=>'required|regex:'.$this->script_validation_rule,
            'zip_code'=>'required|regex:'.$this->script_validation_rule,
            'ssn'=>'required|integer',
            'phone'=>'required|regex:'.$this->script_validation_rule,
        ];
    }
}
