<?php

declare(strict_types=1);

namespace NoahVet\Reef\Domain\Validation\V2;

interface OpenApiValidatorInterface
{
    /**
     * @param array<string, mixed> $payload
     * @param array<string, mixed> $rules
     */
    public function validate(array $payload, array $rules): bool;
}
