1
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
2
|
<xs:element name="RESOURCE_PROFILE">
|
3
|
<xs:complexType>
|
4
|
<xs:sequence>
|
5
|
<xs:element name="HEADER" type="HEADERType" />
|
6
|
<xs:element name="BODY" type="BODYType" />
|
7
|
</xs:sequence>
|
8
|
</xs:complexType>
|
9
|
</xs:element>
|
10
|
<xs:complexType name="HEADERType">
|
11
|
<xs:all>
|
12
|
<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
|
13
|
<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
|
14
|
<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
|
15
|
<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
|
16
|
<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
|
17
|
</xs:all>
|
18
|
</xs:complexType>
|
19
|
<xs:complexType name="RESOURCE_IDENTIFIERType">
|
20
|
<xs:attribute name="value" type="xs:string" use="required" />
|
21
|
</xs:complexType>
|
22
|
<xs:complexType name="RESOURCE_TYPEType">
|
23
|
<xs:attribute name="value" use="required">
|
24
|
<xs:simpleType>
|
25
|
<xs:restriction base="xs:string">
|
26
|
<xs:enumeration value="UserDSResourceType" />
|
27
|
</xs:restriction>
|
28
|
</xs:simpleType>
|
29
|
</xs:attribute>
|
30
|
</xs:complexType>
|
31
|
<xs:complexType name="RESOURCE_KINDType">
|
32
|
<xs:attribute name="value" use="required">
|
33
|
<xs:simpleType>
|
34
|
<xs:restriction base="xs:string">
|
35
|
<xs:enumeration value="UserDSResources" />
|
36
|
<xs:enumeration value="PendingDSResources" />
|
37
|
</xs:restriction>
|
38
|
</xs:simpleType>
|
39
|
</xs:attribute>
|
40
|
</xs:complexType>
|
41
|
<xs:complexType name="RESOURCE_URIType">
|
42
|
<xs:attribute name="value" type="xs:string" use="required" />
|
43
|
</xs:complexType>
|
44
|
<xs:complexType name="DATE_OF_CREATIONType">
|
45
|
<xs:attribute name="value" type="xs:string" use="required" />
|
46
|
</xs:complexType>
|
47
|
<xs:complexType name="BODYType">
|
48
|
<xs:sequence>
|
49
|
<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
|
50
|
<xs:element name="STATUS" type="xs:string" />
|
51
|
<xs:element name="SECURITY_PARAMETERS" type="SECURITY_PARAMETERSType" />
|
52
|
</xs:sequence>
|
53
|
</xs:complexType>
|
54
|
<xs:complexType name="CONFIGURATIONType">
|
55
|
<xs:sequence>
|
56
|
<xs:element name="PERSONAL_INFO" type="PERSONAL_INFOType" />
|
57
|
<xs:element name="COMMUNITIES" type="COMMUNITIESType" />
|
58
|
<xs:element name="SAVED_QUERIES" type="SAVED_QUERYType"
|
59
|
minOccurs="0" maxOccurs="unbounded" />
|
60
|
<xs:element name="FILTER" type="FILTERType" minOccurs="0"
|
61
|
maxOccurs="1" />
|
62
|
<xs:element name="RECOMMENDATION" type="RECOMMENDATIONType" />
|
63
|
<xs:element name="DOCUMENTS" type="DOCUMENTSType"
|
64
|
minOccurs="0" />
|
65
|
<xs:element name="USER_STORE" type="STOREType" minOccurs="0" />
|
66
|
<xs:element name="userImageID" type="xs:string" minOccurs="0" />
|
67
|
</xs:sequence>
|
68
|
</xs:complexType>
|
69
|
<xs:complexType name="SECURITY_PARAMETERSType">
|
70
|
<xs:all>
|
71
|
<xs:element name="SECURITY_PARAMETER" type="xs:string" />
|
72
|
</xs:all>
|
73
|
</xs:complexType>
|
74
|
<xs:complexType name="STOREType">
|
75
|
<xs:sequence>
|
76
|
<xs:element name="serviceURL" type="xs:string" />
|
77
|
<xs:element name="storeID" type="xs:string" />
|
78
|
</xs:sequence>
|
79
|
</xs:complexType>
|
80
|
<xs:complexType name="SAVED_QUERYType">
|
81
|
<xs:sequence>
|
82
|
<xs:element name="query" type="QUERYType" />
|
83
|
<xs:element name="hashValue" type="xs:string" minOccurs="0"
|
84
|
maxOccurs="unbounded" />
|
85
|
<xs:element name="alertOnChange" type="xs:boolean" />
|
86
|
</xs:sequence>
|
87
|
</xs:complexType>
|
88
|
<xs:complexType name="FILTERType">
|
89
|
<xs:sequence>
|
90
|
<xs:element name="query" type="SAVED_QUERYType" minOccurs="1"
|
91
|
maxOccurs="1" />
|
92
|
</xs:sequence>
|
93
|
</xs:complexType>
|
94
|
<xs:complexType name="QUERYType">
|
95
|
<xs:sequence>
|
96
|
<xs:element name="CQL">
|
97
|
<xs:complexType>
|
98
|
<xs:attribute name="value" type="xs:string" />
|
99
|
</xs:complexType>
|
100
|
</xs:element>
|
101
|
<xs:element name="REFINE" minOccurs="0">
|
102
|
<xs:complexType>
|
103
|
<xs:attribute name="value" type="xs:string" />
|
104
|
</xs:complexType>
|
105
|
</xs:element>
|
106
|
<xs:element name="COMMUNITYID" minOccurs="0" maxOccurs="unbounded">
|
107
|
<xs:complexType>
|
108
|
<xs:attribute name="communityId" type="xs:string" />
|
109
|
</xs:complexType>
|
110
|
</xs:element>
|
111
|
<xs:element name="COLLECTIONID" minOccurs="0" maxOccurs="unbounded">
|
112
|
<xs:complexType>
|
113
|
<xs:attribute name="collectionId" type="xs:string" />
|
114
|
</xs:complexType>
|
115
|
</xs:element>
|
116
|
</xs:sequence>
|
117
|
</xs:complexType>
|
118
|
<xs:complexType name="PERSONAL_INFOType">
|
119
|
<xs:sequence>
|
120
|
<xs:element name="FIRST_NAME">
|
121
|
<xs:complexType>
|
122
|
<xs:attribute name="value" type="xs:string" />
|
123
|
</xs:complexType>
|
124
|
</xs:element>
|
125
|
<xs:element name="LAST_NAME">
|
126
|
<xs:complexType>
|
127
|
<xs:attribute name="value" type="xs:string" />
|
128
|
</xs:complexType>
|
129
|
</xs:element>
|
130
|
<xs:element name="INSTITUTION">
|
131
|
<xs:complexType>
|
132
|
<xs:attribute name="value" type="xs:string" />
|
133
|
</xs:complexType>
|
134
|
</xs:element>
|
135
|
<xs:element name="EMAIL">
|
136
|
<xs:complexType>
|
137
|
<xs:attribute name="value" type="xs:string" />
|
138
|
</xs:complexType>
|
139
|
</xs:element>
|
140
|
<xs:element name="ACTIVATION_ID">
|
141
|
<xs:complexType>
|
142
|
<xs:attribute name="value" type="xs:string" />
|
143
|
</xs:complexType>
|
144
|
</xs:element>
|
145
|
<xs:element name="ACTIVE">
|
146
|
<xs:complexType>
|
147
|
<xs:attribute name="value" type="xs:boolean" />
|
148
|
</xs:complexType>
|
149
|
</xs:element>
|
150
|
</xs:sequence>
|
151
|
</xs:complexType>
|
152
|
<xs:complexType name="COMMUNITY_REGISTRATIONType">
|
153
|
<xs:attribute name="communityId" type="xs:string" />
|
154
|
<xs:attribute name="alertOnChange" type="xs:boolean" />
|
155
|
<xs:attribute name="insertInQueries" type="xs:boolean" />
|
156
|
</xs:complexType>
|
157
|
<xs:complexType name="COMMUNITIESType">
|
158
|
<xs:sequence>
|
159
|
<xs:element name="COMMUNITY_REGISTRATION" type="COMMUNITY_REGISTRATIONType"
|
160
|
minOccurs="0" maxOccurs="unbounded" />
|
161
|
</xs:sequence>
|
162
|
</xs:complexType>
|
163
|
<xs:complexType name="RECOMMENDATIONType">
|
164
|
<xs:sequence>
|
165
|
<xs:element name="RECOMMENDATIONS" type="RECOMMENDATIONSType" />
|
166
|
</xs:sequence>
|
167
|
<xs:attribute name="SEND_EMAIL" type="xs:boolean" />
|
168
|
<xs:attribute name="PERIOD" type="xs:int" />
|
169
|
<xs:attribute name="LAST_NOTIFICATION" type="xs:string" />
|
170
|
</xs:complexType>
|
171
|
<xs:complexType name="RECOMMENDATIONSType">
|
172
|
<xs:sequence>
|
173
|
<xs:element name="RECOMMENDATION_ID" type="xs:string"
|
174
|
minOccurs="0" maxOccurs="unbounded" />
|
175
|
</xs:sequence>
|
176
|
</xs:complexType>
|
177
|
<xs:complexType name="DOCUMENTSType">
|
178
|
<xs:sequence>
|
179
|
<xs:element name="DOCUMENT_ID" type="xs:string" minOccurs="0"
|
180
|
maxOccurs="unbounded" />
|
181
|
</xs:sequence>
|
182
|
</xs:complexType>
|
183
|
</xs:schema>
|