['required', 'string', Rule::in(array_column(Status::cases(), 'value'))], 'synced' => ['required', 'boolean'], 'platforms' => ['required', 'array'], 'platforms.*.id' => ['required', 'uuid', Rule::exists('post_platforms', 'id')->where('post_id', $this->route('post') instanceof Post ? $this->route('post')->id : $this->route('post'))], 'platforms.*.content' => ['nullable', 'string', 'max:63206'], 'platforms.*.content_type' => ['required', 'string', Rule::in(array_column(ContentType::cases(), 'value'))], 'platforms.*.meta' => ['nullable', 'array'], 'scheduled_at' => ['nullable', 'date'], 'label_ids' => ['sometimes', 'array'], 'label_ids.*' => ['uuid'], ]; } }