<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Federico (Nexant) -->
<schema xmlns:CRRHistoricalForecast="http://crr.caiso.org/historicalForecast/xml" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://crr.caiso.org/historicalForecast/xml" elementFormDefault="qualified" attributeFormDefault="qualified">
	<!--
Element Name             | Historical Forecast Load Data

Historical Forecast:

assetOwner  				             | Asset owner name
   sink                       			 | Sink name
		  hfFlag              			 | Historical or forecates flag (Historical,Forecasted)
		  date              			 | Date
		  hourEnding        			 | Hour ending
		  dateType       			 | Date type (Final Load, Preliminary Load, Pump Load, Generation)
		  MW                  			 | MW amount
-->
	<element name="historicalForecastData">
		<complexType>
			<sequence>
				<element name="items" type="CRRHistoricalForecast:itemHistoricalForecastDataDefType"/>
			</sequence>
		</complexType>
	</element>
	<complexType name="itemHistoricalForecastDataDefType">
		<sequence maxOccurs="unbounded">
			<element name="itemHistoricalForecastData" minOccurs="0" maxOccurs="unbounded">
				<complexType>
					<sequence>
						<element name="assetOwnerName">
							<simpleType>
								<restriction base="string">
									<maxLength value="40"/>
								</restriction>
							</simpleType>
						</element>
						<element name="sinkName">
							<simpleType>
								<restriction base="string">
									<maxLength value="40"/>
								</restriction>
							</simpleType>
						</element>
						<element name="hfFlag">
							<simpleType>
								<restriction base="string">
									<enumeration value="Historical"/>
									<enumeration value="Forecasted"/>
								</restriction>
							</simpleType>
						</element>
						<element name="date">
							<simpleType>
								<restriction base="date"/>
							</simpleType>
						</element>
						<element name="hourEnding">
							<simpleType>
								<restriction base="int"/>
							</simpleType>
						</element>
						<element name="dataType">
							<simpleType>
								<restriction base="string">
									<enumeration value="Final Load"/>
									<enumeration value="Preliminary Load"/>
									<enumeration value="Pump Load"/>
									<enumeration value="Generation"/>
								</restriction>
							</simpleType>
						</element>
						<element name="mwAmount">
							<simpleType>
								<restriction base="double"/>
							</simpleType>
						</element>
					</sequence>
				</complexType>
			</element>
		</sequence>
	</complexType>
</schema>
