oadr_pyld_20b.xsd 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!-- edited with XMLSpy v2010 rel. 3 (http://www.altova.com) by James Zuber (private) -->
  3. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:pyld="http://docs.oasis-open.org/ns/energyinterop/201110/payloads" xmlns:xcal="urn:ietf:params:xml:ns:icalendar-2.0" xmlns:ei="http://docs.oasis-open.org/ns/energyinterop/201110" xmlns:emix="http://docs.oasis-open.org/ns/emix/2011/06" targetNamespace="http://docs.oasis-open.org/ns/energyinterop/201110/payloads" elementFormDefault="qualified" attributeFormDefault="qualified">
  4. <xs:import namespace="http://docs.oasis-open.org/ns/emix/2011/06" schemaLocation="oadr_emix_20b.xsd"/>
  5. <xs:import namespace="http://docs.oasis-open.org/ns/energyinterop/201110" schemaLocation="oadr_ei_20b.xsd"/>
  6. <!-- ##### SAME AS A #####-->
  7. <!-- ##### EVENT PAYLOADS ##### -->
  8. <!-- ******* requestID ******** -->
  9. <xs:element name="requestID" type="xs:string">
  10. <xs:annotation>
  11. <xs:documentation>A ID used to match up a logical transaction request and response</xs:documentation>
  12. </xs:annotation>
  13. </xs:element>
  14. <!-- ******* replyLimit ******** -->
  15. <xs:element name="replyLimit" type="xs:unsignedInt"/>
  16. <!-- *******eiRequestEvent******** -->
  17. <xs:element name="eiRequestEvent">
  18. <xs:annotation>
  19. <xs:documentation>Request Event from a VTN in pull mode</xs:documentation>
  20. </xs:annotation>
  21. <xs:complexType>
  22. <xs:sequence>
  23. <xs:element ref="pyld:requestID"/>
  24. <xs:element ref="ei:venID"/>
  25. <xs:element ref="pyld:replyLimit" minOccurs="0">
  26. <xs:annotation>
  27. <xs:documentation>Limit the number of events contained in the oadrDistributeEvent payload</xs:documentation>
  28. </xs:annotation>
  29. </xs:element>
  30. </xs:sequence>
  31. </xs:complexType>
  32. </xs:element>
  33. <!-- ******* eiCreatedEvent ******** -->
  34. <xs:element name="eiCreatedEvent">
  35. <xs:annotation>
  36. <xs:documentation>Respond to a DR Event with optIn or optOut</xs:documentation>
  37. </xs:annotation>
  38. <xs:complexType>
  39. <xs:sequence>
  40. <xs:element ref="ei:eiResponse"/>
  41. <xs:element ref="ei:eventResponses" minOccurs="0"/>
  42. <xs:element ref="ei:venID"/>
  43. </xs:sequence>
  44. </xs:complexType>
  45. </xs:element>
  46. <!-- ##### PROFILE B EXTENTIONS ##### -->
  47. <xs:element name="reportToFollow" type="xs:boolean">
  48. <xs:annotation>
  49. <xs:documentation>Indicates if report (in the form of UpdateReport) to be returned following cancellation of Report</xs:documentation>
  50. </xs:annotation>
  51. </xs:element>
  52. </xs:schema>