['required', 'exists:patients,id'], 'therapist_id' => ['required', 'exists:users,id'], 'appointment_date' => ['required', 'date'], 'duration_minutes' => ['required', 'integer', 'min:15'], 'type' => ['nullable', 'in:session,assessment,follow-up'], 'room' => ['nullable', 'string', 'max:50'], 'notes' => ['nullable', 'string'], ]; } }