['nullable', 'array'], 'transaction_ids.*' => ['required', 'string', 'uuid'], 'filters' => ['nullable', 'array'], 'filters.date_from' => ['nullable', 'date'], 'filters.date_to' => ['nullable', 'date'], 'filters.amount_min' => ['nullable', 'numeric'], 'filters.amount_max' => ['nullable', 'numeric'], 'filters.category_ids' => ['nullable', 'array'], 'filters.category_ids.*' => ['string'], 'filters.account_ids' => ['nullable', 'array'], 'filters.account_ids.*' => ['string', 'uuid'], 'filters.label_ids' => ['nullable', 'array'], 'filters.label_ids.*' => ['string', 'uuid'], 'filters.search' => ['nullable', 'string'], ]; } public function messages(): array { return [ 'transaction_ids.*.uuid' => 'Invalid transaction ID format.', ]; } }