-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPrintService.xsd
349 lines (347 loc) · 16.3 KB
/
PrintService.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://www.pwg.org/schemas/2016/01/sm" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:pwg="http://www.pwg.org/schemas/2016/01/sm" targetNamespace="http://www.pwg.org/schemas/2016/01/sm" elementFormDefault="qualified" attributeFormDefault="qualified" version="2.905">
<xs:include schemaLocation="MediaElements.xsd"/>
<xs:include schemaLocation="Counter.xsd"/>
<xs:include schemaLocation="DocumentTypes.xsd"/>
<xs:include schemaLocation="ServiceTypes.xsd"/>
<xs:include schemaLocation="JobTypes.xsd"/>
<xs:include schemaLocation="Subunits.xsd"/>
<xs:include schemaLocation="PrintServiceDefaults.xsd"/>
<xs:include schemaLocation="PrintJobTicket.xsd"/>
<xs:include schemaLocation="PrintServiceCapabilities.xsd"/>
<!--06/06/12 PJZ Final JPS3 update-->
<!--03/12/12 PJZ Aligned with Raster Last Call-->
<!--02/24/11 PJZ Added supported XXXPasswordXXXSupported ServiceDescription elements-->
<!--02/02/12 PJZ Fixed DocumentPassword & DocumentPasswordSupported-->
<!--12/14/11 PJZ Service Description is mandatory-->
<!--12/11/11 PJZ ServiceChargeInfoUri and ServiceOrganizations moved to base class-->
<!--11/08/11 PJZ Moved PrintServiceDefaults out to its own schema-->
<!--11/08/11 PJZ Removed DefaultDocumentTicket & added extension point-->
<!--08/23/11 PJZ Added PWG Raster-->
<!--05/05/11 PJZ Added JPS3 elements-->
<!--04/21/11 PJZ Added JPS3 elements-->
<!--04/21/11 PJZ Fixed QueuedJobCount-->
<!--03/06/11 PJZ fixed PdlInitFile names-->
<!--03/04/11 PJZ fixed SheetsCompletedCopyNumber and SheetsCompletedDocumentNumber names-->
<!--03/02/11 PJZ Fixed PdlInitFile, Removed Overrides from Document-->
<!--02/27/11 PJZ Fixed some sheet capabiolities-->
<!--02/02/11 PJZ added some cloud elements to ServiceDescription-->
<!--01/20/11 PJZ Added print color mode-->
<!--12/02/10 PJZ ImpressionsCompleted now mandatory-->
<!--11/10/10 PJZ Fixed Cover Front and Back-->
<!--10/6/10 PJZ Fixed order of capabilitiers and defaults, JobAccountingSheet-->
<!--09/23/10 PJZ Made Compression/DocumentFormat Default/Supported mandatory-->
<!--09/23/10 PJZ Fixed capabilitiers and defaults-->
<!--09/23/10 PJZ Fixed DocumentFormat/Compression Supported-->
<!--08/19/10 PJZ Fixed Resolutions in capability-->
<!--06/14/10 PJZ Removed IsHoldingNewJobs-->
<!--05/04/10 PJZ Restored PrintJobProcessingCapabilities to PrintServiceCapabilities-->
<!--04/24/10 PJZ "MessageFromOperator" now in ServiceDescription base class-->
<!--04/1/10 PJZ added "Type" suffix to ComplexTypes-->
<!--12/30/09 PJZ Generalized PrintQuality to Quality-->
<!--12/28/09 PJZ Removed/replaced deprecated elements-->
<!--11/06/09 PJZ Updated Media representation-->
<!--010/22/09 PJZ Reworked concrete and abstract classes-->
<!--09/09/09 PJZ Made some more Print Service elements common-->
<!--08/02/09 PJZ Modified configuration representation-->
<!--06/17/09 PJZ Reworked NaturalLanguage-->
<!--04/14/09 PJZ Updated Namespace-->
<!--01/30/09 PJZ Made IsAcceptingJobs service specific-->
<!--11/06/08 PJZ Fixed AllowedValues that were no multivalued, Modified media/mediaCol in capabilities so that media database is only in Document ProcessingCapabilities. All other references merely indicate if media and/or mediaCol may be used.-->
<!--05/31/08 PJZ Move back to ##Other-->
<!--05/30/08 PJZ Move back to single namespace-->
<!--05/21/08 PJZ Partial alignment with WS-Scan-->
<!--03/27/08 PJZ Orientation made specific to printing (removed from here since rotation covers semantics)-->
<!--12/12/07 PJZ Reworked Service/Job/Document counters-->
<!--11/28/07 PJZ supplied elements are print specific -->
<!--11/21/07 PJZ JobSave is print specific-->
<!--09/13/07 PJZ Reworked default and supported-->
<!--10/08/06 PJZ Reworked dependencies and removed Chameleon-->
<!--08/08/06 PJZ Changed namespace-->
<!--070706 PJZ Changed xxxJobs to xxxQueue and limited to single queue per service instance-->
<!--070606 PJZ Added core, media and counters namespace-->
<xs:annotation>
<xs:documentation xml:lang="en">
PWG Semantic Model v2
Copyright 2002-20011, IEEE Industry Standards and Technology Organization/PWG - MFD Working Group.
All rights reserved
Editors: Peter Zehler, Ira McDonald
</xs:documentation>
</xs:annotation>
<!---->
<!---->
<!-- PrintDocument - group -->
<!---->
<!-- PrintDocumentStatus - group -->
<xs:complexType name="PrintDocumentStatusType">
<xs:complexContent>
<xs:extension base="ImagingDocumentStatusType">
<xs:sequence>
<!-- Print Document status references here -->
<!-- Print Document counters from service counters definition -->
<xs:element ref="CurrentPageOrder" minOccurs="0"/>
<xs:element ref="DocumentFormatDetailsDetected" minOccurs="0"/>
<xs:element ref="DocumentFormatDetected" minOccurs="0"/>
<xs:element ref="DocumentFormatVersionDetected" minOccurs="0"/>
<xs:element ref="ImpressionsCompleted" minOccurs="1"/>
<xs:element ref="ImpressionsCompletedCurrentCopy" minOccurs="0"/>
<xs:element ref="MediaSheetsCompleted" minOccurs="0"/>
<xs:element ref="OutputDeviceAssigned" minOccurs="0"/>
<xs:element ref="SheetsCompletedCopyNumber" minOccurs="0"/>
<xs:element ref="PrintDocumentCounters" minOccurs="0"/>
<xs:element ref="ServiceUri" minOccurs="0"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
<!-- PrintDocumentStatus - group -->
</xs:complexType>
<xs:element name="PrintDocumentStatus" type="PrintDocumentStatusType"/>
<!-- PrintDocuments - set of Print Documents -->
<xs:complexType name="PrintDocumentsType">
<xs:sequence>
<xs:element ref="PrintDocument" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<!-- PrintDocuments - set of Print Documents -->
</xs:complexType>
<xs:element name="PrintDocuments" type="PrintDocumentsType"/>
<!-- PrintDocument - object -->
<xs:complexType name="PrintDocumentType">
<xs:sequence>
<xs:element ref="PrintDocumentReceipt" minOccurs="0"/>
<xs:element ref="PrintDocumentStatus"/>
<xs:element ref="PrintDocumentTicket" minOccurs="0"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<!-- PrintDocument - object -->
</xs:complexType>
<xs:element name="PrintDocument" type="PrintDocumentType"/>
<!---->
<!-- PrintJob - group -->
<!---->
<!-- PrintJobStatus - group -->
<xs:complexType name="PrintJobStatusType">
<xs:complexContent>
<xs:extension base="ImagingJobStatusType">
<xs:sequence>
<!-- Print job status references here -->
<xs:element ref="CompressionDetected" minOccurs="0"/>
<xs:element ref="DocumentFormatDetailsDetected" minOccurs="0"/>
<xs:element ref="DocumentFormatDetected" minOccurs="0"/>
<xs:element ref="DocumentFormatVersionDetected" minOccurs="0"/>
<xs:element ref="ImpressionsCompleted" minOccurs="1"/>
<xs:element ref="ImpressionsCompletedCurrentCopy" minOccurs="0"/>
<xs:element ref="MediaSheetsCompleted" minOccurs="0"/>
<xs:element ref="OutputDeviceAssigned" minOccurs="0"/>
<xs:element ref="SheetsCompletedCopyNumber" minOccurs="0"/>
<xs:element ref="SheetsCompletedDocumentNumber" minOccurs="0"/>
<!-- Print job counters from service counters definition -->
<xs:element ref="ServiceUri" minOccurs="0"/>
<xs:element ref="PrintJobCounters" minOccurs="0"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
<!-- PrintJobStatus - group -->
</xs:complexType>
<xs:element name="PrintJobStatus" type="PrintJobStatusType"/>
<!-- PrintJobs - set of Print jobs -->
<xs:complexType name="PrintJobsType">
<xs:sequence>
<xs:element ref="PrintJob" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<!-- PrintJobs - set of Print jobs -->
</xs:complexType>
<!-- PrintJob - object -->
<xs:complexType name="PrintJobType">
<xs:sequence>
<xs:element ref="PrintJobReceipt" minOccurs="0"/>
<xs:element ref="PrintJobStatus"/>
<xs:element ref="PrintJobTicket" minOccurs="0"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<!-- PrintJob - object -->
</xs:complexType>
<xs:element name="PrintJob">
<xs:complexType>
<xs:complexContent>
<xs:extension base="PrintJobType">
<xs:sequence>
<xs:element ref="PrintDocuments" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<!---->
<!-- PrintService - group -->
<!---->
<!-- PrintServiceStatus - group -->
<xs:complexType name="PrintServiceStatusType">
<xs:complexContent>
<xs:extension base="ImagingServiceStatusType">
<xs:sequence>
<!-- SM/1.0 Printer group import -->
<xs:element ref="ImpressionsCompleted"/>
<xs:element ref="IsAcceptingJobs"/>
<xs:element ref="PrintServiceCounters" minOccurs="0"/>
<xs:element ref="QueuedJobCount" minOccurs="1"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="PrintServiceStatus" type="PrintServiceStatusType"/>
<!-- PrintServiceDescription - group -->
<xs:complexType name="PrintServiceDescriptionType">
<xs:complexContent>
<xs:extension base="ImagingServiceDescriptionType">
<xs:sequence>
<xs:element ref="ColorSupported" minOccurs="0"/>
<xs:element ref="CompressionDefault" minOccurs="1"/>
<xs:element ref="CompressionSupported" minOccurs="1"/>
<xs:element ref="DocumentFormatDefault" minOccurs="1"/>
<xs:element ref="DocumentFormatSupported" minOccurs="1"/>
<xs:element ref="DocumentFormatDetailsDefault" minOccurs="0"/>
<xs:element ref="DocumentFormatDetailsSupported" minOccurs="0"/>
<xs:element ref="DocumentFormatVersionSupported" minOccurs="0"/>
<xs:element ref="DocumentFormatVersionDefault" minOccurs="0"/>
<xs:element ref="DocumentPasswordSupported" minOccurs="0"/>
<xs:element ref="FeaturesSupported" minOccurs="0"/>
<xs:element ref="GetEventLife" minOccurs="0"/>
<xs:element ref="IdentifyActionsDefault" minOccurs="0"/>
<xs:element ref="IdentifyActionsSupported" minOccurs="0"/>
<xs:element ref="ImpressionsSupported" minOccurs="0"/>
<xs:element ref="JobConstraintsSupported" minOccurs="0"/>
<xs:element ref="JobCreationElementsSupported" minOccurs="0"/>
<xs:element ref="JobPasswordEncryptionSupported" minOccurs="0"/>
<xs:element ref="JobPasswordSupported" minOccurs="0"/>
<xs:element ref="PreferredElementsSupported" minOccurs="0"/>
<xs:element ref="JobResolversSupported" minOccurs="0"/>
<xs:element ref="JobSettableElementsSupported" minOccurs="0"/>
<xs:element ref="JobSpoolingSupported" minOccurs="0"/>
<xs:element ref="KOctetsSupported" minOccurs="0"/>
<xs:element ref="MaxSaveInfoSupported" minOccurs="0"/>
<xs:element ref="MaxStitchingLocationsSupported" minOccurs="0"/>
<xs:element ref="MediaBottomMarginSupported"/>
<xs:element ref="MediaLeftMarginSupported"/>
<xs:element ref="MediaRightMarginSupported"/>
<xs:element ref="MediaSheetsSupported" minOccurs="0"/>
<xs:element ref="MediaSourceSupported"/>
<xs:element ref="MediaTopMarginSupported"/>
<xs:element ref="MoreInfoManufacturerUri" minOccurs="0"/>
<xs:element ref="MoreInfoUri" minOccurs="0"/>
<xs:element ref="MultipleDocumentJobsSupported" minOccurs="0"/>
<xs:element ref="MultipleOperationTimeout" minOccurs="0"/>
<xs:element ref="MultipleOperationTimeoutAction" minOccurs="0"/>
<xs:element ref="PagesPerMinute" minOccurs="0"/>
<xs:element ref="PagesPerMinuteColor" minOccurs="0"/>
<xs:element ref="ParentPrintersSupported" minOccurs="0"/>
<xs:element ref="PdlOverrideSupported" minOccurs="0"/>
<xs:element ref="PrinterDetailedStatusMessages" minOccurs="0"/>
<xs:element ref="PrinterSettableElementsSupported" minOccurs="0"/>
<xs:element ref="PwgRasterDocumentSheetBack" minOccurs="0"/>
<xs:element ref="PwgRasterDocumentResolutionSupported" minOccurs="0"/>
<xs:element ref="PwgRasterDocumentTypeSupported" minOccurs="0"/>
<xs:element ref="ReferenceUriSchemesSupported" minOccurs="0"/>
<xs:element ref="RepertoiresSupported" minOccurs="0"/>
<xs:element ref="ServiceConfigChangeDateTime" minOccurs="0"/>
<xs:element ref="ServiceConfigChangeTime" minOccurs="0"/>
<xs:element ref="ServiceIccProfiles" minOccurs="0"/>
<xs:element ref="ServiceIcons" minOccurs="0"/>
<xs:element ref="ServiceMandatoryJobElements" minOccurs="0"/>
<xs:element ref="SubordinatePrintersSupported" minOccurs="0"/>
<xs:element ref="UserDefinedValuesSupported" minOccurs="0"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
<!-- PrintServiceDescription - group -->
</xs:complexType>
<xs:element name="PrintServiceDescription" type="PrintServiceDescriptionType"/>
<!-- PrintServices - set of Print services -->
<xs:complexType name="PrintServicesType">
<xs:sequence>
<xs:element ref="PrintService" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<!-- PrintServices - set of Print services -->
</xs:complexType>
<xs:element name="PrintServices" type="PrintServicesType"/>
<!-- PrintService - object -->
<xs:element name="JobConstraintsSupported">
<xs:complexType>
<xs:sequence>
<xs:element name="JobConstraint">
<xs:complexType>
<xs:sequence>
<xs:element name="ResolverName"/>
<xs:element name="JobTicketElements" type="PrintServiceCapabilitiesType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="JobResolversSupported">
<xs:complexType>
<xs:sequence>
<xs:element name="JobResolver">
<xs:complexType>
<xs:sequence>
<xs:element name="ResolverName"/>
<xs:element name="JobTicketElements" type="PrintServiceCapabilitiesType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="PrintServiceBaseType">
<xs:sequence>
<xs:element ref="PrintServiceCapabilities" minOccurs="0"/>
<xs:element ref="PrintServiceCapabilitiesReady" minOccurs="0"/>
<xs:element name="PrintServiceConfiguration" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element ref="Consoles" minOccurs="0"/>
<xs:element ref="Covers" minOccurs="0"/>
<xs:element ref="Finishers" minOccurs="0"/>
<xs:element ref="InputChannels" minOccurs="0"/>
<xs:element ref="InputTrays" minOccurs="0"/>
<xs:element ref="Interfaces" minOccurs="0"/>
<xs:element ref="Interpreters" minOccurs="0"/>
<xs:element ref="Markers" minOccurs="0"/>
<xs:element ref="MediaPaths" minOccurs="0"/>
<xs:element ref="OutputTrays" minOccurs="0"/>
<xs:element ref="Processors" minOccurs="0"/>
<xs:element ref="Storages" minOccurs="0"/>
<xs:element ref="VendorSubunits" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="PrintServiceDefaults" minOccurs="0"/>
<xs:element ref="PrintServiceDescription"/>
<xs:element ref="PrintServiceStatus"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<!-- PrintService - object -->
</xs:complexType>
<xs:complexType name="PrintServiceType">
<xs:complexContent>
<xs:extension base="PrintServiceBaseType">
<xs:sequence>
<xs:element name="JobTable">
<xs:complexType>
<xs:sequence>
<xs:element name="ActiveJobs" type="PrintJobsType"/>
<xs:element name="JobHistory" type="PrintJobsType" minOccurs="0"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="PrintService" type="PrintServiceType"/>
</xs:schema>