Subversion Repositories ALCASAR

Rev

Details | Last modification | View Log

Rev Author Line No. Line
2770 rexy 1
<?xml version="1.0" encoding="UTF-8"?>
2
<schema targetNamespace="http://phpsysinfo.sourceforge.net/" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://phpsysinfo.sourceforge.net/">
3
 
4
    <complexType name="Generation">
5
        <attribute name="version" type="string" use="required"></attribute>
6
        <attribute name="timestamp" type="unsignedLong" use="required"></attribute>
7
    </complexType>
8
 
9
    <complexType name="Options">
10
        <attribute name="tempFormat" type="string" use="required"></attribute>
11
        <attribute name="byteFormat" type="string" use="required"></attribute>
12
        <attribute name="refresh" type="unsignedInt" use="required"></attribute>
13
        <attribute name="threshold" type="unsignedInt" use="optional"></attribute>
14
    </complexType>
15
 
16
    <complexType name="UsedPlugins">
17
        <sequence>
18
            <element name="Plugin" type="tns:Plugin" minOccurs="0" maxOccurs="unbounded"></element>
19
        </sequence>
20
    </complexType>
21
 
22
    <complexType name="Vitals">
23
        <attribute name="Hostname" type="string" use="required"></attribute>
24
        <attribute name="IPAddr" type="string" use="required"></attribute>
25
        <attribute name="Kernel" type="string" use="required"></attribute>
26
        <attribute name="Distro" type="string" use="required"></attribute>
27
        <attribute name="Distroicon" type="string" use="required"></attribute>
28
        <attribute name="OS" type="string" use="required"></attribute>
29
        <attribute name="Uptime" type="unsignedLong" use="required"></attribute>
30
        <attribute name="Users" type="unsignedLong" use="required"></attribute>
31
        <attribute name="LoadAvg" type="string" use="required"></attribute>
32
        <attribute name="CPULoad" type="integer" use="optional"></attribute>
33
        <attribute name="SysLang" type="string" use="optional"></attribute>
34
        <attribute name="CodePage" type="string" use="optional"></attribute>
35
        <attribute name="Processes" type="string" use="optional"></attribute>
36
    </complexType>
37
 
38
    <complexType name="NetDevice">
39
        <attribute name="Name" type="string" use="required"></attribute>
40
        <attribute name="RxBytes" type="integer" use="required"></attribute>
41
        <attribute name="TxBytes" type="integer" use="required"></attribute>
42
        <attribute name="Err" type="integer" use="required"></attribute>
43
        <attribute name="Drops" type="integer" use="required"></attribute>
44
        <attribute name="Info" type="string" use="optional"></attribute>
45
    </complexType>
46
 
47
 
48
    <complexType name="Network">
49
        <sequence>
50
            <element name="NetDevice" type="tns:NetDevice" minOccurs="0" maxOccurs="unbounded"></element>
51
        </sequence>
52
    </complexType>
53
 
54
 
55
    <complexType name="HWDevice">
56
        <attribute name="Name" type="string" use="required"></attribute>
57
        <attribute name="Count" use="optional">
58
            <simpleType>
59
                <restriction base="integer">
60
                    <minExclusive value="1"></minExclusive>
61
                </restriction>
62
            </simpleType>
63
        </attribute>
64
        <attribute name="Capacity" use="optional">
65
            <simpleType>
66
                <restriction base="unsignedLong">
67
                    <minExclusive value="0"></minExclusive>
68
                </restriction>
69
            </simpleType>
70
        </attribute>
71
    </complexType>
72
 
73
    <complexType name="PCI">
74
        <sequence>
75
            <element name="PCI" type="tns:HWDevice" minOccurs="0" maxOccurs="unbounded"></element>
76
        </sequence>
77
    </complexType>
78
 
79
    <complexType name="USB">
80
        <sequence>
81
            <element name="USB" type="tns:HWDevice" minOccurs="0" maxOccurs="unbounded"></element>
82
        </sequence>
83
    </complexType>
