-
Notifications
You must be signed in to change notification settings - Fork 29
/
provider.xsd
50 lines (48 loc) · 1.94 KB
/
provider.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
<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="http://educations.com/XmlImport"
elementFormDefault="qualified"
xmlns="http://educations.com/XmlImport"
xmlns:xi="http://educations.com/XmlImport"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tp="http://educations.com/XmlImport/Text-Property"
>
<xs:include schemaLocation="course.xsd" />
<xs:include schemaLocation="location.xsd" />
<xs:include schemaLocation="course-text-property.xsd" />
<xs:include schemaLocation="provider-text-property.xsd" />
<xs:include schemaLocation="information-request.xsd" />
<xs:complexType name="Provider">
<xs:all>
<xs:element name="contentFields" type="ProviderTextPropertyList" minOccurs="0" maxOccurs="1">
<xs:unique name="unique-provider-contentFields">
<xs:selector xpath="xi:field" />
<xs:field xpath="@name" />
</xs:unique>
</xs:element>
<xs:element name="courses">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="course" type="Course" />
</xs:sequence>
</xs:complexType>
<xs:unique name="unique-course-id">
<xs:selector xpath="xi:course" />
<xs:field xpath="@uniqueIdentifier" />
</xs:unique>
</xs:element>
<xs:element name="locations">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="location" type="Location" />
</xs:sequence>
</xs:complexType>
<xs:unique name="unique-location-id">
<xs:selector xpath="xi:location" />
<xs:field xpath="@uniqueIdentifier" />
</xs:unique>
</xs:element>
<xs:element name="informationRequestSettings" type="InformationRequest" minOccurs="0" maxOccurs="1" />
</xs:all>
<xs:attribute name="uniqueIdentifier" type="xs:string" use="required" />
</xs:complexType>
</xs:schema>