<?php

namespace NoahVet\Reef\Domain\Validation;

interface OpenApiValidatorInterface
{
    /**
     * @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;
}
