Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / routing / Loader / schema / routing / routing-1.0.xsd
1 <?xml version="1.0" encoding="UTF-8" ?>
2
3 <xsd:schema xmlns="http://symfony.com/schema/routing"
4     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5     targetNamespace="http://symfony.com/schema/routing"
6     elementFormDefault="qualified">
7
8   <xsd:annotation>
9     <xsd:documentation><![CDATA[
10       Symfony XML Routing Schema, version 1.0
11       Authors: Fabien Potencier, Tobias Schultze
12
13       This scheme defines the elements and attributes that can be used to define
14       routes. A route maps an HTTP request to a set of configuration variables.
15     ]]></xsd:documentation>
16   </xsd:annotation>
17
18   <xsd:element name="routes" type="routes" />
19
20   <xsd:complexType name="routes">
21     <xsd:choice minOccurs="0" maxOccurs="unbounded">
22       <xsd:element name="import" type="import" />
23       <xsd:element name="route" type="route" />
24     </xsd:choice>
25   </xsd:complexType>
26
27   <xsd:group name="configs">
28     <xsd:choice>
29       <xsd:element name="default" nillable="true" type="default" />
30       <xsd:element name="requirement" type="element" />
31       <xsd:element name="option" type="element" />
32       <xsd:element name="condition" type="xsd:string" />
33     </xsd:choice>
34   </xsd:group>
35
36   <xsd:complexType name="route">
37     <xsd:group ref="configs" minOccurs="0" maxOccurs="unbounded" />
38
39     <xsd:attribute name="id" type="xsd:string" use="required" />
40     <xsd:attribute name="path" type="xsd:string" use="required" />
41     <xsd:attribute name="host" type="xsd:string" />
42     <xsd:attribute name="schemes" type="xsd:string" />
43     <xsd:attribute name="methods" type="xsd:string" />
44   </xsd:complexType>
45
46   <xsd:complexType name="import">
47     <xsd:group ref="configs" minOccurs="0" maxOccurs="unbounded" />
48
49     <xsd:attribute name="resource" type="xsd:string" use="required" />
50     <xsd:attribute name="type" type="xsd:string" />
51     <xsd:attribute name="prefix" type="xsd:string" />
52     <xsd:attribute name="host" type="xsd:string" />
53     <xsd:attribute name="schemes" type="xsd:string" />
54     <xsd:attribute name="methods" type="xsd:string" />
55   </xsd:complexType>
56
57   <xsd:complexType name="default" mixed="true">
58     <xsd:choice minOccurs="0" maxOccurs="1">
59       <xsd:element name="bool" type="xsd:boolean" />
60       <xsd:element name="int" type="xsd:integer" />
61       <xsd:element name="float" type="xsd:float" />
62       <xsd:element name="string" type="xsd:string" />
63       <xsd:element name="list" type="list" />
64       <xsd:element name="map" type="map" />
65     </xsd:choice>
66     <xsd:attribute name="key" type="xsd:string" use="required" />
67   </xsd:complexType>
68
69   <xsd:complexType name="element">
70     <xsd:simpleContent>
71       <xsd:extension base="xsd:string">
72         <xsd:attribute name="key" type="xsd:string" use="required" />
73       </xsd:extension>
74     </xsd:simpleContent>
75   </xsd:complexType>
76
77   <xsd:complexType name="list">
78     <xsd:choice minOccurs="0" maxOccurs="unbounded">
79       <xsd:element name="bool" nillable="true" type="xsd:boolean" />
80       <xsd:element name="int" nillable="true" type="xsd:integer" />
81       <xsd:element name="float" nillable="true" type="xsd:float" />
82       <xsd:element name="string" nillable="true" type="xsd:string" />
83       <xsd:element name="list" nillable="true" type="list" />
84       <xsd:element name="map" nillable="true" type="map" />
85     </xsd:choice>
86   </xsd:complexType>
87
88   <xsd:complexType name="map">
89       <xsd:choice minOccurs="0" maxOccurs="unbounded">
90           <xsd:element name="bool" nillable="true" type="map-bool-entry" />
91           <xsd:element name="int" nillable="true" type="map-int-entry" />
92           <xsd:element name="float" nillable="true" type="map-float-entry" />
93           <xsd:element name="string" nillable="true" type="map-string-entry" />
94           <xsd:element name="list" nillable="true" type="map-list-entry" />
95           <xsd:element name="map" nillable="true" type="map-map-entry" />
96       </xsd:choice>
97   </xsd:complexType>
98
99   <xsd:complexType name="map-bool-entry">
100     <xsd:simpleContent>
101       <xsd:extension base="xsd:boolean">
102         <xsd:attribute name="key" type="xsd:string" use="required" />
103       </xsd:extension>
104     </xsd:simpleContent>
105   </xsd:complexType>
106
107   <xsd:complexType name="map-int-entry">
108     <xsd:simpleContent>
109       <xsd:extension base="xsd:integer">
110         <xsd:attribute name="key" type="xsd:string" use="required" />
111       </xsd:extension>
112     </xsd:simpleContent>
113   </xsd:complexType>
114
115   <xsd:complexType name="map-float-entry">
116     <xsd:simpleContent>
117       <xsd:extension base="xsd:float">
118         <xsd:attribute name="key" type="xsd:string" use="required" />
119       </xsd:extension>
120     </xsd:simpleContent>
121   </xsd:complexType>
122
123   <xsd:complexType name="map-string-entry">
124     <xsd:simpleContent>
125       <xsd:extension base="xsd:string">
126         <xsd:attribute name="key" type="xsd:string" use="required" />
127       </xsd:extension>
128     </xsd:simpleContent>
129   </xsd:complexType>
130
131   <xsd:complexType name="map-list-entry">
132     <xsd:complexContent>
133       <xsd:extension base="list">
134         <xsd:attribute name="key" type="xsd:string" use="required" />
135       </xsd:extension>
136     </xsd:complexContent>
137   </xsd:complexType>
138
139   <xsd:complexType name="map-map-entry">
140     <xsd:complexContent>
141       <xsd:extension base="map">
142         <xsd:attribute name="key" type="xsd:string" use="required" />
143       </xsd:extension>
144     </xsd:complexContent>
145   </xsd:complexType>
146 </xsd:schema>