<?php

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;
}
