<?php

namespace Tobuli\Validation;

class ChecklistValidator extends Validator
{
    public $rules = [
        'create' => [
            'service_id' => 'required|exists:device_services,id',
            'template_id' => 'required|exists:checklist_template,id',
        ],
        'upload' => [
            'file' => 'required|image',
        ],
        'sign' => [
            'signature' => 'required',
        ],
        'delete_file' => [
            'filename' => 'required',
        ],
    ];
}
