-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathsep.xsd
6715 lines (6676 loc) · 352 KB
/
sep.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
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ieee.org/2030.5" targetNamespace="http://ieee.org/2030.5" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0.4">
<xs:annotation>
<xs:documentation>The IEEE 2030.5 model is organized into function sets, represented by sub-packages. However, all structures are defined inside a single namespace.
Legal Notice
Copyright 2011-2013 © ZigBee Alliance, Inc. and HomePlug Powerline Alliance, Inc. All rights Reserved. This information within this document is the property of the ZigBee Alliance and the HomePlug Powerline Alliance and its use and disclosure are restricted.
Elements of ZigBee Alliance and HomePlug Powerline Alliance specifications may be subject to third party intellectual property rights, including without limitation, patent, copyright or trademark rights (such a third party may or may not be a member of ZigBee and/or HomePlug). ZigBee and HomePlug are not responsible and shall not be held responsible in any manner for identifying or failing to identify any or all such third party intellectual property rights.
This document and the information contained herein are provided on an “AS IS” basis and ZigBee and HomePlug DISCLAIM ALL WARRANTIES EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO (A) ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OF THIRD PARTIES (INCLUDING WITHOUT LIMITATION ANY INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENT, COPYRIGHT OR TRADEMARK RIGHTS) OR (B) ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT. IN NO EVENT WILL ZIGBEE OR HOMEPLUG BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF BUSINESS, OR FOR ANY OTHER DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES OF ANY KIND, IN CONTRACT OR IN TORT, IN CONNECTION WITH THIS DOCUMENT OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE. All Company, brand and product names may be trademarks that are the sole property of their respective owners.
The above notice and this paragraph MUST be included on all copies of this document that are made.
ZigBee Alliance, Inc.
2400 Camino Ramon, Suite 375
San Ramon, CA 94583
HomePlug Powerline Alliance, Inc.
5200 SW Macadam Ave, Suite 470
Portland, OR 97239</xs:documentation>
</xs:annotation>
<xs:complexType name="DeviceCapability">
<xs:annotation>
<xs:documentation>Returned by the URI provided by DNS-SD, to allow clients to find the URIs to the resources in which they are interested.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="FunctionSetAssignmentsBase">
<xs:sequence>
<xs:element name="EndDeviceListLink" type="EndDeviceListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="MirrorUsagePointListLink" type="MirrorUsagePointListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="SelfDeviceLink" type="SelfDeviceLink" minOccurs="0" maxOccurs="1" />
</xs:sequence>
<xs:attribute name="pollRate" use="optional" default="900" type="UInt32">
<xs:annotation>
<xs:documentation>The default polling rate for this function set (this resource and all resources below), in seconds. If not specified, a default of 900 seconds (15 minutes) is used. It is RECOMMENDED a client poll the resources of this function set every pollRate seconds.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="AbstractDevice">
<xs:annotation>
<xs:documentation>The EndDevice providing the resources available within the DeviceCapabilities.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="SubscribableResource">
<xs:sequence>
<xs:element name="ConfigurationLink" type="ConfigurationLink" minOccurs="0" maxOccurs="1" />
<xs:element name="DERListLink" type="DERListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="DeviceInformationLink" type="DeviceInformationLink" minOccurs="0" maxOccurs="1" />
<xs:element name="DeviceStatusLink" type="DeviceStatusLink" minOccurs="0" maxOccurs="1" />
<xs:element name="FileStatusLink" type="FileStatusLink" minOccurs="0" maxOccurs="1" />
<xs:element name="IPInterfaceListLink" type="IPInterfaceListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="lFDI" minOccurs="0" maxOccurs="1" type="HexBinary160">
<xs:annotation>
<xs:documentation>Long form of device identifier. See the Security section for additional details.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LoadShedAvailabilityListLink" type="LoadShedAvailabilityListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="loadShedDeviceCategory" minOccurs="0" maxOccurs="1" type="DeviceCategoryType">
<xs:annotation>
<xs:documentation>This field is for use in devices that can shed load. If you are a device that does not respond to EndDeviceControls (for instance, an ESI), this field should not have any bits set.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LogEventListLink" type="LogEventListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="PowerStatusLink" type="PowerStatusLink" minOccurs="0" maxOccurs="1" />
<xs:element name="sFDI" minOccurs="1" maxOccurs="1" type="SFDIType">
<xs:annotation>
<xs:documentation>Short form of device identifier, WITH the checksum digit. See the Security section for additional details.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="DeviceStatus">
<xs:annotation>
<xs:documentation>Status of device</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Resource">
<xs:sequence>
<xs:element name="changedTime" minOccurs="1" maxOccurs="1" type="TimeType">
<xs:annotation>
<xs:documentation>The time at which the reported values were recorded.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="onCount" minOccurs="0" maxOccurs="1" type="UInt16">
<xs:annotation>
<xs:documentation>The number of times that the device has been turned on: Count of "device on" times, since the last time the counter was reset</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="opState" minOccurs="0" maxOccurs="1" type="UInt8">
<xs:annotation>
<xs:documentation>Device operational state:
0 - Not applicable / Unknown
1 - Not operating
2 - Operating
3 - Starting up
4 - Shutting down
5 - At disconnect level
6 - kW ramping
7 - kVar ramping</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="opTime" minOccurs="0" maxOccurs="1" type="UInt32">
<xs:annotation>
<xs:documentation>Total time device has operated: re-settable: Accumulated time in seconds since the last time the counter was reset.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Temperature" type="Temperature" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="TimeLink" type="TimeLink" minOccurs="0" maxOccurs="1" />
</xs:sequence>
<xs:attribute name="pollRate" use="optional" default="900" type="UInt32">
<xs:annotation>
<xs:documentation>The default polling rate for this function set (this resource and all resources below), in seconds. If not specified, a default of 900 seconds (15 minutes) is used. It is RECOMMENDED a client poll the resources of this function set every pollRate seconds.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="EndDevice">
<xs:annotation>
<xs:documentation>Asset container that performs one or more end device functions. Contains information about individual devices in the network.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="AbstractDevice">
<xs:sequence>
<xs:element name="changedTime" minOccurs="1" maxOccurs="1" type="TimeType">
<xs:annotation>
<xs:documentation>The time at which this resource was last modified or created.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="enabled" minOccurs="0" maxOccurs="1" type="xs:boolean">
<xs:annotation>
<xs:documentation>This attribute indicates whether or not an EndDevice is enabled, or registered, on the server. If a server sets this attribute to false, the device is no longer registered. It should be noted that servers can delete EndDevice instances, but using this attribute for some time is more convenient for clients.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FlowReservationRequestListLink" type="FlowReservationRequestListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="FlowReservationResponseListLink" type="FlowReservationResponseListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="FunctionSetAssignmentsListLink" type="FunctionSetAssignmentsListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="RegistrationLink" type="RegistrationLink" minOccurs="0" maxOccurs="1" />
<xs:element name="SubscriptionListLink" type="SubscriptionListLink" minOccurs="0" maxOccurs="1" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="EndDeviceList">
<xs:annotation>
<xs:documentation>A List element to hold EndDevice objects.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="SubscribableList">
<xs:sequence>
<xs:element name="EndDevice" type="EndDevice" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="pollRate" use="optional" default="900" type="UInt32">
<xs:annotation>
<xs:documentation>The default polling rate for this function set (this resource and all resources below), in seconds. If not specified, a default of 900 seconds (15 minutes) is used. It is RECOMMENDED a client poll the resources of this function set every pollRate seconds.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Registration">
<xs:annotation>
<xs:documentation>Registration represents an authorization to access the resources on a host.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Resource">
<xs:sequence>
<xs:element name="dateTimeRegistered" minOccurs="1" maxOccurs="1" type="TimeType">
<xs:annotation>
<xs:documentation>Contains the time at which this registration was created, by which clients MAY prioritize information providers with the most recent registrations, when no additional direction from the consumer is available.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pIN" minOccurs="1" maxOccurs="1" type="PINType">
<xs:annotation>
<xs:documentation>Contains the registration PIN number associated with the device, including the checksum digit.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="pollRate" use="optional" default="900" type="UInt32">
<xs:annotation>
<xs:documentation>The default polling rate for this function set (this resource and all resources below), in seconds. If not specified, a default of 900 seconds (15 minutes) is used. It is RECOMMENDED a client poll the resources of this function set every pollRate seconds.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="SelfDevice">
<xs:annotation>
<xs:documentation>The EndDevice providing the resources available within the DeviceCapabilities.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="AbstractDevice">
<xs:attribute name="pollRate" use="optional" default="900" type="UInt32">
<xs:annotation>
<xs:documentation>The default polling rate for this function set (this resource and all resources below), in seconds. If not specified, a default of 900 seconds (15 minutes) is used. It is RECOMMENDED a client poll the resources of this function set every pollRate seconds.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Temperature">
<xs:annotation>
<xs:documentation>Specification of a temperature.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="multiplier" minOccurs="1" maxOccurs="1" type="PowerOfTenMultiplierType">
<xs:annotation>
<xs:documentation>Multiplier for 'unit'.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="subject" minOccurs="1" maxOccurs="1" type="UInt8">
<xs:annotation>
<xs:documentation>The subject of the temperature measurement
0 - Enclosure
1 - Transformer
2 - HeatSink</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="value" minOccurs="1" maxOccurs="1" type="Int16">
<xs:annotation>
<xs:documentation>Value in Degrees Celsius (uom 23).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="FunctionSetAssignmentsBase">
<xs:annotation>
<xs:documentation>Defines a collection of function set instances that are to be used by one or more devices as indicated by the EndDevice object(s) of the server.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Resource">
<xs:sequence>
<xs:element name="CustomerAccountListLink" type="CustomerAccountListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="DemandResponseProgramListLink" type="DemandResponseProgramListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="DERProgramListLink" type="DERProgramListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="FileListLink" type="FileListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="MessagingProgramListLink" type="MessagingProgramListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="PrepaymentListLink" type="PrepaymentListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="ResponseSetListLink" type="ResponseSetListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="TariffProfileListLink" type="TariffProfileListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="TimeLink" type="TimeLink" minOccurs="0" maxOccurs="1" />
<xs:element name="UsagePointListLink" type="UsagePointListLink" minOccurs="0" maxOccurs="1" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="FunctionSetAssignments">
<xs:annotation>
<xs:documentation>Provides an identifiable, subscribable collection of resources for a particular device to consume.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="FunctionSetAssignmentsBase">
<xs:sequence>
<xs:element name="mRID" minOccurs="1" maxOccurs="1" type="mRIDType">
<xs:annotation>
<xs:documentation>The global identifier of the object.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="description" minOccurs="0" maxOccurs="1" type="String32">
<xs:annotation>
<xs:documentation>The description is a human readable text describing or naming the object.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="version" minOccurs="0" maxOccurs="1" type="VersionType">
<xs:annotation>
<xs:documentation>Contains the version number of the object. See the type definition for details.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="subscribable" use="optional" default="0" type="SubscribableType">
<xs:annotation>
<xs:documentation>Indicates whether or not subscriptions are supported for this resource, and whether or not conditional (thresholds) are supported. If not specified, is "not subscribable" (0).</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="FunctionSetAssignmentsList">
<xs:annotation>
<xs:documentation>A List element to hold FunctionSetAssignments objects.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="SubscribableList">
<xs:sequence>
<xs:element name="FunctionSetAssignments" type="FunctionSetAssignments" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="pollRate" use="optional" default="900" type="UInt32">
<xs:annotation>
<xs:documentation>The default polling rate for this function set (this resource and all resources below), in seconds. If not specified, a default of 900 seconds (15 minutes) is used. It is RECOMMENDED a client poll the resources of this function set every pollRate seconds.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Condition">
<xs:annotation>
<xs:documentation>Indicates a condition that must be satisfied for the Notification to be triggered.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="attributeIdentifier" minOccurs="1" maxOccurs="1" type="UInt8">
<xs:annotation>
<xs:documentation>0 = Reading value
1-255 = Reserved</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="lowerThreshold" minOccurs="1" maxOccurs="1" type="Int48">
<xs:annotation>
<xs:documentation>The value of the lower threshold</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="upperThreshold" minOccurs="1" maxOccurs="1" type="Int48">
<xs:annotation>
<xs:documentation>The value of the upper threshold</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SubscriptionBase">
<xs:annotation>
<xs:documentation>Holds the information related to a client subscription to receive updates to a resource automatically. The actual resources may be passed in the Notification by specifying a specific xsi:type for the Resource and passing the full representation.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Resource">
<xs:sequence>
<xs:element name="subscribedResource" minOccurs="1" maxOccurs="1" type="xs:anyURI">
<xs:annotation>
<xs:documentation>The resource for which the subscription applies. Query string parameters SHALL NOT be specified when subscribing to list resources. Should a query string parameter be specified, servers SHALL ignore them.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Subscription">
<xs:annotation>
<xs:documentation>Holds the information related to a client subscription to receive updates to a resource automatically.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="SubscriptionBase">
<xs:sequence>
<xs:element name="Condition" type="Condition" minOccurs="0" maxOccurs="1" />
<xs:element name="encoding" minOccurs="1" maxOccurs="1" type="UInt8">
<xs:annotation>
<xs:documentation>0 - application/sep+xml
1 - application/sep-exi
2-255 - reserved</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="level" minOccurs="1" maxOccurs="1" type="String16">
<xs:annotation>
<xs:documentation>Contains the preferred schema and extensibility level indication such as "+S1"</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="limit" minOccurs="1" maxOccurs="1" type="UInt16">
<xs:annotation>
<xs:documentation>This element is used to indicate the maximum number of list items that should be included in a notification when the subscribed resource changes. This limit is meant to be functionally equivalent to the ‘limit’ query string parameter, but applies to both list resources as well as other resources. For list resources, if a limit of ‘0’ is specified, then notifications SHALL contain a list resource with results=’0’ (equivalent to a simple change notification). For list resources, if a limit greater than ‘0’ is specified, then notifications SHALL contain a list resource with results equal to the limit specified (or less, should the list contain fewer items than the limit specified or should the server be unable to provide the requested number of items for any reason) and follow the same rules for list resources (e.g., ordering). For non-list resources, if a limit of ‘0’ is specified, then notifications SHALL NOT contain a resource representation (equivalent to a simple change notification). For non-list resources, if a limit greater than ‘0’ is specified, then notifications SHALL contain the representation of the changed resource.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="notificationURI" minOccurs="1" maxOccurs="1" type="xs:anyURI">
<xs:annotation>
<xs:documentation>The resource to which to post the notifications about the requested subscribed resource. Because this URI will exist on a server other than the one being POSTed to, this attribute SHALL be a fully-qualified absolute URI, not a relative reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="SubscriptionList">
<xs:annotation>
<xs:documentation>A List element to hold Subscription objects.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="List">
<xs:sequence>
<xs:element name="Subscription" type="Subscription" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="pollRate" use="optional" default="900" type="UInt32">
<xs:annotation>
<xs:documentation>The default polling rate for this function set (this resource and all resources below), in seconds. If not specified, a default of 900 seconds (15 minutes) is used. It is RECOMMENDED a client poll the resources of this function set every pollRate seconds.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Notification">
<xs:annotation>
<xs:documentation>Holds the information related to a client subscription to receive updates to a resource automatically. The actual resources may be passed in the Notification by specifying a specific xsi:type for the Resource and passing the full representation.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="SubscriptionBase">
<xs:sequence>
<xs:element name="newResourceURI" minOccurs="0" maxOccurs="1" type="xs:anyURI">
<xs:annotation>
<xs:documentation>The new location of the resource, if moved. This attribute SHALL be a fully-qualified absolute URI, not a relative reference.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Resource" type="Resource" minOccurs="0" maxOccurs="1" />
<xs:element name="status" minOccurs="1" maxOccurs="1" type="UInt8">
<xs:annotation>
<xs:documentation>0 = Default Status
1 = Subscription canceled, no additional information
2 = Subscription canceled, resource moved
3 = Subscription canceled, resource definition changed (e.g., a new version of IEEE 2030.5)
4 = Subscription canceled, resource deleted
All other values reserved.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="subscriptionURI" minOccurs="1" maxOccurs="1" type="xs:anyURI">
<xs:annotation>
<xs:documentation>The subscription from which this notification was triggered. This attribute SHALL be a fully-qualified absolute URI, not a relative reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="NotificationList">
<xs:annotation>
<xs:documentation>A List element to hold Notification objects.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="List">
<xs:sequence>
<xs:element name="Notification" type="Notification" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="DERControlResponse">
<xs:annotation>
<xs:documentation>A response to a DERControl</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Response" />
</xs:complexContent>
</xs:complexType>
<xs:complexType name="FlowReservationResponseResponse">
<xs:annotation>
<xs:documentation>A response to a FlowReservationResponse</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Response" />
</xs:complexContent>
</xs:complexType>
<xs:complexType name="AppliedTargetReduction">
<xs:annotation>
<xs:documentation>Specifies the value of the TargetReduction applied by the device.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="type" minOccurs="1" maxOccurs="1" type="UnitType">
<xs:annotation>
<xs:documentation>Enumerated field representing the type of reduction requested.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="value" minOccurs="1" maxOccurs="1" type="UInt16">
<xs:annotation>
<xs:documentation>Indicates the requested amount of the relevant commodity to be reduced.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DrResponse">
<xs:annotation>
<xs:documentation>A response to a Demand Response Load Control (EndDeviceControl) message.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Response">
<xs:sequence>
<xs:element name="ApplianceLoadReduction" type="ApplianceLoadReduction" minOccurs="0" maxOccurs="1" />
<xs:element name="AppliedTargetReduction" type="AppliedTargetReduction" minOccurs="0" maxOccurs="1" />
<xs:element name="DutyCycle" type="DutyCycle" minOccurs="0" maxOccurs="1" />
<xs:element name="Offset" type="Offset" minOccurs="0" maxOccurs="1" />
<xs:element name="overrideDuration" minOccurs="0" maxOccurs="1" type="UInt16">
<xs:annotation>
<xs:documentation>Indicates the amount of time, in seconds, that the client partially opts-out during the demand response event. When overriding within the allowed override duration, the client SHALL send a partial opt-out (Response status code 8) for partial opt-out upon completion, with the total time the event was overridden (this attribute) populated. The client SHALL send a no participation status response (status type 10) if the user partially opts-out for longer than EndDeviceControl.overrideDuration.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SetPoint" type="SetPoint" minOccurs="0" maxOccurs="1" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="PriceResponse">
<xs:annotation>
<xs:documentation>A response related to a price message.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Response" />
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Response">
<xs:annotation>
<xs:documentation>The Response object is the generic response data repository which is extended for specific function sets.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Resource">
<xs:sequence>
<xs:element name="createdDateTime" minOccurs="0" maxOccurs="1" type="TimeType">
<xs:annotation>
<xs:documentation>The createdDateTime field contains the date and time when the acknowledgement/status occurred in the client. The client will provide the timestamp to ensure the proper time is captured in case the response is delayed in reaching the server (server receipt time would not be the same as the actual confirmation time). The time reported from the client should be relative to the time server indicated by the FunctionSetAssignment that also indicated the event resource; if no FunctionSetAssignment exists, the time of the server where the event resource was hosted.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="endDeviceLFDI" minOccurs="1" maxOccurs="1" type="HexBinary160">
<xs:annotation>
<xs:documentation>Contains the LFDI of the device providing the response.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="status" minOccurs="0" maxOccurs="1" type="UInt8">
<xs:annotation>
<xs:documentation>The status field contains the acknowledgement or status. Each event type (DRLC, DER, Price, or Text) can return different status information (e.g. an Acknowledge will be returned for a Price event where a DRLC event can return Event Received, Event Started, and Event Completed). The Status field value definitions are defined in Table 27: Response Types by Function Set.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="subject" minOccurs="1" maxOccurs="1" type="mRIDType">
<xs:annotation>
<xs:documentation>The subject field provides a method to match the response with the originating event. It is populated with the mRID of the original object.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ResponseList">
<xs:annotation>
<xs:documentation>A List element to hold Response objects.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="List">
<xs:sequence>
<xs:element name="Response" type="Response" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ResponseSet">
<xs:annotation>
<xs:documentation>A container for a ResponseList.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="IdentifiedObject">
<xs:sequence>
<xs:element name="ResponseListLink" type="ResponseListLink" minOccurs="0" maxOccurs="1" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ResponseSetList">
<xs:annotation>
<xs:documentation>A List element to hold ResponseSet objects.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="List">
<xs:sequence>
<xs:element name="ResponseSet" type="ResponseSet" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="pollRate" use="optional" default="900" type="UInt32">
<xs:annotation>
<xs:documentation>The default polling rate for this function set (this resource and all resources below), in seconds. If not specified, a default of 900 seconds (15 minutes) is used. It is RECOMMENDED a client poll the resources of this function set every pollRate seconds.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="TextResponse">
<xs:annotation>
<xs:documentation>A response to a text message</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Response" />
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Time">
<xs:annotation>
<xs:documentation>Contains the representation of time, constantly updated.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Resource">
<xs:sequence>
<xs:element name="currentTime" minOccurs="1" maxOccurs="1" type="TimeType">
<xs:annotation>
<xs:documentation>The current time, in the format defined by TimeType.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dstEndTime" minOccurs="1" maxOccurs="1" type="TimeType">
<xs:annotation>
<xs:documentation>Time at which daylight savings ends (dstOffset no longer applied). Result of dstEndRule calculation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dstOffset" minOccurs="1" maxOccurs="1" type="TimeOffsetType">
<xs:annotation>
<xs:documentation>Daylight savings time offset from local standard time. A typical practice is advancing clocks one hour when daylight savings time is in effect, which would result in a positive dstOffset.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dstStartTime" minOccurs="1" maxOccurs="1" type="TimeType">
<xs:annotation>
<xs:documentation>Time at which daylight savings begins (apply dstOffset). Result of dstStartRule calculation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="localTime" minOccurs="0" maxOccurs="1" type="TimeType">
<xs:annotation>
<xs:documentation>Local time: localTime = currentTime + tzOffset (+ dstOffset when in effect).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="quality" minOccurs="1" maxOccurs="1" type="UInt8">
<xs:annotation>
<xs:documentation>Metric indicating the quality of the time source from which the service acquired time. Lower (smaller) quality enumeration values are assumed to be more accurate.
3 - time obtained from external authoritative source such as NTP
4 - time obtained from level 3 source
5 - time manually set or obtained from level 4 source
6 - time obtained from level 5 source
7 - time intentionally uncoordinated
All other values are reserved for future use.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="tzOffset" minOccurs="1" maxOccurs="1" type="TimeOffsetType">
<xs:annotation>
<xs:documentation>Local time zone offset from currentTime. Does not include any daylight savings time offsets. For American time zones, a negative tzOffset SHALL be used (eg, EST = GMT-5 which is -18000).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="pollRate" use="optional" default="900" type="UInt32">
<xs:annotation>
<xs:documentation>The default polling rate for this function set (this resource and all resources below), in seconds. If not specified, a default of 900 seconds (15 minutes) is used. It is RECOMMENDED a client poll the resources of this function set every pollRate seconds.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="DeviceInformation">
<xs:annotation>
<xs:documentation>Contains identification and other information about the device that changes very infrequently, typically only when updates are applied, if ever.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Resource">
<xs:sequence>
<xs:element name="DRLCCapabilities" type="DRLCCapabilities" minOccurs="0" maxOccurs="1" />
<xs:element name="functionsImplemented" minOccurs="0" maxOccurs="1" type="HexBinary64">
<xs:annotation>
<xs:documentation>Bitmap indicating the function sets used by the device as a client.
0 - Device Capability
1 - Self Device Resource
2 - End Device Resource
3 - Function Set Assignments
4 - Subscription/Notification Mechanism
5 - Response
6 - Time
7 - Device Information
8 - Power Status
9 - Network Status
10 - Log Event
11 - Configuration Resource
12 - Software Download
13 - DRLC
14 - Metering
15 - Pricing
16 - Messaging
17 - Billing
18 - Prepayment
19 - Flow Reservation
20 - DER Control</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="lFDI" minOccurs="1" maxOccurs="1" type="HexBinary160">
<xs:annotation>
<xs:documentation>Long form device identifier. See the Security section for full details.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="mfDate" minOccurs="1" maxOccurs="1" type="TimeType">
<xs:annotation>
<xs:documentation>Date/time of manufacture</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="mfHwVer" minOccurs="1" maxOccurs="1" type="String32">
<xs:annotation>
<xs:documentation>Manufacturer hardware version</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="mfID" minOccurs="1" maxOccurs="1" type="PENType">
<xs:annotation>
<xs:documentation>The manufacturer's IANA Enterprise Number.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="mfInfo" minOccurs="0" maxOccurs="1" type="String32">
<xs:annotation>
<xs:documentation>Manufacturer dependent information related to the manufacture of this device</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="mfModel" minOccurs="1" maxOccurs="1" type="String32">
<xs:annotation>
<xs:documentation>Manufacturer's model number</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="mfSerNum" minOccurs="1" maxOccurs="1" type="String32">
<xs:annotation>
<xs:documentation>Manufacturer assigned serial number</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="primaryPower" minOccurs="1" maxOccurs="1" type="PowerSourceType">
<xs:annotation>
<xs:documentation>Primary source of power.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="secondaryPower" minOccurs="1" maxOccurs="1" type="PowerSourceType">
<xs:annotation>
<xs:documentation>Secondary source of power</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SupportedLocaleListLink" type="SupportedLocaleListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="swActTime" minOccurs="1" maxOccurs="1" type="TimeType">
<xs:annotation>
<xs:documentation>Activation date/time of currently running software</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="swVer" minOccurs="1" maxOccurs="1" type="String32">
<xs:annotation>
<xs:documentation>Currently running software version</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="pollRate" use="optional" default="900" type="UInt32">
<xs:annotation>
<xs:documentation>The default polling rate for this function set (this resource and all resources below), in seconds. If not specified, a default of 900 seconds (15 minutes) is used. It is RECOMMENDED a client poll the resources of this function set every pollRate seconds.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="DRLCCapabilities">
<xs:annotation>
<xs:documentation>Contains information about the static capabilities of the device, to allow service providers to know what types of functions are supported, what the normal operating ranges and limits are, and other similar information, in order to provide better suggestions of applicable programs to receive the maximum benefit.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="averageEnergy" minOccurs="1" maxOccurs="1" type="RealEnergy">
<xs:annotation>
<xs:documentation>The average hourly energy usage when in normal operating mode.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="maxDemand" minOccurs="1" maxOccurs="1" type="ActivePower">
<xs:annotation>
<xs:documentation>The maximum demand rating of this end device.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="optionsImplemented" minOccurs="1" maxOccurs="1" type="HexBinary32">
<xs:annotation>
<xs:documentation>Bitmap indicating the DRLC options implemented by the device.
0 - Target reduction (kWh)
1 - Target reduction (kW)
2 - Target reduction (Watts)
3 - Target reduction (Cubic Meters)
4 - Target reduction (Cubic Feet)
5 - Target reduction (US Gallons)
6 - Target reduction (Imperial Gallons)
7 - Target reduction (BTUs)
8 - Target reduction (Liters)
9 - Target reduction (kPA (gauge))
10 - Target reduction (kPA (absolute))
11 - Target reduction (Mega Joule)
12 - Target reduction (Unitless)
13-15 - Reserved
16 - Temperature set point
17 - Temperature offset
18 - Duty cycle
19 - Load adjustment percentage
20 - Appliance load reduction
21-32 - Reserved</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SupportedLocale">
<xs:annotation>
<xs:documentation>Specifies a locale that is supported</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Resource">
<xs:sequence>
<xs:element name="locale" minOccurs="1" maxOccurs="1" type="LocaleType">
<xs:annotation>
<xs:documentation>The code for a locale that is supported</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="SupportedLocaleList">
<xs:annotation>
<xs:documentation>A List element to hold SupportedLocale objects.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="List">
<xs:sequence>
<xs:element name="SupportedLocale" type="SupportedLocale" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="PowerStatus">
<xs:annotation>
<xs:documentation>Contains the status of the device's power sources</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Resource">
<xs:sequence>
<xs:element name="batteryStatus" minOccurs="1" maxOccurs="1" type="UInt8">
<xs:annotation>
<xs:documentation>Battery system status
0 = unknown
1 = normal (more than LowChargeThreshold remaining)
2 = low (less than LowChargeThreshold remaining)
3 = depleted (0% charge remaining)
4 = not applicable (mains powered only)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="changedTime" minOccurs="1" maxOccurs="1" type="TimeType">
<xs:annotation>
<xs:documentation>The time at which the reported values were recorded.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="currentPowerSource" minOccurs="1" maxOccurs="1" type="PowerSourceType">
<xs:annotation>
<xs:documentation>This value will be fixed for devices powered by a single source. This value may change for devices able to transition between multiple power sources (mains to battery backup, etc.).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="estimatedChargeRemaining" minOccurs="0" maxOccurs="1" type="PerCent">
<xs:annotation>
<xs:documentation>Estimate of remaining battery charge as a percent of full charge.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="estimatedTimeRemaining" minOccurs="0" maxOccurs="1" type="UInt32">
<xs:annotation>
<xs:documentation>Estimated time (in seconds) to total battery charge depletion (under current load)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PEVInfo" type="PEVInfo" minOccurs="0" maxOccurs="1" />
<xs:element name="sessionTimeOnBattery" minOccurs="0" maxOccurs="1" type="UInt32">
<xs:annotation>
<xs:documentation>If the device has a battery, this is the time since the device last switched to battery power, or the time since the device was restarted, whichever is less, in seconds.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="totalTimeOnBattery" minOccurs="0" maxOccurs="1" type="UInt32">
<xs:annotation>
<xs:documentation>If the device has a battery, this is the total time the device has been on battery power, in seconds. It may be reset when the battery is replaced.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="pollRate" use="optional" default="900" type="UInt32">
<xs:annotation>
<xs:documentation>The default polling rate for this function set (this resource and all resources below), in seconds. If not specified, a default of 900 seconds (15 minutes) is used. It is RECOMMENDED a client poll the resources of this function set every pollRate seconds.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="PowerSourceType">
<xs:annotation>
<xs:documentation>0 - none
1 - mains
2 - battery
3 - local generation
4 - emergency
5 - unknown
All other values reserved.</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="UInt8" />
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="PEVInfo">
<xs:annotation>
<xs:documentation>Contains attributes that can be exposed by PEVs and other devices that have charging requirements.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="chargingPowerNow" minOccurs="1" maxOccurs="1" type="ActivePower">
<xs:annotation>
<xs:documentation>This is the actual power flow in or out of the charger or inverter. This is calculated by the vehicle based on actual measurements. This number is positive for charging.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="energyRequestNow" minOccurs="1" maxOccurs="1" type="RealEnergy">
<xs:annotation>
<xs:documentation>This is the amount of energy that must be transferred from the grid to EVSE and PEV to achieve the target state of charge allowing for charger efficiency and any vehicle and EVSE parasitic loads. This is calculated by the vehicle and changes throughout the connection as forward or reverse power flow change the battery state of charge. This number is positive for charging.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="maxForwardPower" minOccurs="1" maxOccurs="1" type="ActivePower">
<xs:annotation>
<xs:documentation>This is maximum power transfer capability that could be used for charging the PEV to perform the requested energy transfer. It is the lower of the vehicle or EVSE physical power limitations. It is not based on economic considerations. The vehicle may draw less power than this value based on its charging cycle. The vehicle defines this parameter. This number is positive for charging power flow.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="minimumChargingDuration" minOccurs="1" maxOccurs="1" type="UInt32">
<xs:annotation>
<xs:documentation>This is computed by the PEV based on the charging profile to complete the energy transfer if the maximum power is authorized. The value will never be smaller than the ratio of the energy request to the power request because the charging profile may not allow the maximum power to be used throughout the transfer. This is a critical parameter for determining whether any slack time exists in the charging cycle between the current time and the TCIN.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="targetStateOfCharge" minOccurs="1" maxOccurs="1" type="PerCent">
<xs:annotation>
<xs:documentation>This is the target state of charge that is to be achieved during charging before the time of departure (TCIN). The default value is 100%. The value cannot be set to a value less than the actual state of charge.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="timeChargeIsNeeded" minOccurs="1" maxOccurs="1" type="TimeType">
<xs:annotation>
<xs:documentation>Time Charge is Needed (TCIN) is the time that the PEV is expected to depart. The value is manually entered using controls and displays in the vehicle or on the EVSE or using a mobile device. It is authenticated and saved by the PEV. This value may be updated during a charging session.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="timeChargingStatusPEV" minOccurs="1" maxOccurs="1" type="TimeType">
<xs:annotation>
<xs:documentation>This is the time that the parameters are updated, except for changes to TCIN.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="IEEE_802_15_4">
<xs:annotation>
<xs:documentation>Contains 802.15.4 link layer specific attributes.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="capabilityInfo" minOccurs="1" maxOccurs="1" type="HexBinary8">
<xs:annotation>
<xs:documentation>As defined by IEEE 802.15.4</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NeighborListLink" type="NeighborListLink" minOccurs="0" maxOccurs="1" />
<xs:element name="shortAddress" minOccurs="1" maxOccurs="1" type="UInt16">
<xs:annotation>
<xs:documentation>As defined by IEEE 802.15.4</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="IPAddr">
<xs:annotation>
<xs:documentation>An Internet Protocol address object.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Resource">
<xs:sequence>
<xs:element name="address" minOccurs="1" maxOccurs="1" type="HexBinary128">
<xs:annotation>
<xs:documentation>An IP address value.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RPLInstanceListLink" type="RPLInstanceListLink" minOccurs="0" maxOccurs="1" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="IPAddrList">
<xs:annotation>
<xs:documentation>List of IPAddr instances.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="List">
<xs:sequence>
<xs:element name="IPAddr" type="IPAddr" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="IPInterface">
<xs:annotation>
<xs:documentation>Specific IPInterface resource. This resource may be thought of as network status information for a specific network (IP) layer interface.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Resource">
<xs:sequence>
<xs:element name="ifDescr" minOccurs="0" maxOccurs="1" type="String192">
<xs:annotation>
<xs:documentation>Use rules from [RFC 2863].</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ifHighSpeed" minOccurs="0" maxOccurs="1" type="UInt32">
<xs:annotation>
<xs:documentation>Use rules from [RFC 2863].</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ifInBroadcastPkts" minOccurs="0" maxOccurs="1" type="UInt32">
<xs:annotation>
<xs:documentation>Use rules from [RFC 2863].</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ifIndex" minOccurs="0" maxOccurs="1" type="UInt32">
<xs:annotation>
<xs:documentation>Use rules from [RFC 2863].</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ifInDiscards" minOccurs="0" maxOccurs="1" type="UInt32">
<xs:annotation>
<xs:documentation>Use rules from [RFC 2863]. Can be thought of as Input Datagrams Discarded.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ifInErrors" minOccurs="0" maxOccurs="1" type="UInt32">
<xs:annotation>
<xs:documentation>Use rules from [RFC 2863].</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ifInMulticastPkts" minOccurs="0" maxOccurs="1" type="UInt32">
<xs:annotation>
<xs:documentation>Use rules from [RFC 2863]. Can be thought of as Multicast Datagrams Received.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ifInOctets" minOccurs="0" maxOccurs="1" type="UInt32">
<xs:annotation>