+ #->scalarPrototype()->end()
+ ->end()
+ ->scalarNode('locale')->cannotBeEmpty()->defaultValue($defaults['locale'])->end()
+ #TODO: see if we can't prevent key normalisation with ->normalizeKeys(false)
+ #->scalarNode('locales')->cannotBeEmpty()->defaultValue($defaults['locales'])->end()
+ ->variableNode('locales')
+ ->treatNullLike([])
+ ->defaultValue($defaults['locales'])
+ #->scalarPrototype()->end()
+ ->end()
+ ->arrayNode('logo')
+ ->addDefaultsIfNotSet()
+ ->children()
+ ->scalarNode('alt')->defaultValue($defaults['logo']['alt'])->end()
+ ->scalarNode('png')->defaultValue($defaults['logo']['png'])->end()
+ ->scalarNode('svg')->defaultValue($defaults['logo']['svg'])->end()
+ ->end()
+ ->end()
+ ->scalarNode('path')->defaultValue($defaults['path'])->end()
+ ->scalarNode('root')->cannotBeEmpty()->defaultValue($defaults['root'])->end()
+ ->scalarNode('title')->cannotBeEmpty()->defaultValue($defaults['title'])->end()