Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 520 lines (465 sloc) 22.578 kb
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
4f64490 [2.0] Adjusted mapping file.
romanb authored
4 targetNamespace="http://doctrine-project.org/schemas/orm/doctrine-mapping"
5 xmlns:orm="http://doctrine-project.org/schemas/orm/doctrine-mapping"
969480f [2.0] Adjusted mapping file.
romanb authored
6 elementFormDefault="qualified">
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
7
7c5c62f [2.0] testing post-commit hook
romanb authored
8 <xs:annotation>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
9 <xs:documentation><![CDATA[
10 This is the XML Schema for the object/relational
4f64490 [2.0] Adjusted mapping file.
romanb authored
11 mapping file used by the Doctrine ORM.
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
12 ]]></xs:documentation>
13 </xs:annotation>
14
15 <xs:element name="doctrine-mapping">
16 <xs:complexType>
17 <xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
18 <xs:element name="mapped-superclass" type="orm:mapped-superclass" minOccurs="0" maxOccurs="unbounded" />
19 <xs:element name="entity" type="orm:entity" minOccurs="0" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
20 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
21 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
22 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
23 </xs:complexType>
24 </xs:element>
25
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
26 <xs:complexType name="emptyType">
27 <xs:sequence>
28 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
29 </xs:sequence>
30 <xs:anyAttribute namespace="##other"/>
31 </xs:complexType>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
32
33 <xs:complexType name="cascade-type">
34 <xs:sequence>
35 <xs:element name="cascade-all" type="orm:emptyType" minOccurs="0"/>
28ca2ac [2.0] Refined implementation and semantics of the merge and detach op…
romanb authored
36 <xs:element name="cascade-persist" type="orm:emptyType" minOccurs="0"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
37 <xs:element name="cascade-merge" type="orm:emptyType" minOccurs="0"/>
28ca2ac [2.0] Refined implementation and semantics of the merge and detach op…
romanb authored
38 <xs:element name="cascade-remove" type="orm:emptyType" minOccurs="0"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
39 <xs:element name="cascade-refresh" type="orm:emptyType" minOccurs="0"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
40 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
41 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
42 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
43 </xs:complexType>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
44
8523648 [2.0] Fixed lifecycle callback mapping.
romanb authored
45 <xs:simpleType name="lifecycle-callback-type">
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
46 <xs:restriction base="xs:token">
47 <xs:enumeration value="prePersist"/>
48 <xs:enumeration value="postPersist"/>
49 <xs:enumeration value="preUpdate"/>
50 <xs:enumeration value="postUpdate"/>
51 <xs:enumeration value="preRemove"/>
52 <xs:enumeration value="postRemove"/>
53 <xs:enumeration value="postLoad"/>
54 </xs:restriction>
55 </xs:simpleType>
56
8523648 [2.0] Fixed lifecycle callback mapping.
romanb authored
57 <xs:complexType name="lifecycle-callback">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
58 <xs:sequence>
59 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
60 </xs:sequence>
8523648 [2.0] Fixed lifecycle callback mapping.
romanb authored
61 <xs:attribute name="type" type="orm:lifecycle-callback-type" use="required" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
62 <xs:attribute name="method" type="xs:NMTOKEN" use="required" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
63 <xs:anyAttribute namespace="##other"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
64 </xs:complexType>
65
8523648 [2.0] Fixed lifecycle callback mapping.
romanb authored
66 <xs:complexType name="lifecycle-callbacks">
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
67 <xs:sequence>
8523648 [2.0] Fixed lifecycle callback mapping.
romanb authored
68 <xs:element name="lifecycle-callback" type="orm:lifecycle-callback" minOccurs="1" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
69 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
70 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
71 <xs:anyAttribute namespace="##other"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
72 </xs:complexType>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
73
a31289b @guilhermeblanco Added support to NamedQueries through ClassMetadata.
guilhermeblanco authored
74 <xs:complexType name="named-query">
75 <xs:attribute name="name" type="xs:string" use="required" />
76 <xs:attribute name="query" type="xs:string" use="required" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
77 <xs:anyAttribute namespace="##other"/>
a31289b @guilhermeblanco Added support to NamedQueries through ClassMetadata.
guilhermeblanco authored
78 </xs:complexType>
79
80 <xs:complexType name="named-queries">
81 <xs:sequence>
82 <xs:element name="named-query" type="orm:named-query" minOccurs="1" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
83 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
a31289b @guilhermeblanco Added support to NamedQueries through ClassMetadata.
guilhermeblanco authored
84 </xs:sequence>
85 </xs:complexType>
86
ad9d590 @FabioBatSilva added tags on doctrine-mapping.xsd
FabioBatSilva authored
87 <xs:complexType name="named-native-query">
88 <xs:attribute name="name" type="xs:string" use="required" />
89 <xs:attribute name="query" type="xs:string" use="required"/>
90 <xs:attribute name="result-class" type="xs:string" />
91 <xs:attribute name="result-set-mapping" type="xs:string" />
92 </xs:complexType>
93
94 <xs:complexType name="named-native-queries">
95 <xs:sequence>
96 <xs:element name="named-native-query" type="orm:named-native-query" minOccurs="1" maxOccurs="unbounded" />
97 <xs:any minOccurs="1" maxOccurs="unbounded" namespace="##other"/>
98 </xs:sequence>
99 </xs:complexType>
100
101 <xs:complexType name="column-result">
102 <xs:attribute name="name" type="xs:string" use="required" />
103 </xs:complexType>
104
105 <xs:complexType name="field-result">
106 <xs:attribute name="name" type="xs:string" use="required" />
107 <xs:attribute name="column" type="xs:string" />
108 </xs:complexType>
109
110 <xs:complexType name="entity-result">
111 <xs:sequence>
112 <xs:element name="field-result" type="orm:field-result" minOccurs="0" maxOccurs="unbounded" />
113 </xs:sequence>
114 <xs:attribute name="entity-class" type="xs:string" use="required" />
115 </xs:complexType>
116
117 <xs:complexType name="sql-result-set-mapping">
118 <xs:sequence>
119 <xs:element name="entity-result" type="orm:entity-result" minOccurs="0" maxOccurs="unbounded" />
120 <xs:element name="column-result" type="orm:column-result" minOccurs="0" maxOccurs="unbounded" />
121 <xs:any minOccurs="1" maxOccurs="unbounded" namespace="##other"/>
122 </xs:sequence>
123 </xs:complexType>
124
125 <xs:complexType name="sql-result-set-mappings">
126 <xs:sequence>
127 <xs:element name="sql-result-set-mapping" type="orm:sql-result-set-mapping" minOccurs="1" maxOccurs="unbounded" />
128 <xs:any minOccurs="1" maxOccurs="unbounded" namespace="##other"/>
129 </xs:sequence>
130 </xs:complexType>
131
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
132 <xs:complexType name="entity">
133 <xs:sequence>
d68fcd8 @jsor Implement custom options on table level
jsor authored
134 <xs:element name="options" type="orm:options" minOccurs="0" />
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
135 <xs:element name="indexes" type="orm:indexes" minOccurs="0"/>
136 <xs:element name="unique-constraints" type="orm:unique-constraints" minOccurs="0"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
137 <xs:element name="discriminator-column" type="orm:discriminator-column" minOccurs="0"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
138 <xs:element name="discriminator-map" type="orm:discriminator-map" minOccurs="0"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
139 <xs:element name="lifecycle-callbacks" type="orm:lifecycle-callbacks" minOccurs="0" maxOccurs="1" />
a31289b @guilhermeblanco Added support to NamedQueries through ClassMetadata.
guilhermeblanco authored
140 <xs:element name="named-queries" type="orm:named-queries" minOccurs="0" maxOccurs="1" />
ad9d590 @FabioBatSilva added tags on doctrine-mapping.xsd
FabioBatSilva authored
141 <xs:element name="named-native-queries" type="orm:named-native-queries" minOccurs="0" maxOccurs="1" />
b83945d @beberlei DDC-1333 - Fix bug in xsd
beberlei authored
142 <xs:element name="id" type="orm:id" minOccurs="0" maxOccurs="unbounded" />
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
143 <xs:element name="field" type="orm:field" minOccurs="0" maxOccurs="unbounded"/>
144 <xs:element name="one-to-one" type="orm:one-to-one" minOccurs="0" maxOccurs="unbounded"/>
145 <xs:element name="one-to-many" type="orm:one-to-many" minOccurs="0" maxOccurs="unbounded" />
674e9be [2.0][DDC-242][DDC-243] Fixed.
romanb authored
146 <xs:element name="many-to-one" type="orm:many-to-one" minOccurs="0" maxOccurs="unbounded" />
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
147 <xs:element name="many-to-many" type="orm:many-to-many" minOccurs="0" maxOccurs="unbounded" />
2f67750 @FabioBatSilva added tags on doctrine-mapping.xsd
FabioBatSilva authored
148 <xs:element name="association-overrides" type="orm:association-overrides" minOccurs="0" maxOccurs="unbounded" />
85790f0 @FabioBatSilva support for attribute override
FabioBatSilva authored
149 <xs:element name="attribute-overrides" type="orm:attribute-overrides" minOccurs="0" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
150 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
151 </xs:sequence>
152 <xs:attribute name="name" type="xs:string" use="required" />
153 <xs:attribute name="table" type="xs:NMTOKEN" />
154 <xs:attribute name="schema" type="xs:NMTOKEN" />
988d229 @beberlei Fix XSD Schema
beberlei authored
155 <xs:attribute name="repository-class" type="xs:string"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
156 <xs:attribute name="inheritance-type" type="orm:inheritance-type"/>
bd28cb1 @beberlei DDC-645 - Demoted <change-tracking-policy /> to an attribute on <enti…
beberlei authored
157 <xs:attribute name="change-tracking-policy" type="orm:change-tracking-policy" />
34ad308 @beberlei [DDC-692] Add respective metadata mapping possiblities for read-only …
beberlei authored
158 <xs:attribute name="read-only" type="xs:boolean" default="false" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
159 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
160 </xs:complexType>
161
d68fcd8 @jsor Implement custom options on table level
jsor authored
162 <xs:complexType name="option" mixed="true">
163 <xs:sequence minOccurs="0" maxOccurs="unbounded">
164 <xs:element name="option" type="orm:option"/>
165 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
166 </xs:sequence>
167 <xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
168 <xs:anyAttribute namespace="##other"/>
169 </xs:complexType>
170
171 <xs:complexType name="options">
172 <xs:sequence>
173 <xs:element name="option" type="orm:option" minOccurs="0" maxOccurs="unbounded"/>
174 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
175 </xs:sequence>
176 <xs:anyAttribute namespace="##other"/>
177 </xs:complexType>
178
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
179 <xs:complexType name="mapped-superclass" >
180 <xs:complexContent>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
181 <xs:extension base="orm:entity">
182 <xs:sequence>
183 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
184 </xs:sequence>
185 <xs:anyAttribute namespace="##other"/>
186 </xs:extension>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
187 </xs:complexContent>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
188 </xs:complexType>
bd28cb1 @beberlei DDC-645 - Demoted <change-tracking-policy /> to an attribute on <enti…
beberlei authored
189
190 <xs:simpleType name="change-tracking-policy">
191 <xs:restriction base="xs:token">
192 <xs:enumeration value="DEFERRED_IMPLICIT"/>
193 <xs:enumeration value="DEFERRED_EXPLICIT"/>
194 <xs:enumeration value="NOTIFY"/>
195 </xs:restriction>
196 </xs:simpleType>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
197
198 <xs:simpleType name="inheritance-type">
6e5a506 [2.0] Converted constant values from strings to integers.
romanb authored
199 <xs:restriction base="xs:token">
200 <xs:enumeration value="SINGLE_TABLE"/>
201 <xs:enumeration value="JOINED"/>
202 <xs:enumeration value="TABLE_PER_CLASS"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
203 </xs:restriction>
204 </xs:simpleType>
6e5a506 [2.0] Converted constant values from strings to integers.
romanb authored
205
206 <xs:simpleType name="generator-strategy">
207 <xs:restriction base="xs:token">
208 <xs:enumeration value="TABLE"/>
209 <xs:enumeration value="SEQUENCE"/>
210 <xs:enumeration value="IDENTITY"/>
211 <xs:enumeration value="AUTO"/>
23d0048 @beberlei [DDC-451] Adjust doctrine-mapping.xsd for new UUID generator
beberlei authored
212 <xs:enumeration value="UUID"/>
2b97f79 @velovint Add support for custom ID generator in XML
velovint authored
213 <xs:enumeration value="CUSTOM" />
6e5a506 [2.0] Converted constant values from strings to integers.
romanb authored
214 </xs:restriction>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
215 </xs:simpleType>
216
217 <xs:simpleType name="fk-action">
218 <xs:restriction base="xs:token">
219 <xs:enumeration value="CASCADE"/>
220 <xs:enumeration value="RESTRICT"/>
90725fa @alanbem fixed wrong on-delete XML Schema mapping
alanbem authored
221 <xs:enumeration value="SET NULL"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
222 </xs:restriction>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
223 </xs:simpleType>
224
225 <xs:simpleType name="fetch-type">
226 <xs:restriction base="xs:token">
227 <xs:enumeration value="EAGER"/>
228 <xs:enumeration value="LAZY"/>
7f3e90e @r1pp3rj4ck Fixed fetch mapping in xsd
r1pp3rj4ck authored
229 <xs:enumeration value="EXTRA_LAZY"/>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
230 </xs:restriction>
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
231 </xs:simpleType>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
232
233 <xs:complexType name="field">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
234 <xs:sequence>
fac820f @jsor Complete custom column option implementation
jsor authored
235 <xs:element name="options" type="orm:options" minOccurs="0" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
236 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
237 </xs:sequence>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
238 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
239 <xs:attribute name="type" type="xs:NMTOKEN" default="string" />
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
240 <xs:attribute name="column" type="xs:NMTOKEN" />
241 <xs:attribute name="length" type="xs:NMTOKEN" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
242 <xs:attribute name="unique" type="xs:boolean" default="false" />
243 <xs:attribute name="nullable" type="xs:boolean" default="false" />
244 <xs:attribute name="version" type="xs:boolean" />
ee9aa00 [2.0] DDC-271 - Add columnDefinition for Join-Column in Annotation, X…
beberlei authored
245 <xs:attribute name="column-definition" type="xs:string" />
f2aacf4 @beberlei DDC-628 - Fix missing precision and scale attributes on doctrine-mapp…
beberlei authored
246 <xs:attribute name="precision" type="xs:integer" use="optional" />
247 <xs:attribute name="scale" type="xs:integer" use="optional" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
248 <xs:anyAttribute namespace="##other"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
249 </xs:complexType>
250
251 <xs:complexType name="discriminator-column">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
252 <xs:sequence>
253 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
254 </xs:sequence>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
255 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
5d01123 @FabioBatSilva Fix DDC-807, DDC-553
FabioBatSilva authored
256 <xs:attribute name="type" type="xs:NMTOKEN"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
257 <xs:attribute name="field-name" type="xs:NMTOKEN" />
258 <xs:attribute name="length" type="xs:NMTOKEN" />
5d01123 @FabioBatSilva Fix DDC-807, DDC-553
FabioBatSilva authored
259 <xs:attribute name="column-definition" type="xs:string" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
260 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
261 </xs:complexType>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
262
263 <xs:complexType name="unique-constraint">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
264 <xs:sequence>
265 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
266 </xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
267 <xs:attribute name="name" type="xs:NMTOKEN" use="optional"/>
f2aacf4 @beberlei DDC-628 - Fix missing precision and scale attributes on doctrine-mapp…
beberlei authored
268 <xs:attribute name="columns" type="xs:string" use="required"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
269 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
270 </xs:complexType>
271
272 <xs:complexType name="unique-constraints">
273 <xs:sequence>
274 <xs:element name="unique-constraint" type="orm:unique-constraint" minOccurs="1" maxOccurs="unbounded"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
275 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
276 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
277 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
278 </xs:complexType>
279
280 <xs:complexType name="index">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
281 <xs:sequence>
282 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
283 </xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
284 <xs:attribute name="name" type="xs:NMTOKEN" use="optional"/>
05bf847 @pkruithof The `columns` attribute of the `index` type was `xs:NMTOKENS`, theref…
pkruithof authored
285 <xs:attribute name="columns" type="xs:string" use="required"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
286 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
287 </xs:complexType>
288
289 <xs:complexType name="indexes">
290 <xs:sequence>
291 <xs:element name="index" type="orm:index" minOccurs="1" maxOccurs="unbounded"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
292 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
293 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
294 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
295 </xs:complexType>
296
297 <xs:complexType name="discriminator-mapping">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
298 <xs:sequence>
299 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
300 </xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
301 <xs:attribute name="value" type="xs:NMTOKEN" use="required"/>
3be6218 @beberlei DDC-1208 - Allow namespace separator in <discriminator-mapping />
beberlei authored
302 <xs:attribute name="class" type="xs:string" use="required"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
303 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
304 </xs:complexType>
305
306 <xs:complexType name="discriminator-map">
307 <xs:sequence>
308 <xs:element name="discriminator-mapping" type="orm:discriminator-mapping" minOccurs="1" maxOccurs="unbounded"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
309 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
310 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
311 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
312 </xs:complexType>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
313
314 <xs:complexType name="generator">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
315 <xs:sequence>
316 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
317 </xs:sequence>
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
318 <xs:attribute name="strategy" type="orm:generator-strategy" use="optional" default="AUTO" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
319 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
320 </xs:complexType>
321
322 <xs:complexType name="id">
323 <xs:sequence>
324 <xs:element name="generator" type="orm:generator" minOccurs="0" />
987fbee @beberlei DDC-537 Add missing sequence-generator tag definition in doctrine-map…
beberlei authored
325 <xs:element name="sequence-generator" type="orm:sequence-generator" minOccurs="0" maxOccurs="1" />
b72d150 @velovint Rename custom-generator to custom-id-generator in XML mappint to matc…
velovint authored
326 <xs:element name="custom-id-generator" type="orm:custom-id-generator" minOccurs="0" maxOccurs="1" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
327 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
328 </xs:sequence>
329 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
2a00501 @beberlei DDC-117 - Add XML and YML Driver support for associated identifier.
beberlei authored
330 <xs:attribute name="type" type="xs:NMTOKEN" />
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
331 <xs:attribute name="column" type="xs:NMTOKEN" />
2a00501 @beberlei DDC-117 - Add XML and YML Driver support for associated identifier.
beberlei authored
332 <xs:attribute name="association-key" type="xs:boolean" default="false" />
5d01123 @FabioBatSilva Fix DDC-807, DDC-553
FabioBatSilva authored
333 <xs:attribute name="column-definition" type="xs:string" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
334 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
335 </xs:complexType>
336
987fbee @beberlei DDC-537 Add missing sequence-generator tag definition in doctrine-map…
beberlei authored
337 <xs:complexType name="sequence-generator">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
338 <xs:sequence>
339 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
340 </xs:sequence>
987fbee @beberlei DDC-537 Add missing sequence-generator tag definition in doctrine-map…
beberlei authored
341 <xs:attribute name="sequence-name" type="xs:NMTOKEN" use="required" />
342 <xs:attribute name="allocation-size" type="xs:integer" use="optional" default="1" />
343 <xs:attribute name="initial-value" type="xs:integer" use="optional" default="1" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
344 <xs:anyAttribute namespace="##other"/>
987fbee @beberlei DDC-537 Add missing sequence-generator tag definition in doctrine-map…
beberlei authored
345 </xs:complexType>
346
b72d150 @velovint Rename custom-generator to custom-id-generator in XML mappint to matc…
velovint authored
347 <xs:complexType name="custom-id-generator">
2b97f79 @velovint Add support for custom ID generator in XML
velovint authored
348 <xs:sequence>
53ecedf @velovint Remove support to pass arguments to custom ID generator's constructor
velovint authored
349 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
2b97f79 @velovint Add support for custom ID generator in XML
velovint authored
350 </xs:sequence>
351 <xs:attribute name="class" type="xs:NMTOKEN" use="required" />
352 </xs:complexType>
987fbee @beberlei DDC-537 Add missing sequence-generator tag definition in doctrine-map…
beberlei authored
353
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
354 <xs:complexType name="inverse-join-columns">
355 <xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
356 <xs:element name="join-column" type="orm:join-column" minOccurs="1" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
357 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
358 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
359 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
360 </xs:complexType>
361
362 <xs:complexType name="join-column">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
363 <xs:sequence>
364 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
365 </xs:sequence>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
366 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
367 <xs:attribute name="referenced-column-name" type="xs:NMTOKEN" use="optional" default="id" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
368 <xs:attribute name="unique" type="xs:boolean" default="false" />
369 <xs:attribute name="nullable" type="xs:boolean" default="true" />
370 <xs:attribute name="on-delete" type="orm:fk-action" />
371 <xs:attribute name="on-update" type="orm:fk-action" />
ee9aa00 [2.0] DDC-271 - Add columnDefinition for Join-Column in Annotation, X…
beberlei authored
372 <xs:attribute name="column-definition" type="xs:string" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
373 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
374 </xs:complexType>
375
376 <xs:complexType name="join-columns">
377 <xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
378 <xs:element name="join-column" type="orm:join-column" minOccurs="1" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
379 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
380 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
381 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
382 </xs:complexType>
383
384 <xs:complexType name="join-table">
385 <xs:sequence>
386 <xs:element name="join-columns" type="orm:join-columns" />
387 <xs:element name="inverse-join-columns" type="orm:join-columns" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
388 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
389 </xs:sequence>
390 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
391 <xs:attribute name="schema" type="xs:NMTOKEN" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
392 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
393 </xs:complexType>
394
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
395 <xs:complexType name="order-by">
396 <xs:sequence>
397 <xs:element name="order-by-field" type="orm:order-by-field" minOccurs="1" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
398 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
399 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
400 <xs:anyAttribute namespace="##other"/>
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
401 </xs:complexType>
402
403 <xs:complexType name="order-by-field">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
404 <xs:sequence>
405 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
406 </xs:sequence>
407 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
408 <xs:attribute name="direction" type="orm:order-by-direction" default="ASC" />
409 <xs:anyAttribute namespace="##other"/>
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
410 </xs:complexType>
411
457d832 [2.0] DDC-195 - Updated XSD Schema
beberlei authored
412 <xs:simpleType name="order-by-direction">
413 <xs:restriction base="xs:token">
414 <xs:enumeration value="ASC"/>
415 <xs:enumeration value="DESC"/>
416 </xs:restriction>
417 </xs:simpleType>
418
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
419 <xs:complexType name="many-to-many">
420 <xs:sequence>
421 <xs:element name="cascade" type="orm:cascade-type" minOccurs="0" />
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
422 <xs:element name="join-table" type="orm:join-table" minOccurs="0" />
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
423 <xs:element name="order-by" type="orm:order-by" minOccurs="0" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
424 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
425 </xs:sequence>
988d229 @beberlei Fix XSD Schema
beberlei authored
426 <xs:attribute name="target-entity" type="xs:string" use="required" />
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
427 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
674e9be [2.0][DDC-242][DDC-243] Fixed.
romanb authored
428 <xs:attribute name="mapped-by" type="xs:NMTOKEN" />
da2dee0 @beberlei [DDC-250] Small typo fix in xsd
beberlei authored
429 <xs:attribute name="index-by" type="xs:NMTOKEN" />
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
430 <xs:attribute name="inversed-by" type="xs:NMTOKEN" />
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
431 <xs:attribute name="fetch" type="orm:fetch-type" default="LAZY" />
68436fe @beberlei [DDC-1654] Add support for orphanRemoval on ManyToMany associations. …
beberlei authored
432 <xs:attribute name="orphan-removal" type="xs:boolean" default="false" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
433 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
434 </xs:complexType>
435
436 <xs:complexType name="one-to-many">
437 <xs:sequence>
438 <xs:element name="cascade" type="orm:cascade-type" minOccurs="0" />
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
439 <xs:element name="order-by" type="orm:order-by" minOccurs="0" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
440 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
441 </xs:sequence>
988d229 @beberlei Fix XSD Schema
beberlei authored
442 <xs:attribute name="target-entity" type="xs:string" use="required" />
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
443 <xs:attribute name="mapped-by" type="xs:NMTOKEN" use="required" />
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
444 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
da2dee0 @beberlei [DDC-250] Small typo fix in xsd
beberlei authored
445 <xs:attribute name="index-by" type="xs:NMTOKEN" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
446 <xs:attribute name="orphan-removal" type="xs:boolean" default="false" />
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
447 <xs:attribute name="fetch" type="orm:fetch-type" default="LAZY" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
448 <xs:anyAttribute namespace="##other"/>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
449 </xs:complexType>
450
451 <xs:complexType name="many-to-one">
452 <xs:sequence>
453 <xs:element name="cascade" type="orm:cascade-type" minOccurs="0" />
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
454 <xs:choice minOccurs="0" maxOccurs="1">
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
455 <xs:element name="join-column" type="orm:join-column"/>
456 <xs:element name="join-columns" type="orm:join-columns"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
457 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
458 </xs:choice>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
459 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
460 </xs:sequence>
988d229 @beberlei Fix XSD Schema
beberlei authored
461 <xs:attribute name="target-entity" type="xs:string" use="required" />
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
462 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
463 <xs:attribute name="orphan-removal" type="xs:boolean" default="false" />
464 <xs:attribute name="fetch" type="orm:fetch-type" default="LAZY" />
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
465 <xs:attribute name="inversed-by" type="xs:NMTOKEN" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
466 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
467 </xs:complexType>
468
469 <xs:complexType name="one-to-one">
470 <xs:sequence>
471 <xs:element name="cascade" type="orm:cascade-type" minOccurs="0" />
472 <xs:choice minOccurs="0" maxOccurs="1">
473 <xs:element name="join-column" type="orm:join-column"/>
474 <xs:element name="join-columns" type="orm:join-columns"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
475 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
476 </xs:choice>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
477 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
478 </xs:sequence>
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
479 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
988d229 @beberlei Fix XSD Schema
beberlei authored
480 <xs:attribute name="target-entity" type="xs:string" use="required" />
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
481 <xs:attribute name="mapped-by" type="xs:NMTOKEN" />
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
482 <xs:attribute name="inversed-by" type="xs:NMTOKEN" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
483 <xs:attribute name="orphan-removal" type="xs:boolean" default="false" />
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
484 <xs:attribute name="fetch" type="orm:fetch-type" default="LAZY" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
485 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
486 </xs:complexType>
487
2f67750 @FabioBatSilva added tags on doctrine-mapping.xsd
FabioBatSilva authored
488 <xs:complexType name="association-overrides">
489 <xs:sequence>
490 <xs:element name="association-override" type="orm:association-override" minOccurs="1" maxOccurs="unbounded" />
491 <xs:any minOccurs="1" maxOccurs="unbounded" namespace="##other"/>
492 </xs:sequence>
493 </xs:complexType>
494
495 <xs:complexType name="association-override">
496 <xs:sequence>
497 <xs:element name="join-table" type="orm:join-table" minOccurs="0" />
498 <xs:element name="join-columns" type="orm:join-columns" minOccurs="0" />
499 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
500 </xs:sequence>
501 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
502 </xs:complexType>
503
85790f0 @FabioBatSilva support for attribute override
FabioBatSilva authored
504 <xs:complexType name="attribute-overrides">
505 <xs:sequence>
506 <xs:element name="attribute-override" type="orm:attribute-override" minOccurs="1" maxOccurs="unbounded" />
507 <xs:any minOccurs="1" maxOccurs="unbounded" namespace="##other"/>
508 </xs:sequence>
509 </xs:complexType>
510
511 <xs:complexType name="attribute-override">
512 <xs:sequence>
513 <xs:element name="field" type="orm:field" minOccurs="1" />
514 <xs:any minOccurs="1" maxOccurs="unbounded" namespace="##other"/>
515 </xs:sequence>
516 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
517 </xs:complexType>
518
988d229 @beberlei Fix XSD Schema
beberlei authored
519 </xs:schema>
Something went wrong with that request. Please try again.