The tag is `<extension>` (because of the `fixXmlConfig('extension')` line, which converts all `extension` elements to one `extensions` array).

And I think we should be explicit by saying `maxOccurs="1"` (not sure what the default is):
````xml
<xsd:element name="extension" type="extensions" minOccurs="0" maxOccurs="1" />
````