84
 
85
    <complexType name="IDE">
86
        <sequence>
87
            <element name="IDE" type="tns:HWDevice" minOccurs="0" maxOccurs="unbounded"></element>
88
        </sequence>
89
    </complexType>
90
 
91
    <complexType name="SCSI">
92
        <sequence>
93
            <element name="SCSI" type="tns:HWDevice" minOccurs="0" maxOccurs="unbounded"></element>
94
        </sequence>
95
    </complexType>
96
 
97
    <complexType name="NVMe">
98
        <sequence>
99
            <element name="NVMe" type="tns:HWDevice" minOccurs="0" maxOccurs="unbounded"></element>
100
        </sequence>
101
    </complexType>
102
 
103
    <complexType name="TB">
104
        <sequence>
105
            <element name="TB" type="tns:HWDevice" minOccurs="0" maxOccurs="unbounded"></element>
106
        </sequence>
107
    </complexType>
108
 
109
    <complexType name="I2C">
110
        <sequence>
111
            <element name="I2C" type="tns:HWDevice" minOccurs="0" maxOccurs="unbounded"></element>
112
        </sequence>
113
    </complexType>
114
 
115
    <complexType name="CPU">
116
        <sequence>
117
            <element name="CpuCore" type="tns:CpuCore" minOccurs="0" maxOccurs="unbounded"></element>
118
        </sequence>
119
    </complexType>
120
 
121
    <complexType name="CpuCore">
122
        <attribute name="Model" type="string" use="required"></attribute>
123
        <attribute name="CpuSpeed" use="optional">
124
            <simpleType>
125
                <restriction base="unsignedLong">
126
                    <minInclusive value="0"></minInclusive>
127
                </restriction>
128
            </simpleType>
129
        </attribute>
130
        <attribute name="CpuSpeedMax" use="optional">
131
            <simpleType>
132
                <restriction base="unsignedLong">
133
                    <minInclusive value="0"></minInclusive>
134
                </restriction>
135
            </simpleType>
136
        </attribute>
137
        <attribute name="CpuSpeedMin" use="optional">
138
            <simpleType>
139
                <restriction base="unsignedLong">
140
                    <minInclusive value="0"></minInclusive>
141
                </restriction>
142
            </simpleType>
143
        </attribute>
144
        <attribute name="Cache" use="optional">
145
            <simpleType>
146
                <restriction base="unsignedLong">
147
                    <minInclusive value="0"></minInclusive>
148
                </restriction>
149
            </simpleType>
150
        </attribute>
151
        <attribute name="Virtualization" type="string" use="optional"></attribute>
152
        <attribute name="BusSpeed" use="optional">
153
            <simpleType>
154
                <restriction base="unsignedLong">
155
                    <minInclusive value="0"></minInclusive>
156
                </restriction>
157
            </simpleType>
158
        </attribute>
159
        <attribute name="Bogomips" use="optional">
160
            <simpleType>
161
                <restriction base="unsignedLong">
162
                    <minInclusive value="0"></minInclusive>
163
                </restriction>
164
            </simpleType>
165
        </attribute>
166
        <attribute name="CpuTemp" use="optional">
167
            <simpleType>
168
                <restriction base="unsignedLong">
169
                    <minInclusive value="0"></minInclusive>
170
                </restriction>
171
            </simpleType>
172
        </attribute>
173
        <attribute name="Manufacturer" type="string" use="optional"></attribute>
174
        <attribute name="Load" use="optional">
175
            <simpleType>
176
                <restriction base="unsignedLong">
177
                    <minInclusive value="0"></minInclusive>
178
                </restriction>
179
            </simpleType>
180
        </attribute>
181
    </complexType>
182
 
183
    <complexType name="Hardware">
184
        <attribute name="Name" type="string" use="optional"></attribute>
185
        <sequence>
186
            <element name="PCI" type="tns:PCI" minOccurs="0" maxOccurs="1"></element>
187
            <element name="USB" type="tns:USB" minOccurs="0" maxOccurs="1"></element>
