<?php

declare(strict_types=1);

namespace NoahVet\Reef\Domain\Validation;

interface OpenApiDataValidatorInterface
{
    /**
     * @param array<string, mixed> $data
     * @param array<string, mixed> $config
     *
     * @return array<int|string, string|array<string, mixed>>
     */
    public function validate(array $data, array $config): array;
}
