|
16 | 16 | <xs:complexType>
|
17 | 17 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
18 | 18 | <xs:element name="document" type="odm:document" minOccurs="0" maxOccurs="unbounded" />
|
19 |
| - <xs:element name="embedded-document" type="odm:document" minOccurs="0" maxOccurs="unbounded" /> |
20 |
| - <xs:element name="mapped-superclass" type="odm:document" minOccurs="0" maxOccurs="unbounded" /> |
21 |
| - <xs:element name="query-result-document" type="odm:document" minOccurs="0" maxOccurs="unbounded" /> |
| 19 | + <xs:element name="embedded-document" type="odm:embedded-document" minOccurs="0" maxOccurs="unbounded" /> |
| 20 | + <xs:element name="mapped-superclass" type="odm:mapped-superclass" minOccurs="0" maxOccurs="unbounded" /> |
| 21 | + <xs:element name="query-result-document" type="odm:query-result-document" minOccurs="0" maxOccurs="unbounded" /> |
22 | 22 | <xs:element name="view" type="odm:view" minOccurs="0" maxOccurs="unbounded" />
|
23 | 23 | <xs:element name="gridfs-file" type="odm:gridfs-file" minOccurs="0" maxOccurs="unbounded" />
|
24 | 24 | </xs:choice>
|
25 | 25 | </xs:complexType>
|
26 | 26 | </xs:element>
|
27 | 27 |
|
28 | 28 | <xs:complexType name="embedded-document">
|
29 |
| - <xs:attribute name="name" type="xs:NMTOKEN" /> |
| 29 | + <xs:choice minOccurs="0" maxOccurs="unbounded"> |
| 30 | + <xs:element name="id" type="odm:id" minOccurs="0" /> |
| 31 | + <xs:element name="field" type="odm:field" minOccurs="0" maxOccurs="unbounded" /> |
| 32 | + <xs:element name="embed-one" type="odm:embed-one" minOccurs="0" maxOccurs="unbounded" /> |
| 33 | + <xs:element name="embed-many" type="odm:embed-many" minOccurs="0" maxOccurs="unbounded" /> |
| 34 | + <xs:element name="reference-one" type="odm:reference-one" minOccurs="0" maxOccurs="unbounded" /> |
| 35 | + <xs:element name="reference-many" type="odm:reference-many" minOccurs="0" maxOccurs="unbounded" /> |
| 36 | + <xs:element name="discriminator-field" type="odm:discriminator-field" minOccurs="0" /> |
| 37 | + <xs:element name="discriminator-map" type="odm:discriminator-map" minOccurs="0" /> |
| 38 | + <xs:element name="default-discriminator-value" type="odm:default-discriminator-value" minOccurs="0" /> |
| 39 | + <xs:element name="lifecycle-callbacks" type="odm:lifecycle-callbacks" minOccurs="0" /> |
| 40 | + <xs:element name="also-load-methods" type="odm:also-load-methods" minOccurs="0" /> |
| 41 | + <xs:element name="indexes" type="odm:indexes" minOccurs="0" /> |
| 42 | + </xs:choice> |
| 43 | + |
| 44 | + <xs:attribute name="name" type="xs:string" /> |
| 45 | + <xs:attribute name="inheritance-type" type="odm:inheritance-type" /> |
30 | 46 | </xs:complexType>
|
31 | 47 |
|
32 | 48 | <xs:complexType name="mapped-superclass">
|
33 |
| - <xs:attribute name="name" type="xs:NMTOKEN" /> |
| 49 | + <xs:choice minOccurs="0" maxOccurs="unbounded"> |
| 50 | + <xs:element name="id" type="odm:id" minOccurs="0" /> |
| 51 | + <xs:element name="field" type="odm:field" minOccurs="0" maxOccurs="unbounded" /> |
| 52 | + <xs:element name="embed-one" type="odm:embed-one" minOccurs="0" maxOccurs="unbounded" /> |
| 53 | + <xs:element name="embed-many" type="odm:embed-many" minOccurs="0" maxOccurs="unbounded" /> |
| 54 | + <xs:element name="reference-one" type="odm:reference-one" minOccurs="0" maxOccurs="unbounded" /> |
| 55 | + <xs:element name="reference-many" type="odm:reference-many" minOccurs="0" maxOccurs="unbounded" /> |
| 56 | + <xs:element name="discriminator-field" type="odm:discriminator-field" minOccurs="0" /> |
| 57 | + <xs:element name="discriminator-map" type="odm:discriminator-map" minOccurs="0" /> |
| 58 | + <xs:element name="default-discriminator-value" type="odm:default-discriminator-value" minOccurs="0" /> |
| 59 | + <xs:element name="lifecycle-callbacks" type="odm:lifecycle-callbacks" minOccurs="0" /> |
| 60 | + <xs:element name="also-load-methods" type="odm:also-load-methods" minOccurs="0" /> |
| 61 | + <xs:element name="indexes" type="odm:indexes" minOccurs="0" /> |
| 62 | + </xs:choice> |
| 63 | + |
| 64 | + <xs:attribute name="db" type="xs:NMTOKEN" /> |
| 65 | + <xs:attribute name="name" type="xs:string" /> |
| 66 | + <xs:attribute name="write-concern" type="xs:string" /> |
| 67 | + <xs:attribute name="collection" type="xs:NMTOKEN" /> |
| 68 | + <xs:attribute name="capped-collection" type="xs:boolean" /> |
| 69 | + <xs:attribute name="capped-collection-size" type="xs:integer" /> |
| 70 | + <xs:attribute name="capped-collection-max" type="xs:integer" /> |
| 71 | + <xs:attribute name="repository-class" type="xs:string" /> |
| 72 | + <xs:attribute name="inheritance-type" type="odm:inheritance-type" /> |
| 73 | + <xs:attribute name="change-tracking-policy" type="odm:change-tracking-policy" /> |
| 74 | + <xs:attribute name="read-only" type="xs:boolean" /> |
34 | 75 | </xs:complexType>
|
35 | 76 |
|
36 | 77 | <xs:complexType name="query-result-document">
|
37 |
| - <xs:attribute name="name" type="xs:NMTOKEN" /> |
| 78 | + <xs:choice minOccurs="0" maxOccurs="unbounded"> |
| 79 | + <xs:element name="id" type="odm:id" minOccurs="0" /> |
| 80 | + <xs:element name="field" type="odm:field" minOccurs="0" maxOccurs="unbounded" /> |
| 81 | + <xs:element name="embed-one" type="odm:embed-one" minOccurs="0" maxOccurs="unbounded" /> |
| 82 | + <xs:element name="embed-many" type="odm:embed-many" minOccurs="0" maxOccurs="unbounded" /> |
| 83 | + <xs:element name="reference-one" type="odm:reference-one" minOccurs="0" maxOccurs="unbounded" /> |
| 84 | + <xs:element name="reference-many" type="odm:reference-many" minOccurs="0" maxOccurs="unbounded" /> |
| 85 | + <xs:element name="discriminator-field" type="odm:discriminator-field" minOccurs="0" /> |
| 86 | + <xs:element name="discriminator-map" type="odm:discriminator-map" minOccurs="0" /> |
| 87 | + <xs:element name="default-discriminator-value" type="odm:default-discriminator-value" minOccurs="0" /> |
| 88 | + <xs:element name="lifecycle-callbacks" type="odm:lifecycle-callbacks" minOccurs="0" /> |
| 89 | + <xs:element name="also-load-methods" type="odm:also-load-methods" minOccurs="0" /> |
| 90 | + </xs:choice> |
| 91 | + |
| 92 | + <xs:attribute name="name" type="xs:string" /> |
38 | 93 | </xs:complexType>
|
39 | 94 |
|
40 | 95 | <xs:complexType name="view">
|
|
0 commit comments