|
57 | 57 | </xs:annotation> |
58 | 58 | <xs:element ref="approve-components-studied-draft-v1"/> |
59 | 59 | <xs:element ref="update-components-studied-v1"/> |
60 | | - <xs:element ref="update-statuses-v1"/> |
61 | 60 | <!-- |
62 | 61 | Note for future XSD designers: When adding new types here, remember to add them |
63 | 62 | in the manifest-entry.xsd file too. |
|
200 | 199 | </xs:complexType> |
201 | 200 | </xs:element> |
202 | 201 |
|
203 | | - <xs:element name="update-statuses-v1"> |
204 | | - <xs:annotation> |
205 | | - <xs:documentation> |
206 | | - This request is usually sent by the receiving HEI when it wants to accept or |
207 | | - reject a group of nominations proposed by the sending HEI. In other words, it |
208 | | - allows to suggest that the status of the mobility should be changed from |
209 | | - "nomination" to either "nomination-verified" or "rejected". |
210 | | - |
211 | | - Additionally, receiving HEI MAY also use this API to suggest changing the |
212 | | - status to other values (e.g. notify that the mobility is cancelled), but |
213 | | - servers are not required to support such changes (if a particular change is |
214 | | - not supported for some reason, then the server will describe the fact in its |
215 | | - HTTP 400 response message). |
216 | | - </xs:documentation> |
217 | | - </xs:annotation> |
218 | | - <xs:complexType> |
219 | | - <xs:sequence> |
220 | | - <xs:element name="single-update" minOccurs="1" maxOccurs="unbounded"> |
221 | | - <xs:annotation> |
222 | | - <xs:documentation> |
223 | | - This update request may contain multiple "single updates". This is different |
224 | | - than in most of the other update types, which support only a single mobility at |
225 | | - a time. |
226 | | - |
227 | | - Servers MUST run this update in a transaction. If something is wrong with one |
228 | | - of the "single updates", then none of the updates should be saved (and the |
229 | | - error response should describe what went wrong). |
230 | | - </xs:documentation> |
231 | | - </xs:annotation> |
232 | | - <xs:complexType> |
233 | | - <xs:sequence> |
234 | | - <xs:element name="omobility-id" type="ewp:AsciiPrintableIdentifier" minOccurs="1" maxOccurs="1"> |
235 | | - <xs:annotation> |
236 | | - <xs:documentation> |
237 | | - ID of the mobility being updated. |
238 | | - |
239 | | - The sending partner of this mobility MUST match the partner provided in |
240 | | - `sending-hei-id`. |
241 | | - </xs:documentation> |
242 | | - </xs:annotation> |
243 | | - </xs:element> |
244 | | - <xs:element name="new-status" type="omobility:MobilityStatus" minOccurs="1" maxOccurs="1"> |
245 | | - <xs:annotation> |
246 | | - <xs:documentation> |
247 | | - Suggested new status for this mobility. |
248 | | - |
249 | | - If you want to accept the nomination, then you should send "nomination-verified" |
250 | | - here. If you want to reject it, then send "rejected". You MAY also allow your |
251 | | - users to send other status values, but - if you choose to do so - then you |
252 | | - SHOULD make your users aware, that in many cases such transaction will fail |
253 | | - (because most partners will use this update-type only for accepting and |
254 | | - rejecting nominations). |
255 | | - </xs:documentation> |
256 | | - </xs:annotation> |
257 | | - </xs:element> |
258 | | - <xs:element name="comment" type="ewp:MultilineString" minOccurs="0" maxOccurs="1"> |
259 | | - <xs:annotation> |
260 | | - <xs:documentation> |
261 | | - An optional comment. It is RECOMMENDED for comments to be provided only when |
262 | | - necessary (i.e. when nominations are rejected). These comments MUST be visible |
263 | | - only to the IRO members, not the students. |
264 | | - |
265 | | - Note, that this API allows for every mobility to have a different comment. |
266 | | - However, it is also okay for the clients to simply "batch copy" a single |
267 | | - comment to all mobilities being rejected. |
268 | | - |
269 | | - It is left unspecified how servers should handle these comments - e.g. they may |
270 | | - store them along their mobilities, or they may forward them to specific |
271 | | - persons, etc. |
272 | | - </xs:documentation> |
273 | | - </xs:annotation> |
274 | | - </xs:element> |
275 | | - </xs:sequence> |
276 | | - </xs:complexType> |
277 | | - </xs:element> |
278 | | - </xs:sequence> |
279 | | - </xs:complexType> |
280 | | - </xs:element> |
281 | | - |
282 | 202 | </xs:schema> |
0 commit comments