<?php

namespace Rogue\Http\Requests;

class SignupRequest extends Request
{
    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'northstar_id' => 'required|string',
            'campaign_id' => 'required|int',
            'campaign_run_id' => 'required|int',
            'quantity' => 'int',
            'why_participated' => 'string',
            'source' => 'string',
            'remote_addr' => 'string',
        ];
    }
}

Create signup request with validation rules
Create signup request with validation rules
