<?php

namespace App\Http\Requests\Parents;

use App\Http\Requests\ApiFormRequest;

class ParentProfileUpdateRequest extends ApiFormRequest
{
    public function rules(): array
    {
        return [
            'firstname' => ['required', 'string', 'max:255'],
            'lastname' => ['required', 'string', 'max:255'],
            'cellphone' => ['required', 'string', 'max:25'],
            'address_street' => ['required', 'string', 'max:255'],
            'city' => ['required', 'string', 'max:255'],
            'state' => ['required', 'string', 'max:25'],
            'zip' => ['required', 'string', 'max:25'],
        ];
    }
}
