mms-client 1.9.3__py3-none-any.whl → 1.11.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mms_client/schemas/wsdl/mi-web-service-jbms.wsdl +276 -276
- mms_client/schemas/wsdl/omi-web-service.wsdl +262 -262
- mms_client/schemas/xsd/mi-market.xsd +2405 -2395
- mms_client/schemas/xsd/mi-outbnd-reports.xsd +1554 -1488
- mms_client/schemas/xsd/mi-report.xsd +379 -379
- mms_client/schemas/xsd/mpr.xsd +1858 -1816
- mms_client/schemas/xsd/omi.xsd +913 -793
- mms_client/services/base.py +48 -21
- mms_client/services/market.py +123 -1
- mms_client/services/omi.py +99 -0
- mms_client/types/award.py +6 -0
- mms_client/types/base.py +10 -6
- mms_client/types/bup.py +207 -0
- mms_client/types/fields.py +1 -1
- mms_client/types/market.py +15 -2
- mms_client/types/offer.py +6 -0
- mms_client/types/omi.py +26 -0
- mms_client/types/settlement.py +81 -0
- mms_client/types/surplus_capcity.py +187 -0
- mms_client/utils/errors.py +51 -0
- mms_client/utils/serialization.py +34 -18
- {mms_client-1.9.3.dist-info → mms_client-1.11.0.dist-info}/METADATA +10 -3
- mms_client-1.11.0.dist-info/RECORD +45 -0
- mms_client-1.9.3.dist-info/RECORD +0 -41
- {mms_client-1.9.3.dist-info → mms_client-1.11.0.dist-info}/LICENSE +0 -0
- {mms_client-1.9.3.dist-info → mms_client-1.11.0.dist-info}/WHEEL +0 -0
|
@@ -1,379 +1,379 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
|
|
3
|
-
<xs:schema elementFormDefault="qualified"
|
|
4
|
-
attributeFormDefault="unqualified"
|
|
5
|
-
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
6
|
-
xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
|
|
7
|
-
jxb:version="1.0"
|
|
8
|
-
version="1.0.0">
|
|
9
|
-
|
|
10
|
-
<xs:annotation>
|
|
11
|
-
<xs:documentation xml:lang="en">
|
|
12
|
-
|
|
13
|
-
+-----------------------------------------------+
|
|
14
|
-
| |
|
|
15
|
-
| COPYRIGHT (c) 2005 |
|
|
16
|
-
| |
|
|
17
|
-
| ABB BUSINESS MANAGEMENT SYSTEMS |
|
|
18
|
-
| |
|
|
19
|
-
| All rights reserved |
|
|
20
|
-
| |
|
|
21
|
-
+-----------------------------------------------+
|
|
22
|
-
|
|
23
|
-
This is the XML schema for MI reports.
|
|
24
|
-
|
|
25
|
-
History:
|
|
26
|
-
001 20-Nov-2019 PD Revised based on Reports FD Version E.
|
|
27
|
-
</xs:documentation>
|
|
28
|
-
</xs:annotation>
|
|
29
|
-
|
|
30
|
-
<xs:element name="MarketReport" type="MarketReportType"/>
|
|
31
|
-
|
|
32
|
-
<!-- ==================================== -->
|
|
33
|
-
<!-- Common Simple Type Definitions Start -->
|
|
34
|
-
<!-- ==================================== -->
|
|
35
|
-
|
|
36
|
-
<xs:simpleType name="InformationType">
|
|
37
|
-
<xs:restriction base="xs:string"/>
|
|
38
|
-
</xs:simpleType>
|
|
39
|
-
|
|
40
|
-
<xs:simpleType name="WarningType">
|
|
41
|
-
<xs:restriction base="xs:string"/>
|
|
42
|
-
</xs:simpleType>
|
|
43
|
-
|
|
44
|
-
<xs:simpleType name="ErrorType">
|
|
45
|
-
<xs:restriction base="xs:string"/>
|
|
46
|
-
</xs:simpleType>
|
|
47
|
-
|
|
48
|
-
<xs:simpleType name="TimeStampType">
|
|
49
|
-
<xs:restriction base="xs:dateTime"/>
|
|
50
|
-
</xs:simpleType>
|
|
51
|
-
|
|
52
|
-
<xs:simpleType name="TitleType">
|
|
53
|
-
<xs:restriction base="xs:string">
|
|
54
|
-
<xs:maxLength value="100"/>
|
|
55
|
-
</xs:restriction>
|
|
56
|
-
</xs:simpleType>
|
|
57
|
-
|
|
58
|
-
<xs:simpleType name="ParamNameType">
|
|
59
|
-
<xs:restriction base="xs:string">
|
|
60
|
-
<xs:maxLength value="32"/>
|
|
61
|
-
</xs:restriction>
|
|
62
|
-
</xs:simpleType>
|
|
63
|
-
|
|
64
|
-
<xs:simpleType name="ValueType">
|
|
65
|
-
<xs:restriction base="xs:string">
|
|
66
|
-
<xs:maxLength value="200"/>
|
|
67
|
-
</xs:restriction>
|
|
68
|
-
</xs:simpleType>
|
|
69
|
-
|
|
70
|
-
<xs:simpleType name="TransactionIdType">
|
|
71
|
-
<xs:restriction base="xs:string">
|
|
72
|
-
<xs:maxLength value="10"/>
|
|
73
|
-
<xs:minLength value="1"/>
|
|
74
|
-
</xs:restriction>
|
|
75
|
-
</xs:simpleType>
|
|
76
|
-
|
|
77
|
-
<xs:simpleType name="ValidationStatusType">
|
|
78
|
-
<xs:restriction base="xs:string">
|
|
79
|
-
<xs:enumeration value="PASSED"/>
|
|
80
|
-
<xs:enumeration value="WARNING"/>
|
|
81
|
-
<xs:enumeration value="FAILED"/>
|
|
82
|
-
<xs:enumeration value="NOT_DONE"/>
|
|
83
|
-
</xs:restriction>
|
|
84
|
-
</xs:simpleType>
|
|
85
|
-
|
|
86
|
-
<xs:simpleType name="ApplicationTypeType">
|
|
87
|
-
<xs:annotation>
|
|
88
|
-
<xs:documentation xml:lang="en">
|
|
89
|
-
|
|
90
|
-
Supported Application types
|
|
91
|
-
|
|
92
|
-
</xs:documentation>
|
|
93
|
-
</xs:annotation>
|
|
94
|
-
<xs:restriction base="xs:string">
|
|
95
|
-
<xs:enumeration value="MARKET_REPORT"/>
|
|
96
|
-
</xs:restriction>
|
|
97
|
-
</xs:simpleType>
|
|
98
|
-
|
|
99
|
-
<xs:simpleType name="ParticipantNameType">
|
|
100
|
-
<xs:restriction base="xs:string">
|
|
101
|
-
<xs:length value="4"/>
|
|
102
|
-
</xs:restriction>
|
|
103
|
-
</xs:simpleType>
|
|
104
|
-
|
|
105
|
-
<xs:simpleType name="BSPNameType">
|
|
106
|
-
<xs:restriction base="xs:string">
|
|
107
|
-
<xs:length value="4"/>
|
|
108
|
-
</xs:restriction>
|
|
109
|
-
</xs:simpleType>
|
|
110
|
-
|
|
111
|
-
<xs:simpleType name="FileSizeType">
|
|
112
|
-
<xs:restriction base="xs:int">
|
|
113
|
-
<xs:minInclusive value="0"/>
|
|
114
|
-
</xs:restriction>
|
|
115
|
-
</xs:simpleType>
|
|
116
|
-
|
|
117
|
-
<xs:simpleType name="ReportTypeType">
|
|
118
|
-
<xs:annotation>
|
|
119
|
-
<xs:documentation xml:lang="en">
|
|
120
|
-
|
|
121
|
-
Base Report types
|
|
122
|
-
|
|
123
|
-
</xs:documentation>
|
|
124
|
-
</xs:annotation>
|
|
125
|
-
<xs:restriction base="xs:string">
|
|
126
|
-
<xs:enumeration value="REGISTRATION"/>
|
|
127
|
-
<xs:enumeration value="MA"/>
|
|
128
|
-
<xs:enumeration value="INTERFACE"/>
|
|
129
|
-
<xs:enumeration value="SWITCH"/>
|
|
130
|
-
<xs:enumeration value="SYSTEM"/>
|
|
131
|
-
</xs:restriction>
|
|
132
|
-
</xs:simpleType>
|
|
133
|
-
|
|
134
|
-
<xs:simpleType name="ReportSubTypeType">
|
|
135
|
-
<xs:annotation>
|
|
136
|
-
<xs:documentation xml:lang="en">
|
|
137
|
-
|
|
138
|
-
Base Report sub-types
|
|
139
|
-
|
|
140
|
-
</xs:documentation>
|
|
141
|
-
</xs:annotation>
|
|
142
|
-
<xs:restriction base="xs:string">
|
|
143
|
-
<xs:enumeration value="AWARDS"/>
|
|
144
|
-
<xs:enumeration value="MOL"/>
|
|
145
|
-
<xs:enumeration value="OFFERS"/>
|
|
146
|
-
<xs:enumeration value="BUP"/>
|
|
147
|
-
<xs:enumeration value="RESREQ"/>
|
|
148
|
-
<xs:enumeration value="ACCESS"/>
|
|
149
|
-
<xs:enumeration value="RESOURCE"/>
|
|
150
|
-
<xs:enumeration value="REQUEST"/>
|
|
151
|
-
</xs:restriction>
|
|
152
|
-
</xs:simpleType>
|
|
153
|
-
|
|
154
|
-
<xs:simpleType name="PeriodicityType">
|
|
155
|
-
<xs:annotation>
|
|
156
|
-
<xs:documentation xml:lang="en">
|
|
157
|
-
|
|
158
|
-
Supported periodicities
|
|
159
|
-
|
|
160
|
-
</xs:documentation>
|
|
161
|
-
</xs:annotation>
|
|
162
|
-
<xs:restriction base="xs:string">
|
|
163
|
-
<xs:enumeration value="YEARLY"/>
|
|
164
|
-
<xs:enumeration value="MONTHLY"/>
|
|
165
|
-
<xs:enumeration value="DAILY"/>
|
|
166
|
-
<xs:enumeration value="HOURLY"/>
|
|
167
|
-
<xs:enumeration value="HALF_HOURLY"/>
|
|
168
|
-
<xs:enumeration value="SUB_HOURLY"/>
|
|
169
|
-
<xs:enumeration value="ON_DEMAND"/>
|
|
170
|
-
<xs:enumeration value="NOT_APPLICABLE"/>
|
|
171
|
-
</xs:restriction>
|
|
172
|
-
</xs:simpleType>
|
|
173
|
-
|
|
174
|
-
<xs:simpleType name="AccessClassType">
|
|
175
|
-
<xs:annotation>
|
|
176
|
-
<xs:documentation xml:lang="en">
|
|
177
|
-
|
|
178
|
-
Access Class
|
|
179
|
-
|
|
180
|
-
</xs:documentation>
|
|
181
|
-
</xs:annotation>
|
|
182
|
-
<xs:restriction base="xs:string">
|
|
183
|
-
<xs:enumeration value="BSP"/>
|
|
184
|
-
<xs:enumeration value="TSO"/>
|
|
185
|
-
<xs:enumeration value="MO"/>
|
|
186
|
-
</xs:restriction>
|
|
187
|
-
</xs:simpleType>
|
|
188
|
-
|
|
189
|
-
<xs:simpleType name="FileTypeType">
|
|
190
|
-
<xs:annotation>
|
|
191
|
-
<xs:documentation xml:lang="en">
|
|
192
|
-
|
|
193
|
-
Report File-types
|
|
194
|
-
|
|
195
|
-
</xs:documentation>
|
|
196
|
-
</xs:annotation>
|
|
197
|
-
<xs:restriction base="xs:string">
|
|
198
|
-
<xs:enumeration value="CSV"/>
|
|
199
|
-
<xs:enumeration value="XML"/>
|
|
200
|
-
</xs:restriction>
|
|
201
|
-
</xs:simpleType>
|
|
202
|
-
|
|
203
|
-
<xs:simpleType name="ReportNameType">
|
|
204
|
-
<xs:restriction base="xs:string">
|
|
205
|
-
<xs:maxLength value="50"/>
|
|
206
|
-
<xs:minLength value="0"/>
|
|
207
|
-
</xs:restriction>
|
|
208
|
-
</xs:simpleType>
|
|
209
|
-
|
|
210
|
-
<xs:simpleType name="FileNameType">
|
|
211
|
-
<xs:restriction base="xs:string">
|
|
212
|
-
<xs:maxLength value="60"/>
|
|
213
|
-
<xs:minLength value="0"/>
|
|
214
|
-
</xs:restriction>
|
|
215
|
-
</xs:simpleType>
|
|
216
|
-
|
|
217
|
-
<xs:simpleType name="DateStampType">
|
|
218
|
-
<xs:restriction base="xs:date"/>
|
|
219
|
-
</xs:simpleType>
|
|
220
|
-
|
|
221
|
-
<!-- Common Simple Type Definitions End -->
|
|
222
|
-
|
|
223
|
-
<!-- ================================== -->
|
|
224
|
-
<!-- Common Attribute Definitions Start -->
|
|
225
|
-
<!-- ================================== -->
|
|
226
|
-
|
|
227
|
-
<xs:attributeGroup name="ReportItemAttributes">
|
|
228
|
-
<xs:attribute name="ReportType" type="ReportTypeType" use="required"/>
|
|
229
|
-
<xs:attribute name="ReportSubType" type="ReportSubTypeType" use="required"/>
|
|
230
|
-
<xs:attribute name="Periodicity" type="PeriodicityType" use="required"/>
|
|
231
|
-
<xs:attribute name="ReportName" type="ReportNameType" use="required"/>
|
|
232
|
-
<xs:attribute name="TransactionId" type="TransactionIdType" use="required"/>
|
|
233
|
-
<xs:attribute name="AccessClass" type="AccessClassType" use="required"/>
|
|
234
|
-
<xs:attribute name="Date" type="DateStampType" use="required"/>
|
|
235
|
-
<xs:attribute name="FileType" type="FileTypeType" use="required"/>
|
|
236
|
-
<xs:attribute name="FileName" type="FileNameType" use="required"/>
|
|
237
|
-
<xs:attribute name="FileSize" type="FileSizeType" use="optional"/>
|
|
238
|
-
<xs:attribute name="BinaryFile" type="xs:boolean" use="optional"/>
|
|
239
|
-
<xs:attribute name="ExpiryDate" type="DateStampType" use="optional"/>
|
|
240
|
-
<xs:attribute name="Description" type="TitleType" use="optional"/>
|
|
241
|
-
</xs:attributeGroup>
|
|
242
|
-
|
|
243
|
-
<!-- Common Attribute Definitions End -->
|
|
244
|
-
|
|
245
|
-
<!-- ===================================== -->
|
|
246
|
-
<!-- Common Complex Type Definitions Start -->
|
|
247
|
-
<!-- ===================================== -->
|
|
248
|
-
|
|
249
|
-
<xs:complexType name="ParamType">
|
|
250
|
-
<xs:attribute name="Name" type="ParamNameType" use="required"/>
|
|
251
|
-
<xs:attribute name="Value" type="ValueType" use="required"/>
|
|
252
|
-
</xs:complexType>
|
|
253
|
-
|
|
254
|
-
<xs:complexType name="MessagesType">
|
|
255
|
-
<xs:sequence>
|
|
256
|
-
<xs:element name="Error" type="ErrorType" minOccurs="0"
|
|
257
|
-
maxOccurs="unbounded"/>
|
|
258
|
-
<xs:element name="Warning" type="WarningType" minOccurs="0"
|
|
259
|
-
maxOccurs="unbounded"/>
|
|
260
|
-
<xs:element name="Information" type="InformationType" minOccurs="0"
|
|
261
|
-
maxOccurs="unbounded"/>
|
|
262
|
-
</xs:sequence>
|
|
263
|
-
</xs:complexType>
|
|
264
|
-
|
|
265
|
-
<xs:complexType name="ProcessingStatisticsType">
|
|
266
|
-
<xs:attribute name="TimeInMs" type="xs:long" use="optional"/>
|
|
267
|
-
<xs:attribute name="TransactionId" type="TransactionIdType" use="optional"/>
|
|
268
|
-
<xs:attribute name="TimeStamp" type="xs:string" use="optional"/>
|
|
269
|
-
<xs:attribute name="XmlTimeStamp" type="TimeStampType" use="optional"/>
|
|
270
|
-
</xs:complexType>
|
|
271
|
-
|
|
272
|
-
<xs:complexType name="ReportItemType">
|
|
273
|
-
<xs:sequence>
|
|
274
|
-
<xs:element name="Messages" type="MessagesType" minOccurs="0"/>
|
|
275
|
-
</xs:sequence>
|
|
276
|
-
<xs:attributeGroup ref="ReportItemAttributes"/>
|
|
277
|
-
</xs:complexType>
|
|
278
|
-
|
|
279
|
-
<xs:complexType name="ReportListResponseType">
|
|
280
|
-
<xs:sequence>
|
|
281
|
-
<xs:element name="Messages" type="MessagesType" minOccurs="0"/>
|
|
282
|
-
<xs:element name="ReportItem" type="ReportItemType"
|
|
283
|
-
minOccurs="0" maxOccurs="unbounded"/>
|
|
284
|
-
</xs:sequence>
|
|
285
|
-
</xs:complexType>
|
|
286
|
-
|
|
287
|
-
<xs:complexType name="ReportListRequestType">
|
|
288
|
-
<xs:sequence>
|
|
289
|
-
<xs:element name="Messages" type="MessagesType" minOccurs="0"/>
|
|
290
|
-
<xs:element name="ReportListResponse" type="ReportListResponseType"
|
|
291
|
-
minOccurs="0"/>
|
|
292
|
-
</xs:sequence>
|
|
293
|
-
<xs:attribute name="ReportName" type="ReportNameType" use="optional"/>
|
|
294
|
-
<xs:attribute name="ReportType" type="ReportTypeType" use="required"/>
|
|
295
|
-
<xs:attribute name="ReportSubType" type="ReportSubTypeType" use="required"/>
|
|
296
|
-
<xs:attribute name="Periodicity" type="PeriodicityType" use="required"/>
|
|
297
|
-
<xs:attribute name="Date" type="DateStampType" use="required"/>
|
|
298
|
-
<xs:attribute name="ValidationStatus" type="ValidationStatusType"
|
|
299
|
-
use="optional"/>
|
|
300
|
-
</xs:complexType>
|
|
301
|
-
|
|
302
|
-
<xs:complexType name="ReportDownloadRequestType">
|
|
303
|
-
<xs:sequence>
|
|
304
|
-
<xs:element name="Messages" type="MessagesType" minOccurs="0"/>
|
|
305
|
-
</xs:sequence>
|
|
306
|
-
<xs:attribute name="ReportType" type="ReportTypeType" use="required"/>
|
|
307
|
-
<xs:attribute name="ReportSubType" type="ReportSubTypeType" use="required"/>
|
|
308
|
-
<xs:attribute name="Periodicity" type="PeriodicityType" use="required"/>
|
|
309
|
-
<xs:attribute name="ReportName" type="ReportNameType" use="required"/>
|
|
310
|
-
<xs:attribute name="Date" type="DateStampType" use="required"/>
|
|
311
|
-
<xs:attribute name="AccessClass" type="AccessClassType" use="required"/>
|
|
312
|
-
<xs:attribute name="FileName" type="FileNameType" use="required"/>
|
|
313
|
-
<xs:attribute name="FileType" type="FileTypeType" use="required"/>
|
|
314
|
-
<xs:attribute name="ValidationStatus" type="ValidationStatusType"
|
|
315
|
-
use="optional"/>
|
|
316
|
-
</xs:complexType>
|
|
317
|
-
|
|
318
|
-
<xs:complexType name="ReportDownloadRequestTrnIDType">
|
|
319
|
-
<xs:sequence>
|
|
320
|
-
<xs:element name="Messages" type="MessagesType" minOccurs="0"/>
|
|
321
|
-
</xs:sequence>
|
|
322
|
-
<xs:attribute name="TransactionId" type="TransactionIdType" use="required"/>
|
|
323
|
-
<xs:attribute name="ValidationStatus" type="ValidationStatusType"
|
|
324
|
-
use="optional"/>
|
|
325
|
-
</xs:complexType>
|
|
326
|
-
|
|
327
|
-
<xs:complexType name="ReportCreateRequestType">
|
|
328
|
-
<xs:sequence>
|
|
329
|
-
<xs:element name="Messages" type="MessagesType" minOccurs="0"/>
|
|
330
|
-
<xs:element name="Param" type="ParamType" minOccurs="0" maxOccurs="5"/>
|
|
331
|
-
</xs:sequence>
|
|
332
|
-
<xs:attribute name="ReportName" type="ReportNameType" use="required"/>
|
|
333
|
-
<xs:attribute name="BSPName" type="BSPNameType" use="optional"/>
|
|
334
|
-
<xs:attribute name="ReportType" type="ReportTypeType" use="required"/>
|
|
335
|
-
<xs:attribute name="ReportSubType" type="ReportSubTypeType" use="required"/>
|
|
336
|
-
<xs:attribute name="Periodicity" type="PeriodicityType" use="required"/>
|
|
337
|
-
<xs:attribute name="Date" type="DateStampType" use="required"/>
|
|
338
|
-
<xs:attribute name="ValidationStatus" type="ValidationStatusType"
|
|
339
|
-
use="optional"/>
|
|
340
|
-
</xs:complexType>
|
|
341
|
-
|
|
342
|
-
<xs:complexType name="MarketReportType">
|
|
343
|
-
<xs:annotation>
|
|
344
|
-
<xs:documentation xml:lang="en">
|
|
345
|
-
|
|
346
|
-
This is used to bundle all types of report requests.
|
|
347
|
-
|
|
348
|
-
</xs:documentation>
|
|
349
|
-
</xs:annotation>
|
|
350
|
-
<xs:sequence>
|
|
351
|
-
<xs:element name="ProcessingStatistics" type="ProcessingStatisticsType"
|
|
352
|
-
minOccurs="0"/>
|
|
353
|
-
<xs:element name="Messages" type="MessagesType" minOccurs="0"/>
|
|
354
|
-
<xs:choice>
|
|
355
|
-
<xs:element name="ReportListRequest"
|
|
356
|
-
type="ReportListRequestType"
|
|
357
|
-
minOccurs="0" maxOccurs="1"/>
|
|
358
|
-
<xs:element name="ReportDownloadRequest"
|
|
359
|
-
type="ReportDownloadRequestType"
|
|
360
|
-
minOccurs="0" maxOccurs="1"/>
|
|
361
|
-
<xs:element name="ReportDownloadRequestTrnID"
|
|
362
|
-
type="ReportDownloadRequestTrnIDType"
|
|
363
|
-
minOccurs="0" maxOccurs="1"/>
|
|
364
|
-
<xs:element name="ReportCreateRequest"
|
|
365
|
-
type="ReportCreateRequestType"
|
|
366
|
-
minOccurs="0" maxOccurs="1"/>
|
|
367
|
-
</xs:choice>
|
|
368
|
-
</xs:sequence>
|
|
369
|
-
<xs:attribute name="ApplicationType" type="ApplicationTypeType"
|
|
370
|
-
use="required"/>
|
|
371
|
-
<xs:attribute name="ParticipantName" type="ParticipantNameType"
|
|
372
|
-
use="required"/>
|
|
373
|
-
<xs:attribute name="ValidationStatus" type="ValidationStatusType"
|
|
374
|
-
use="optional"/>
|
|
375
|
-
</xs:complexType>
|
|
376
|
-
|
|
377
|
-
<!-- Common Complex Type Definitions End -->
|
|
378
|
-
|
|
379
|
-
</xs:schema>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
|
|
3
|
+
<xs:schema elementFormDefault="qualified"
|
|
4
|
+
attributeFormDefault="unqualified"
|
|
5
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
6
|
+
xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
|
|
7
|
+
jxb:version="1.0"
|
|
8
|
+
version="1.0.0">
|
|
9
|
+
|
|
10
|
+
<xs:annotation>
|
|
11
|
+
<xs:documentation xml:lang="en">
|
|
12
|
+
|
|
13
|
+
+-----------------------------------------------+
|
|
14
|
+
| |
|
|
15
|
+
| COPYRIGHT (c) 2005 |
|
|
16
|
+
| |
|
|
17
|
+
| ABB BUSINESS MANAGEMENT SYSTEMS |
|
|
18
|
+
| |
|
|
19
|
+
| All rights reserved |
|
|
20
|
+
| |
|
|
21
|
+
+-----------------------------------------------+
|
|
22
|
+
|
|
23
|
+
This is the XML schema for MI reports.
|
|
24
|
+
|
|
25
|
+
History:
|
|
26
|
+
001 20-Nov-2019 PD Revised based on Reports FD Version E.
|
|
27
|
+
</xs:documentation>
|
|
28
|
+
</xs:annotation>
|
|
29
|
+
|
|
30
|
+
<xs:element name="MarketReport" type="MarketReportType"/>
|
|
31
|
+
|
|
32
|
+
<!-- ==================================== -->
|
|
33
|
+
<!-- Common Simple Type Definitions Start -->
|
|
34
|
+
<!-- ==================================== -->
|
|
35
|
+
|
|
36
|
+
<xs:simpleType name="InformationType">
|
|
37
|
+
<xs:restriction base="xs:string"/>
|
|
38
|
+
</xs:simpleType>
|
|
39
|
+
|
|
40
|
+
<xs:simpleType name="WarningType">
|
|
41
|
+
<xs:restriction base="xs:string"/>
|
|
42
|
+
</xs:simpleType>
|
|
43
|
+
|
|
44
|
+
<xs:simpleType name="ErrorType">
|
|
45
|
+
<xs:restriction base="xs:string"/>
|
|
46
|
+
</xs:simpleType>
|
|
47
|
+
|
|
48
|
+
<xs:simpleType name="TimeStampType">
|
|
49
|
+
<xs:restriction base="xs:dateTime"/>
|
|
50
|
+
</xs:simpleType>
|
|
51
|
+
|
|
52
|
+
<xs:simpleType name="TitleType">
|
|
53
|
+
<xs:restriction base="xs:string">
|
|
54
|
+
<xs:maxLength value="100"/>
|
|
55
|
+
</xs:restriction>
|
|
56
|
+
</xs:simpleType>
|
|
57
|
+
|
|
58
|
+
<xs:simpleType name="ParamNameType">
|
|
59
|
+
<xs:restriction base="xs:string">
|
|
60
|
+
<xs:maxLength value="32"/>
|
|
61
|
+
</xs:restriction>
|
|
62
|
+
</xs:simpleType>
|
|
63
|
+
|
|
64
|
+
<xs:simpleType name="ValueType">
|
|
65
|
+
<xs:restriction base="xs:string">
|
|
66
|
+
<xs:maxLength value="200"/>
|
|
67
|
+
</xs:restriction>
|
|
68
|
+
</xs:simpleType>
|
|
69
|
+
|
|
70
|
+
<xs:simpleType name="TransactionIdType">
|
|
71
|
+
<xs:restriction base="xs:string">
|
|
72
|
+
<xs:maxLength value="10"/>
|
|
73
|
+
<xs:minLength value="1"/>
|
|
74
|
+
</xs:restriction>
|
|
75
|
+
</xs:simpleType>
|
|
76
|
+
|
|
77
|
+
<xs:simpleType name="ValidationStatusType">
|
|
78
|
+
<xs:restriction base="xs:string">
|
|
79
|
+
<xs:enumeration value="PASSED"/>
|
|
80
|
+
<xs:enumeration value="WARNING"/>
|
|
81
|
+
<xs:enumeration value="FAILED"/>
|
|
82
|
+
<xs:enumeration value="NOT_DONE"/>
|
|
83
|
+
</xs:restriction>
|
|
84
|
+
</xs:simpleType>
|
|
85
|
+
|
|
86
|
+
<xs:simpleType name="ApplicationTypeType">
|
|
87
|
+
<xs:annotation>
|
|
88
|
+
<xs:documentation xml:lang="en">
|
|
89
|
+
|
|
90
|
+
Supported Application types
|
|
91
|
+
|
|
92
|
+
</xs:documentation>
|
|
93
|
+
</xs:annotation>
|
|
94
|
+
<xs:restriction base="xs:string">
|
|
95
|
+
<xs:enumeration value="MARKET_REPORT"/>
|
|
96
|
+
</xs:restriction>
|
|
97
|
+
</xs:simpleType>
|
|
98
|
+
|
|
99
|
+
<xs:simpleType name="ParticipantNameType">
|
|
100
|
+
<xs:restriction base="xs:string">
|
|
101
|
+
<xs:length value="4"/>
|
|
102
|
+
</xs:restriction>
|
|
103
|
+
</xs:simpleType>
|
|
104
|
+
|
|
105
|
+
<xs:simpleType name="BSPNameType">
|
|
106
|
+
<xs:restriction base="xs:string">
|
|
107
|
+
<xs:length value="4"/>
|
|
108
|
+
</xs:restriction>
|
|
109
|
+
</xs:simpleType>
|
|
110
|
+
|
|
111
|
+
<xs:simpleType name="FileSizeType">
|
|
112
|
+
<xs:restriction base="xs:int">
|
|
113
|
+
<xs:minInclusive value="0"/>
|
|
114
|
+
</xs:restriction>
|
|
115
|
+
</xs:simpleType>
|
|
116
|
+
|
|
117
|
+
<xs:simpleType name="ReportTypeType">
|
|
118
|
+
<xs:annotation>
|
|
119
|
+
<xs:documentation xml:lang="en">
|
|
120
|
+
|
|
121
|
+
Base Report types
|
|
122
|
+
|
|
123
|
+
</xs:documentation>
|
|
124
|
+
</xs:annotation>
|
|
125
|
+
<xs:restriction base="xs:string">
|
|
126
|
+
<xs:enumeration value="REGISTRATION"/>
|
|
127
|
+
<xs:enumeration value="MA"/>
|
|
128
|
+
<xs:enumeration value="INTERFACE"/>
|
|
129
|
+
<xs:enumeration value="SWITCH"/>
|
|
130
|
+
<xs:enumeration value="SYSTEM"/>
|
|
131
|
+
</xs:restriction>
|
|
132
|
+
</xs:simpleType>
|
|
133
|
+
|
|
134
|
+
<xs:simpleType name="ReportSubTypeType">
|
|
135
|
+
<xs:annotation>
|
|
136
|
+
<xs:documentation xml:lang="en">
|
|
137
|
+
|
|
138
|
+
Base Report sub-types
|
|
139
|
+
|
|
140
|
+
</xs:documentation>
|
|
141
|
+
</xs:annotation>
|
|
142
|
+
<xs:restriction base="xs:string">
|
|
143
|
+
<xs:enumeration value="AWARDS"/>
|
|
144
|
+
<xs:enumeration value="MOL"/>
|
|
145
|
+
<xs:enumeration value="OFFERS"/>
|
|
146
|
+
<xs:enumeration value="BUP"/>
|
|
147
|
+
<xs:enumeration value="RESREQ"/>
|
|
148
|
+
<xs:enumeration value="ACCESS"/>
|
|
149
|
+
<xs:enumeration value="RESOURCE"/>
|
|
150
|
+
<xs:enumeration value="REQUEST"/>
|
|
151
|
+
</xs:restriction>
|
|
152
|
+
</xs:simpleType>
|
|
153
|
+
|
|
154
|
+
<xs:simpleType name="PeriodicityType">
|
|
155
|
+
<xs:annotation>
|
|
156
|
+
<xs:documentation xml:lang="en">
|
|
157
|
+
|
|
158
|
+
Supported periodicities
|
|
159
|
+
|
|
160
|
+
</xs:documentation>
|
|
161
|
+
</xs:annotation>
|
|
162
|
+
<xs:restriction base="xs:string">
|
|
163
|
+
<xs:enumeration value="YEARLY"/>
|
|
164
|
+
<xs:enumeration value="MONTHLY"/>
|
|
165
|
+
<xs:enumeration value="DAILY"/>
|
|
166
|
+
<xs:enumeration value="HOURLY"/>
|
|
167
|
+
<xs:enumeration value="HALF_HOURLY"/>
|
|
168
|
+
<xs:enumeration value="SUB_HOURLY"/>
|
|
169
|
+
<xs:enumeration value="ON_DEMAND"/>
|
|
170
|
+
<xs:enumeration value="NOT_APPLICABLE"/>
|
|
171
|
+
</xs:restriction>
|
|
172
|
+
</xs:simpleType>
|
|
173
|
+
|
|
174
|
+
<xs:simpleType name="AccessClassType">
|
|
175
|
+
<xs:annotation>
|
|
176
|
+
<xs:documentation xml:lang="en">
|
|
177
|
+
|
|
178
|
+
Access Class
|
|
179
|
+
|
|
180
|
+
</xs:documentation>
|
|
181
|
+
</xs:annotation>
|
|
182
|
+
<xs:restriction base="xs:string">
|
|
183
|
+
<xs:enumeration value="BSP"/>
|
|
184
|
+
<xs:enumeration value="TSO"/>
|
|
185
|
+
<xs:enumeration value="MO"/>
|
|
186
|
+
</xs:restriction>
|
|
187
|
+
</xs:simpleType>
|
|
188
|
+
|
|
189
|
+
<xs:simpleType name="FileTypeType">
|
|
190
|
+
<xs:annotation>
|
|
191
|
+
<xs:documentation xml:lang="en">
|
|
192
|
+
|
|
193
|
+
Report File-types
|
|
194
|
+
|
|
195
|
+
</xs:documentation>
|
|
196
|
+
</xs:annotation>
|
|
197
|
+
<xs:restriction base="xs:string">
|
|
198
|
+
<xs:enumeration value="CSV"/>
|
|
199
|
+
<xs:enumeration value="XML"/>
|
|
200
|
+
</xs:restriction>
|
|
201
|
+
</xs:simpleType>
|
|
202
|
+
|
|
203
|
+
<xs:simpleType name="ReportNameType">
|
|
204
|
+
<xs:restriction base="xs:string">
|
|
205
|
+
<xs:maxLength value="50"/>
|
|
206
|
+
<xs:minLength value="0"/>
|
|
207
|
+
</xs:restriction>
|
|
208
|
+
</xs:simpleType>
|
|
209
|
+
|
|
210
|
+
<xs:simpleType name="FileNameType">
|
|
211
|
+
<xs:restriction base="xs:string">
|
|
212
|
+
<xs:maxLength value="60"/>
|
|
213
|
+
<xs:minLength value="0"/>
|
|
214
|
+
</xs:restriction>
|
|
215
|
+
</xs:simpleType>
|
|
216
|
+
|
|
217
|
+
<xs:simpleType name="DateStampType">
|
|
218
|
+
<xs:restriction base="xs:date"/>
|
|
219
|
+
</xs:simpleType>
|
|
220
|
+
|
|
221
|
+
<!-- Common Simple Type Definitions End -->
|
|
222
|
+
|
|
223
|
+
<!-- ================================== -->
|
|
224
|
+
<!-- Common Attribute Definitions Start -->
|
|
225
|
+
<!-- ================================== -->
|
|
226
|
+
|
|
227
|
+
<xs:attributeGroup name="ReportItemAttributes">
|
|
228
|
+
<xs:attribute name="ReportType" type="ReportTypeType" use="required"/>
|
|
229
|
+
<xs:attribute name="ReportSubType" type="ReportSubTypeType" use="required"/>
|
|
230
|
+
<xs:attribute name="Periodicity" type="PeriodicityType" use="required"/>
|
|
231
|
+
<xs:attribute name="ReportName" type="ReportNameType" use="required"/>
|
|
232
|
+
<xs:attribute name="TransactionId" type="TransactionIdType" use="required"/>
|
|
233
|
+
<xs:attribute name="AccessClass" type="AccessClassType" use="required"/>
|
|
234
|
+
<xs:attribute name="Date" type="DateStampType" use="required"/>
|
|
235
|
+
<xs:attribute name="FileType" type="FileTypeType" use="required"/>
|
|
236
|
+
<xs:attribute name="FileName" type="FileNameType" use="required"/>
|
|
237
|
+
<xs:attribute name="FileSize" type="FileSizeType" use="optional"/>
|
|
238
|
+
<xs:attribute name="BinaryFile" type="xs:boolean" use="optional"/>
|
|
239
|
+
<xs:attribute name="ExpiryDate" type="DateStampType" use="optional"/>
|
|
240
|
+
<xs:attribute name="Description" type="TitleType" use="optional"/>
|
|
241
|
+
</xs:attributeGroup>
|
|
242
|
+
|
|
243
|
+
<!-- Common Attribute Definitions End -->
|
|
244
|
+
|
|
245
|
+
<!-- ===================================== -->
|
|
246
|
+
<!-- Common Complex Type Definitions Start -->
|
|
247
|
+
<!-- ===================================== -->
|
|
248
|
+
|
|
249
|
+
<xs:complexType name="ParamType">
|
|
250
|
+
<xs:attribute name="Name" type="ParamNameType" use="required"/>
|
|
251
|
+
<xs:attribute name="Value" type="ValueType" use="required"/>
|
|
252
|
+
</xs:complexType>
|
|
253
|
+
|
|
254
|
+
<xs:complexType name="MessagesType">
|
|
255
|
+
<xs:sequence>
|
|
256
|
+
<xs:element name="Error" type="ErrorType" minOccurs="0"
|
|
257
|
+
maxOccurs="unbounded"/>
|
|
258
|
+
<xs:element name="Warning" type="WarningType" minOccurs="0"
|
|
259
|
+
maxOccurs="unbounded"/>
|
|
260
|
+
<xs:element name="Information" type="InformationType" minOccurs="0"
|
|
261
|
+
maxOccurs="unbounded"/>
|
|
262
|
+
</xs:sequence>
|
|
263
|
+
</xs:complexType>
|
|
264
|
+
|
|
265
|
+
<xs:complexType name="ProcessingStatisticsType">
|
|
266
|
+
<xs:attribute name="TimeInMs" type="xs:long" use="optional"/>
|
|
267
|
+
<xs:attribute name="TransactionId" type="TransactionIdType" use="optional"/>
|
|
268
|
+
<xs:attribute name="TimeStamp" type="xs:string" use="optional"/>
|
|
269
|
+
<xs:attribute name="XmlTimeStamp" type="TimeStampType" use="optional"/>
|
|
270
|
+
</xs:complexType>
|
|
271
|
+
|
|
272
|
+
<xs:complexType name="ReportItemType">
|
|
273
|
+
<xs:sequence>
|
|
274
|
+
<xs:element name="Messages" type="MessagesType" minOccurs="0"/>
|
|
275
|
+
</xs:sequence>
|
|
276
|
+
<xs:attributeGroup ref="ReportItemAttributes"/>
|
|
277
|
+
</xs:complexType>
|
|
278
|
+
|
|
279
|
+
<xs:complexType name="ReportListResponseType">
|
|
280
|
+
<xs:sequence>
|
|
281
|
+
<xs:element name="Messages" type="MessagesType" minOccurs="0"/>
|
|
282
|
+
<xs:element name="ReportItem" type="ReportItemType"
|
|
283
|
+
minOccurs="0" maxOccurs="unbounded"/>
|
|
284
|
+
</xs:sequence>
|
|
285
|
+
</xs:complexType>
|
|
286
|
+
|
|
287
|
+
<xs:complexType name="ReportListRequestType">
|
|
288
|
+
<xs:sequence>
|
|
289
|
+
<xs:element name="Messages" type="MessagesType" minOccurs="0"/>
|
|
290
|
+
<xs:element name="ReportListResponse" type="ReportListResponseType"
|
|
291
|
+
minOccurs="0"/>
|
|
292
|
+
</xs:sequence>
|
|
293
|
+
<xs:attribute name="ReportName" type="ReportNameType" use="optional"/>
|
|
294
|
+
<xs:attribute name="ReportType" type="ReportTypeType" use="required"/>
|
|
295
|
+
<xs:attribute name="ReportSubType" type="ReportSubTypeType" use="required"/>
|
|
296
|
+
<xs:attribute name="Periodicity" type="PeriodicityType" use="required"/>
|
|
297
|
+
<xs:attribute name="Date" type="DateStampType" use="required"/>
|
|
298
|
+
<xs:attribute name="ValidationStatus" type="ValidationStatusType"
|
|
299
|
+
use="optional"/>
|
|
300
|
+
</xs:complexType>
|
|
301
|
+
|
|
302
|
+
<xs:complexType name="ReportDownloadRequestType">
|
|
303
|
+
<xs:sequence>
|
|
304
|
+
<xs:element name="Messages" type="MessagesType" minOccurs="0"/>
|
|
305
|
+
</xs:sequence>
|
|
306
|
+
<xs:attribute name="ReportType" type="ReportTypeType" use="required"/>
|
|
307
|
+
<xs:attribute name="ReportSubType" type="ReportSubTypeType" use="required"/>
|
|
308
|
+
<xs:attribute name="Periodicity" type="PeriodicityType" use="required"/>
|
|
309
|
+
<xs:attribute name="ReportName" type="ReportNameType" use="required"/>
|
|
310
|
+
<xs:attribute name="Date" type="DateStampType" use="required"/>
|
|
311
|
+
<xs:attribute name="AccessClass" type="AccessClassType" use="required"/>
|
|
312
|
+
<xs:attribute name="FileName" type="FileNameType" use="required"/>
|
|
313
|
+
<xs:attribute name="FileType" type="FileTypeType" use="required"/>
|
|
314
|
+
<xs:attribute name="ValidationStatus" type="ValidationStatusType"
|
|
315
|
+
use="optional"/>
|
|
316
|
+
</xs:complexType>
|
|
317
|
+
|
|
318
|
+
<xs:complexType name="ReportDownloadRequestTrnIDType">
|
|
319
|
+
<xs:sequence>
|
|
320
|
+
<xs:element name="Messages" type="MessagesType" minOccurs="0"/>
|
|
321
|
+
</xs:sequence>
|
|
322
|
+
<xs:attribute name="TransactionId" type="TransactionIdType" use="required"/>
|
|
323
|
+
<xs:attribute name="ValidationStatus" type="ValidationStatusType"
|
|
324
|
+
use="optional"/>
|
|
325
|
+
</xs:complexType>
|
|
326
|
+
|
|
327
|
+
<xs:complexType name="ReportCreateRequestType">
|
|
328
|
+
<xs:sequence>
|
|
329
|
+
<xs:element name="Messages" type="MessagesType" minOccurs="0"/>
|
|
330
|
+
<xs:element name="Param" type="ParamType" minOccurs="0" maxOccurs="5"/>
|
|
331
|
+
</xs:sequence>
|
|
332
|
+
<xs:attribute name="ReportName" type="ReportNameType" use="required"/>
|
|
333
|
+
<xs:attribute name="BSPName" type="BSPNameType" use="optional"/>
|
|
334
|
+
<xs:attribute name="ReportType" type="ReportTypeType" use="required"/>
|
|
335
|
+
<xs:attribute name="ReportSubType" type="ReportSubTypeType" use="required"/>
|
|
336
|
+
<xs:attribute name="Periodicity" type="PeriodicityType" use="required"/>
|
|
337
|
+
<xs:attribute name="Date" type="DateStampType" use="required"/>
|
|
338
|
+
<xs:attribute name="ValidationStatus" type="ValidationStatusType"
|
|
339
|
+
use="optional"/>
|
|
340
|
+
</xs:complexType>
|
|
341
|
+
|
|
342
|
+
<xs:complexType name="MarketReportType">
|
|
343
|
+
<xs:annotation>
|
|
344
|
+
<xs:documentation xml:lang="en">
|
|
345
|
+
|
|
346
|
+
This is used to bundle all types of report requests.
|
|
347
|
+
|
|
348
|
+
</xs:documentation>
|
|
349
|
+
</xs:annotation>
|
|
350
|
+
<xs:sequence>
|
|
351
|
+
<xs:element name="ProcessingStatistics" type="ProcessingStatisticsType"
|
|
352
|
+
minOccurs="0"/>
|
|
353
|
+
<xs:element name="Messages" type="MessagesType" minOccurs="0"/>
|
|
354
|
+
<xs:choice>
|
|
355
|
+
<xs:element name="ReportListRequest"
|
|
356
|
+
type="ReportListRequestType"
|
|
357
|
+
minOccurs="0" maxOccurs="1"/>
|
|
358
|
+
<xs:element name="ReportDownloadRequest"
|
|
359
|
+
type="ReportDownloadRequestType"
|
|
360
|
+
minOccurs="0" maxOccurs="1"/>
|
|
361
|
+
<xs:element name="ReportDownloadRequestTrnID"
|
|
362
|
+
type="ReportDownloadRequestTrnIDType"
|
|
363
|
+
minOccurs="0" maxOccurs="1"/>
|
|
364
|
+
<xs:element name="ReportCreateRequest"
|
|
365
|
+
type="ReportCreateRequestType"
|
|
366
|
+
minOccurs="0" maxOccurs="1"/>
|
|
367
|
+
</xs:choice>
|
|
368
|
+
</xs:sequence>
|
|
369
|
+
<xs:attribute name="ApplicationType" type="ApplicationTypeType"
|
|
370
|
+
use="required"/>
|
|
371
|
+
<xs:attribute name="ParticipantName" type="ParticipantNameType"
|
|
372
|
+
use="required"/>
|
|
373
|
+
<xs:attribute name="ValidationStatus" type="ValidationStatusType"
|
|
374
|
+
use="optional"/>
|
|
375
|
+
</xs:complexType>
|
|
376
|
+
|
|
377
|
+
<!-- Common Complex Type Definitions End -->
|
|
378
|
+
|
|
379
|
+
</xs:schema>
|