['sometimes', 'string'], 'scheduled_at' => ['sometimes', 'nullable', 'string'], 'platforms' => ['sometimes', 'array'], 'platforms.*.id' => ['required', 'uuid', 'exists:post_platforms,id'], 'platforms.*.content' => ['nullable', 'string', 'max:5000'], ]; } public function messages(): array { return [ 'scheduled_at.after' => 'The scheduled date must be in the future.', ]; } }