protected function generateDictionarySchema(array $dictionaryValue): array
    {
        $schema = ['type' => 'dictionary', 'properties' => []];
        ksort($dictionaryValue);
        foreach ($dictionaryValue as $name => $subvalue) {
            $schema['properties'][$name] = $this->generate($subvalue);
        }
        return $schema;
    }