-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathEducationEvent.xsd
66 lines (52 loc) · 2.48 KB
/
EducationEvent.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
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:event="http://allastudier.se/EducationEvent" targetNamespace="http://allastudier.se/EducationEvent" xmlns:common="http://allastudier.se/CommonTypes" elementFormDefault="qualified">
<xs:import schemaLocation="CommonTypes.xsd" namespace="http://allastudier.se/CommonTypes"/>
<xs:element name="educationEventData" type="event:educationEventData"/>
<xs:complexType name="educationEventData">
<xs:all>
<xs:element name="eventIdentifier" type="xs:string" minOccurs="0"/>
<xs:element name="expires" type="xs:date" minOccurs="0"/>
<xs:element name="startDate" type="xs:string" minOccurs="0"/>
<xs:element name="stopDate" type="xs:string" minOccurs="0"/>
<xs:element name="location" type="common:locationalAddress" minOccurs="0"/>
<xs:element name="distance" type="event:distance" minOccurs="0"/>
<xs:element name="timeOfStudy" type="event:timeOfStudy" minOccurs="0"/>
<xs:element name="paceOfStudy" type="common:percentage" minOccurs="0"/>
<xs:element name="url" type="xs:anyURI" minOccurs="0"/>
<xs:element name="application" type="event:application" minOccurs="0"/>
<xs:element name="eligibleForStudentAid" type="xs:boolean" minOccurs="0"/>
<xs:element name="fee" type="event:fee" minOccurs="0"/>
<xs:element name="instructionLanguages" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="instructionLanguage" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
<xs:simpleType name="timeOfStudy">
<xs:restriction base="xs:string">
<xs:enumeration value="dag"/>
<xs:enumeration value="kväll"/>
<xs:enumeration value="eftermiddag"/>
<xs:enumeration value="veckoslut"/>
<xs:enumeration value="blandad"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="application">
<xs:sequence>
<xs:element name="lastApplicationDate" type="xs:date" minOccurs="0"/>
<xs:element name="lateApplicationPermittedUntil" type="xs:date" minOccurs="0"/>
<xs:element name="url" type="xs:anyURI" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="distance">
</xs:complexType>
<xs:complexType name="fee">
<xs:sequence>
<xs:element name="amount" type="common:positiveDouble" minOccurs="0"/>
<xs:element name="currency" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>