188
            <element name="IDE" type="tns:IDE" minOccurs="0" maxOccurs="1"></element>
189
            <element name="SCSI" type="tns:SCSI" minOccurs="0" maxOccurs="1"></element>
190
            <element name="TB" type="tns:TB" minOccurs="0" maxOccurs="1"></element>
191
            <element name="I2C" type="tns:I2C" minOccurs="0" maxOccurs="1"></element>
192
            <element name="CPU" type="tns:CPU" minOccurs="0" maxOccurs="1"></element>
193
        </sequence>
194
    </complexType>
195
 
196
    <complexType name="Plugin">
197
        <attribute name="name" type="string"></attribute>
198
    </complexType>
199
 
200
    <complexType name="phpsysinfo">
201
        <sequence>
202
            <element name="Generation" type="tns:Generation" minOccurs="1" maxOccurs="1"></element>
203
            <element name="Options" type="tns:Options" minOccurs="1" maxOccurs="1"></element>
204
            <element name="UsedPlugins" type="tns:UsedPlugins" minOccurs="1" maxOccurs="1"></element>
205
            <element name="Vitals" type="tns:Vitals" minOccurs="1" maxOccurs="1"></element>
206
            <element name="Network" type="tns:Network" minOccurs="1" maxOccurs="1"></element>
207
            <element name="Hardware" type="tns:Hardware" minOccurs="1" maxOccurs="1"></element>
208
            <element name="Memory" type="tns:Memory" minOccurs="1" maxOccurs="1"></element>
209
            <element name="FileSystem" type="tns:FileSystem" minOccurs="1" maxOccurs="1"></element>
210
            <element name="MBInfo" type="tns:MBInfo" minOccurs="1" maxOccurs="1"></element>
211
            <element name="UPSInfo" type="tns:UPSInfo" minOccurs="1" maxOccurs="1"></element>
212
            <element name="Plugins" type="tns:Plugins" minOccurs="1" maxOccurs="1"></element>
213
        </sequence>
214
    </complexType>
215
 
216
 
217
    <complexType name="Memory">
218
        <sequence>
219
            <element name="Details" type="tns:Details" minOccurs="1" maxOccurs="1"></element>
220
            <element name="Swap" type="tns:Swap" minOccurs="0" maxOccurs="1"></element>
221
        </sequence>
222
        <attribute name="Free" use="required">
223
            <simpleType>
224
                <restriction base="unsignedLong">
225
                    <minInclusive value="0"></minInclusive>
226
                </restriction>
227
            </simpleType>
228
        </attribute>
229
        <attribute name="Used" use="required">
230
            <simpleType>
231
                <restriction base="unsignedLong">
232
                    <minInclusive value="0"></minInclusive>
233
                </restriction>
234
            </simpleType>
235
        </attribute>
236
        <attribute name="Total" use="required">
237
            <simpleType>
238
                <restriction base="unsignedLong">
239
                    <minInclusive value="0"></minInclusive>
240
                </restriction>
241
            </simpleType>
242
        </attribute>
243
        <attribute name="Percent" use="required">
244
            <simpleType>
245
                <restriction base="unsignedLong">
246
                    <minInclusive value="0"></minInclusive>
247
                </restriction>
248
            </simpleType>
249
        </attribute>
250
    </complexType>
251
 
252
    <complexType name="Details">
253
        <attribute name="App" use="optional">
254
            <simpleType>
255
                <restriction base="unsignedLong">
256
                    <minInclusive value="0"></minInclusive>
257
                </restriction>
258
            </simpleType>
259
        </attribute>
260
        <attribute name="AppPercent" use="optional">
261
            <simpleType>
262
                <restriction base="unsignedLong">
263
                    <minInclusive value="0"></minInclusive>
264
                </restriction>
265
            </simpleType>
266
        </attribute>
267
        <attribute name="Cached" use="optional">
268
            <simpleType>
269
                <restriction base="unsignedLong">
270
                    <minInclusive value="0"></minInclusive>
