-
Notifications
You must be signed in to change notification settings - Fork 200
/
Copy pathmenu-1.0.xsd
30 lines (23 loc) · 1.13 KB
/
menu-1.0.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns="http://knplabs.com/schema/dic/menu"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://knplabs.com/schema/dic/menu"
elementFormDefault="qualified">
<xsd:element name="config" type="config"/>
<xsd:complexType name="config">
<xsd:all>
<xsd:element name="providers" type="providers" minOccurs="0"/>
<xsd:element name="twig" type="twig" minOccurs="0"/>
</xsd:all>
<xsd:attribute name="templating" type="xsd:boolean" default="false"/>
<xsd:attribute name="default-renderer" type="xsd:string" default="twig"/>
</xsd:complexType>
<xsd:complexType name="providers">
<xsd:attribute name="builder-alias" type="xsd:boolean" default="true"/>
<xsd:attribute name="container-aware" type="xsd:boolean" default="true"/>
<xsd:attribute name="builder-service" type="xsd:boolean" default="true"/>
</xsd:complexType>
<xsd:complexType name="twig">
<xsd:attribute name="template" type="xsd:string" default="knp_menu.html.twig"/>
</xsd:complexType>
</xsd:schema>