|
14 | 14 | validation constraints.
|
15 | 15 | ]]></xsd:documentation>
|
16 | 16 | </xsd:annotation>
|
17 |
| - |
| 17 | + |
18 | 18 | <xsd:element name="constraint-mapping" type="constraint-mapping" />
|
19 |
| - |
| 19 | + |
20 | 20 | <xsd:complexType name="constraint-mapping">
|
21 | 21 | <xsd:annotation>
|
22 | 22 | <xsd:documentation><![CDATA[
|
|
28 | 28 | <xsd:element name="class" type="class" maxOccurs="unbounded" />
|
29 | 29 | </xsd:sequence>
|
30 | 30 | </xsd:complexType>
|
31 |
| - |
| 31 | + |
32 | 32 | <xsd:complexType name="namespace">
|
33 | 33 | <xsd:annotation>
|
34 | 34 | <xsd:documentation><![CDATA[
|
|
41 | 41 | </xsd:extension>
|
42 | 42 | </xsd:simpleContent>
|
43 | 43 | </xsd:complexType>
|
44 |
| - |
| 44 | + |
45 | 45 | <xsd:complexType name="class">
|
46 | 46 | <xsd:annotation>
|
47 | 47 | <xsd:documentation><![CDATA[
|
48 | 48 | Contains constraints for a single class.
|
49 |
| - |
50 |
| - Nested elements may be class constraints, property and/or getter |
| 49 | +
|
| 50 | + Nested elements may be class constraints, property and/or getter |
51 | 51 | definitions.
|
52 | 52 | ]]></xsd:documentation>
|
53 | 53 | </xsd:annotation>
|
|
72 | 72 | <xsd:element name="value" type="value" minOccurs="1" maxOccurs="unbounded" />
|
73 | 73 | </xsd:sequence>
|
74 | 74 | </xsd:complexType>
|
75 |
| - |
| 75 | + |
76 | 76 | <xsd:complexType name="group-sequence-provider">
|
77 | 77 | <xsd:annotation>
|
78 | 78 | <xsd:documentation><![CDATA[
|
79 | 79 | Defines the name of the group sequence provider for a class.
|
80 | 80 | ]]></xsd:documentation>
|
81 | 81 | </xsd:annotation>
|
| 82 | + <xsd:sequence> |
| 83 | + <xsd:element name="value" type="value" minOccurs="0" maxOccurs="unbounded" /> |
| 84 | + </xsd:sequence> |
82 | 85 | </xsd:complexType>
|
83 |
| - |
| 86 | + |
84 | 87 | <xsd:complexType name="property">
|
85 | 88 | <xsd:annotation>
|
86 | 89 | <xsd:documentation><![CDATA[
|
|
93 | 96 | </xsd:sequence>
|
94 | 97 | <xsd:attribute name="name" type="xsd:string" use="required" />
|
95 | 98 | </xsd:complexType>
|
96 |
| - |
| 99 | + |
97 | 100 | <xsd:complexType name="getter">
|
98 | 101 | <xsd:annotation>
|
99 | 102 | <xsd:documentation><![CDATA[
|
|
106 | 109 | </xsd:sequence>
|
107 | 110 | <xsd:attribute name="property" type="xsd:string" use="required" />
|
108 | 111 | </xsd:complexType>
|
109 |
| - |
| 112 | + |
110 | 113 | <xsd:complexType name="constraint" mixed="true">
|
111 | 114 | <xsd:annotation>
|
112 | 115 | <xsd:documentation><![CDATA[
|
113 | 116 | Contains a constraint definition. The name of the constraint should be
|
114 | 117 | given in the "name" option.
|
115 |
| - |
116 |
| - May contain a single value, multiple "constraint" elements, |
| 118 | +
|
| 119 | + May contain a single value, multiple "constraint" elements, |
117 | 120 | multiple "value" elements or multiple "option" elements.
|
118 | 121 | ]]></xsd:documentation>
|
119 | 122 | </xsd:annotation>
|
|
122 | 125 | <xsd:element name="option" type="option" minOccurs="1" maxOccurs="unbounded" />
|
123 | 126 | <xsd:element name="value" type="value" minOccurs="1" maxOccurs="unbounded" />
|
124 | 127 | </xsd:choice>
|
125 |
| - <xsd:attribute name="name" type="xsd:string" use="required" /> |
| 128 | + <xsd:attribute name="name" type="xsd:string" use="required" /> |
126 | 129 | </xsd:complexType>
|
127 |
| - |
| 130 | + |
128 | 131 | <xsd:complexType name="option" mixed="true">
|
129 | 132 | <xsd:annotation>
|
130 | 133 | <xsd:documentation><![CDATA[
|
131 | 134 | Contains a constraint option definition. The name of the option
|
132 | 135 | should be given in the "name" option.
|
133 |
| - |
| 136 | +
|
134 | 137 | May contain a single value, multiple "value" elements or multiple
|
135 | 138 | "constraint" elements.
|
136 | 139 | ]]></xsd:documentation>
|
|
139 | 142 | <xsd:element name="constraint" type="constraint" minOccurs="1" maxOccurs="unbounded" />
|
140 | 143 | <xsd:element name="value" type="value" minOccurs="1" maxOccurs="unbounded" />
|
141 | 144 | </xsd:choice>
|
142 |
| - <xsd:attribute name="name" type="xsd:string" use="required" /> |
| 145 | + <xsd:attribute name="name" type="xsd:string" use="required" /> |
143 | 146 | </xsd:complexType>
|
144 |
| - |
| 147 | + |
145 | 148 | <xsd:complexType name="value" mixed="true">
|
146 | 149 | <xsd:annotation>
|
147 | 150 | <xsd:documentation><![CDATA[
|
148 | 151 | A value of an element.
|
149 |
| - |
| 152 | +
|
150 | 153 | May contain a single value, multiple "value" elements or multiple
|
151 | 154 | "constraint" elements.
|
152 | 155 | ]]></xsd:documentation>
|
|
155 | 158 | <xsd:element name="constraint" type="constraint" minOccurs="1" maxOccurs="unbounded" />
|
156 | 159 | <xsd:element name="value" type="value" minOccurs="1" maxOccurs="unbounded" />
|
157 | 160 | </xsd:choice>
|
158 |
| - <xsd:attribute name="key" type="xsd:string" use="optional" /> |
| 161 | + <xsd:attribute name="key" type="xsd:string" use="optional" /> |
159 | 162 | </xsd:complexType>
|
160 | 163 | </xsd:schema>
|
0 commit comments