271
                </restriction>
272
            </simpleType>
273
        </attribute>
274
        <attribute name="CachedPercent" use="optional">
275
            <simpleType>
276
                <restriction base="unsignedLong">
277
                    <minInclusive value="0"></minInclusive>
278
                </restriction>
279
            </simpleType>
280
        </attribute>
281
        <attribute name="Buffers" use="optional">
282
            <simpleType>
283
                <restriction base="unsignedLong">
284
                    <minInclusive value="0"></minInclusive>
285
                </restriction>
286
            </simpleType>
287
        </attribute>
288
        <attribute name="BuffersPercent" use="optional">
289
            <simpleType>
290
                <restriction base="unsignedLong">
291
                    <minInclusive value="0"></minInclusive>
292
                </restriction>
293
            </simpleType>
294
        </attribute>
295
    </complexType>
296
 
297
    <complexType name="Swap">
298
        <sequence>
299
            <element name="Mount" type="tns:DiskDevice" minOccurs="1" maxOccurs="unbounded"></element>
300
        </sequence>
301
        <attribute name="Free" use="required">
302
            <simpleType>
303
                <restriction base="unsignedLong">
304
                    <minInclusive value="0"></minInclusive>
305
                </restriction>
306
            </simpleType>
307
        </attribute>
308
        <attribute name="Used" use="required">
309
            <simpleType>
310
                <restriction base="unsignedLong">
311
                    <minInclusive value="0"></minInclusive>
312
                </restriction>
313
            </simpleType>
314
        </attribute>
315
        <attribute name="Total" use="required">
316
            <simpleType>
317
                <restriction base="unsignedLong">
318
                    <minInclusive value="0"></minInclusive>
319
                </restriction>
320
            </simpleType>
321
        </attribute>
322
        <attribute name="Percent" use="required">
323
            <simpleType>
324
                <restriction base="unsignedLong">
325
                    <minInclusive value="0"></minInclusive>
326
                </restriction>
327
            </simpleType>
328
        </attribute>
329
    </complexType>
330
 
331
    <complexType name="DiskDevice">
332
        <attribute name="MountPointID" use="required">
333
            <simpleType>
334
                <restriction base="unsignedLong">
335
                    <minInclusive value="0"></minInclusive>
336
                </restriction>
337
            </simpleType>
338
        </attribute>
339
        <attribute name="FSType" type="string"></attribute>
340
        <attribute name="Name" type="string" use="required"></attribute>
341
        <attribute name="Free" use="required">
342
            <simpleType>
343
                <restriction base="unsignedLong">
344
                    <minInclusive value="0"></minInclusive>
345
                </restriction>
346
            </simpleType>
347
        </attribute>
348
        <attribute name="Used" use="required">
349
            <simpleType>
350
                <restriction base="unsignedLong">
351
                    <minInclusive value="0"></minInclusive>
352
                </restriction>
353
            </simpleType>
354
        </attribute>
355
        <attribute name="Total" use="required">
356
            <simpleType>
357
                <restriction base="unsignedLong">
358
                    <minInclusive value="0"></minInclusive>
359
                </restriction>
360
            </simpleType>
361
        </attribute>
362
        <attribute name="Percent" use="required">
363
            <simpleType>
364
                <restriction base="unsignedLong">
365
                    <minInclusive value="0"></minInclusive>
366
                </restriction>
367
            </simpleType>
368
        </attribute>
369
        <attribute name="MountOptions" type="string" use="optional"></attribute>
370
        <attribute name="Inodes" use="optional">
371
            <simpleType>
372
                <restriction base="unsignedLong">
373
                    <minInclusive value="0"></minInclusive>
374
                </restriction>
375
            </simpleType>
376
        </attribute>
377
        <attribute name="MountPoint" type="string" use="optional"></attribute>
378
    </complexType>
379
 
380
    <complexType name="FileSystem">
381
        <sequence>
382
            <element name="Mount" type="tns:DiskDevice" minOccurs="0" maxOccurs="unbounded"></element>
