oadr_strm_20b.xsd 2.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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:strm="urn:ietf:params:xml:ns:icalendar-2.0:stream" xmlns:ei="http://docs.oasis-open.org/ns/energyinterop/201110" xmlns:xcal="urn:ietf:params:xml:ns:icalendar-2.0" targetNamespace="urn:ietf:params:xml:ns:icalendar-2.0:stream" elementFormDefault="qualified" attributeFormDefault="qualified">
  4. <xs:import namespace="urn:ietf:params:xml:ns:icalendar-2.0" schemaLocation="oadr_xcal_20b.xsd"/>
  5. <xs:import namespace="http://docs.oasis-open.org/ns/energyinterop/201110" schemaLocation="oadr_ei_20b.xsd"/>
  6. <!-- ##### SAME AS A #####-->
  7. <!-- ******* intervals ******** -->
  8. <xs:element name="intervals">
  9. <xs:annotation>
  10. <xs:documentation>Time intervals during which the DR event is active or report data is available</xs:documentation>
  11. </xs:annotation>
  12. <xs:complexType>
  13. <xs:sequence>
  14. <xs:element ref="ei:interval" maxOccurs="unbounded"/>
  15. </xs:sequence>
  16. </xs:complexType>
  17. </xs:element>
  18. <xs:element name="streamPayloadBase" type="strm:StreamPayloadBaseType" abstract="true"/>
  19. <xs:complexType name="StreamPayloadBaseType" abstract="true">
  20. <xs:annotation>
  21. <xs:documentation>Abstract class to convey a payload for a stream. When a Stream is transformed to or from a WS-Calendar Interval, the contents of the Stream Payload defined element are transformed into the contents of a WS-Calendar artifactBase.</xs:documentation>
  22. </xs:annotation>
  23. </xs:complexType>
  24. <!-- 1.0 Abstract Stream Base -->
  25. <xs:element name="streamBase" type="strm:StreamBaseType" abstract="true"/>
  26. <xs:complexType name="StreamBaseType" abstract="true">
  27. <xs:annotation>
  28. <xs:documentation>abstract base for communication of schedules for signals and observations</xs:documentation>
  29. </xs:annotation>
  30. <xs:sequence>
  31. <xs:element ref="xcal:dtstart" minOccurs="0"/>
  32. <xs:element ref="xcal:duration" minOccurs="0"/>
  33. <xs:element ref="strm:intervals" minOccurs="0"/>
  34. </xs:sequence>
  35. </xs:complexType>
  36. </xs:schema>