*/ public function rules(): array { return [ 'channel_code' => ['prohibited'], 'competition_id' => ['prohibited'], 'channel_name' => ['sometimes', 'string', 'max:200'], 'status' => ['sometimes', Rule::in(SignupChannel::STATUSES)], 'shared_secret' => ['sometimes', 'string', 'max:255'], 'entry_encryption_enabled' => ['sometimes', 'boolean'], 'success_callback_url' => ['sometimes', 'nullable', 'url', 'max:2048'], 'remark' => ['sometimes', 'nullable', 'string'], ]; } }