'nullable|integer|exists:approval_forms,id', 'title' => 'nullable|string|max:200', 'content' => 'nullable|array', 'attachments' => 'nullable|array', 'attachments.*' => 'integer|exists:files,id', ]; } public function messages(): array { return [ 'form_id.exists' => __('validation.exists', ['attribute' => '결재양식']), ]; } }