<?php

declare(strict_types=1);

namespace NoahVet\Reef\Domain\Validation\V2;

interface OpenApiPropertyValidatorInterface
{
    /**
     * @param array<string, mixed> $rule
     */
    public function validate(string $propertyName, mixed $value, array $rule): bool;
}