383
        </sequence>
384
    </complexType>
385
 
386
    <complexType name="MBInfo">
387
        <sequence>
388
            <element name="Temperature" type="tns:Temperature" minOccurs="0" maxOccurs="1"></element>
389
            <element name="Fans" type="tns:Fans" minOccurs="0" maxOccurs="1"></element>
390
            <element name="Voltage" type="tns:Voltage" minOccurs="0" maxOccurs="1"></element>
391
        </sequence>
392
    </complexType>
393
 
394
    <complexType name="Sensor">
395
        <attribute name="Label" type="string" use="required"></attribute>
396
        <attribute name="Value" use="required">
397
            <simpleType>
398
                <restriction base="unsignedLong">
399
                    <minInclusive value="0"></minInclusive>
400
                </restriction>
401
            </simpleType>
402
        </attribute>
403
        <attribute name="Min" use="required">
404
            <simpleType>
405
                <restriction base="unsignedLong">
406
                    <minInclusive value="0"></minInclusive>
407
                </restriction>
408
            </simpleType>
409
        </attribute>
410
        <attribute name="Max" use="required">
411
            <simpleType>
412
                <restriction base="unsignedLong">
413
                    <minInclusive value="0"></minInclusive>
414
                </restriction>
415
            </simpleType>
416
        </attribute>
417
    </complexType>
418
 
419
    <complexType name="Temperature">
420
        <sequence>
421
            <element name="Item" type="tns:Sensor" minOccurs="1" maxOccurs="unbounded"></element>
422
        </sequence>
423
    </complexType>
424
 
425
    <complexType name="Fans">
426
        <sequence>
427
            <element name="Item" type="tns:Sensor" minOccurs="1" maxOccurs="unbounded"></element>
428
        </sequence>
429
    </complexType>
430
 
431
    <complexType name="Voltage">
432
        <sequence>
433
            <element name="Item" type="tns:Sensor" minOccurs="1" maxOccurs="unbounded"></element>
434
        </sequence>
435
    </complexType>
436
 
437
    <complexType name="UPSDevice">
438
        <attribute name="Name" type="string" use="required"></attribute>
439
        <attribute name="Model" type="string" use="required"></attribute>
440
        <attribute name="Mode" type="string" use="required"></attribute>
441
        <attribute name="StartTime" type="string" use="optional"></attribute>
442
        <attribute name="Status" type="string" use="required"></attribute>
443
        <attribute name="Temperature" type="unsignedLong" use="optional"></attribute>
444
        <attribute name="OutagesCount" type="unsignedLong" use="optional"></attribute>
445
        <attribute name="LastOutage" type="string" use="optional"></attribute>
446
        <attribute name="LastOutageFinish" type="string" use="optional"></attribute>
447
        <attribute name="LineVoltage" type="unsignedLong" use="optional"></attribute>
448
        <attribute name="LoadPercent" type="unsignedLong" use="optional"></attribute>
449
        <attribute name="BatteryVoltage" type="unsignedLong" use="optional"></attribute>
450
        <attribute name="BatteryChargePercent" type="unsignedLong" use="optional"></attribute>
451
        <attribute name="TimeLeftMinutes" type="string" use="optional"></attribute>
452
    </complexType>
453
 
454
    <complexType name="UPS">
455
        <sequence>
456
            <element name="UPS" type="tns:UPSDevice" minOccurs="1" maxOccurs="1"></element>
457
        </sequence>
458
    </complexType>
459
 
460
    <complexType name="UPSInfo">
461
        <sequence>
462
            <element name="UPSInfo" type="tns:UPS" minOccurs="0" maxOccurs="unbounded"></element>
463
        </sequence>
464
    </complexType>
465
 
466
    <complexType name="Plugins">
467
        <sequence>
468
            <any minOccurs="0" maxOccurs="unbounded"></any>
469
        </sequence></complexType>
470
 
471
    <element name="phpsysinfo" type="tns:phpsysinfo"></element>
472
</schema>