-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathschema.xsd
56 lines (49 loc) · 2.56 KB
/
schema.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:omobility="https://github.com/erasmus-without-paper/ewp-specs-api-omobilities/blob/stable-v1/endpoints/get-response.xsd"
xmlns:imobility="https://github.com/erasmus-without-paper/ewp-specs-api-imobilities/blob/stable-v1/endpoints/get-response.xsd"
elementFormDefault="qualified"
targetNamespace="https://github.com/erasmus-without-paper/ewp-specs-fileext-ewpmobility/tree/stable-v1"
xmlns="https://github.com/erasmus-without-paper/ewp-specs-fileext-ewpmobility/tree/stable-v1"
>
<!-- WRTODO: Do not release until dependants are released: Outgoing Mobilities API, Incoming Mobilities API. -->
<!-- WRTODO: Once released, fix all schemaLocations pointing to its master branch. -->
<xs:import
schemaLocation="../ewp-specs-api-omobilities/endpoints/get-response.xsd"
namespace="https://github.com/erasmus-without-paper/ewp-specs-api-omobilities/blob/stable-v1/endpoints/get-response.xsd"
/>
<xs:import
schemaLocation="../ewp-specs-api-imobilities/endpoints/get-response.xsd"
namespace="https://github.com/erasmus-without-paper/ewp-specs-api-imobilities/blob/stable-v1/endpoints/get-response.xsd"
/>
<xs:annotation>
<xs:documentation>
This schema is a part of the Erasmus Without Paper project. Before you start
using it, make sure you have read the general rules described here:
http://developers.erasmuswithoutpaper.eu/
</xs:documentation>
</xs:annotation>
<xs:element name="ewp-mobility-file">
<xs:annotation>
<xs:documentation>
This describes the format of the `.ewpmobility` Exchange File.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
The file consists of a sequence of Outgoing Mobility and/or Incoming Mobility
objects (these objects are described in a separate XML Schemas).
</xs:documentation>
</xs:annotation>
<xs:group ref="omobility:SingleMobilityObject"/>
<xs:group ref="imobility:SingleIncomingMobilityObject"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>