<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by James M Hansen (Seattle City Light) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:simpleType name="TaggingSourceSinkPointIDDT">
		<xs:annotation>
			<xs:documentation>Tagging Point ID, based on EIR</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer"/>
	</xs:simpleType>
	<xs:simpleType name="OASISPORPODPointIDDT">
		<xs:annotation>
			<xs:documentation>OASIS Point ID, based on EIR</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer"/>
	</xs:simpleType>
	<xs:simpleType name="TaggingEntityIDDT">
		<xs:annotation>
			<xs:documentation>Tagging Entity ID, based on EIR</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer"/>
	</xs:simpleType>
	<xs:element name="BACode" type="TaggingEntityIDDT">
		<xs:annotation>
			<xs:documentation>Unique ID from the EIR used to identify a Balancing Authority</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="PSECode" type="TaggingEntityIDDT">
		<xs:annotation>
			<xs:documentation>Unique ID for a Purchasing Selling Entity specified in the EIR</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="TPCode" type="TaggingEntityIDDT">
		<xs:annotation>
			<xs:documentation>Unique ID from the EIR used to identify a Transmission Provider</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="SCCode" type="TaggingEntityIDDT">
		<xs:annotation>
			<xs:documentation>Unique ID from the EIR used to identify a Security Coordinator</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="LCACode">
		<xs:annotation>
			<xs:documentation>Unique ID from the EIR used to identify the Balancing Authority which is the sink for the transaction</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="GCACode" type="TaggingEntityIDDT">
		<xs:annotation>
			<xs:documentation>Unique ID from the EIR used to identify the Balancing Authority in which the source for the transaction is located</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="TagCode">
		<xs:annotation>
			<xs:documentation>String used to identify a transaction</xs:documentation>
		</xs:annotation>
		<xs:simpleType>
			<xs:restriction base="xs:string">
				<xs:length value="7"/>
				<xs:pattern value="[0-9A-Z]{7}"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element name="Entity">
		<xs:annotation>
			<xs:documentation>Any one of the possible parties to an e-Tag</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:choice>
				<xs:element ref="PSECode"/>
				<xs:element ref="BACode"/>
				<xs:element ref="TPCode"/>
				<xs:element ref="SCCode"/>
			</xs:choice>
		</xs:complexType>
	</xs:element>
	<xs:element name="ToEntity">
		<xs:annotation>
			<xs:documentation>Entity to which message is being sent</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:choice>
				<xs:element ref="PSECode"/>
				<xs:element ref="BACode"/>
				<xs:element ref="TPCode"/>
				<xs:element ref="SCCode"/>
			</xs:choice>
		</xs:complexType>
	</xs:element>
	<xs:element name="FromEntity">
		<xs:annotation>
			<xs:documentation>Container for the ID of an entity sending a message</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:choice>
				<xs:element ref="PSECode"/>
				<xs:element ref="BACode"/>
				<xs:element ref="TPCode"/>
				<xs:element ref="SCCode"/>
			</xs:choice>
		</xs:complexType>
	</xs:element>
	<xs:element name="POD" type="OASISPORPODPointIDDT">
		<xs:annotation>
			<xs:documentation>Point of Delivery</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="POR" type="OASISPORPODPointIDDT">
		<xs:annotation>
			<xs:documentation>Point of Receipt</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="TaggingPointID" type="TaggingSourceSinkPointIDDT">
		<xs:annotation>
			<xs:documentation>Generation or Load Point</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DateTimeStamp" type="xs:dateTime">
		<xs:annotation>
			<xs:documentation>Date Time GMT</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="TagID">
		<xs:annotation>
			<xs:documentation>Collection of information that uniquely identifies an e-Tag</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="GCACode"/>
				<xs:element ref="PSECode"/>
				<xs:element ref="TagCode"/>
				<xs:element ref="LCACode"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="MWLevel" type="xs:integer">
		<xs:annotation>
			<xs:documentation>Current Dynamic MW associated with a particular dynamic e-Tag or set of e-Tags</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="RequestParameters">
		<xs:annotation>
			<xs:documentation>A set of parameters used in the query by DSS, specified by the requestor</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="TagID" minOccurs="0"/>
				<xs:element ref="GCACode" minOccurs="0"/>
				<xs:element ref="LCACode" minOccurs="0"/>
				<xs:element ref="TPCode" minOccurs="0"/>
				<xs:element ref="PSECode" minOccurs="0"/>
				<xs:element ref="POD" minOccurs="0"/>
				<xs:element ref="POR" minOccurs="0"/>
				<xs:element ref="TaggingPointID" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="GetCurrentMWLevel">
		<xs:annotation>
			<xs:documentation>A Request from an entity for the current MW levels for a single e-Tag or set of e-Tags</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="FromEntity"/>
				<xs:sequence maxOccurs="1000">
					<xs:element ref="RequestParameters"/>
				</xs:sequence>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="GetCurrentMWLevelResponse">
		<xs:annotation>
			<xs:documentation>Response to a request for current MW level</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="ToEntity"/>
				<xs:element ref="DateTimeStamp"/>
				<xs:sequence maxOccurs="2000">
					<xs:element ref="TagID"/>
					<xs:element ref="MWLevel"/>
				</xs:sequence>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="GetCurrentMWSum">
		<xs:annotation>
			<xs:documentation>A Request from an entity for the current MW levels for a single e-Tag or set of e-Tags summed by DSS</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="FromEntity"/>
				<xs:sequence maxOccurs="1000">
					<xs:element ref="RequestParameters"/>
				</xs:sequence>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="GetCurrentMWSumResponse">
		<xs:annotation>
			<xs:documentation>Summation of MWs associated with each RequestParameter set</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="ToEntity"/>
				<xs:element ref="DateTimeStamp"/>
				<xs:sequence maxOccurs="1000">
					<xs:element ref="RequestParameters"/>
					<xs:element ref="MWLevel"/>
				</xs:sequence>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>
