<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2007 sp2 (http://www.altova.com) by IESO (IESO) -->
<!-- IOG Settlement Details Report Schema -->
<xs:schema xmlns="http://www.ieso.ca/schema" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ieso.ca/schema" elementFormDefault="qualified">
	<!-- Following stuff is report specific -->
	<xs:include schemaLocation="Document_r1.xsd"/>
	<xs:element name="DocBody">
		<xs:annotation>
			<xs:documentation>Document Body</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="mpName" nillable="false">
					<xs:annotation>
						<xs:documentation>Market Participant Short Name</xs:documentation>
					</xs:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:minLength value="1"/>
							<xs:maxLength value="12"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="TradeDate" type="xs:date">
					<xs:annotation>
						<xs:documentation>The Trade Date for which this data applies</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Posting" type="xs:string">
					<xs:annotation>
						<xs:documentation>Posting Type Abbreviation</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="LocationGogData" maxOccurs="unbounded">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="LocID" type="xs:integer"/>
							<xs:element name="HourStart" type="xs:integer"/>
							<xs:element name="HourEnd" type="xs:integer"/>
							<xs:element name="GogComponent" type="xs:string"/>
							<xs:element name="SettlementAmt" type="Money_Empty"/>
							<xs:element name="GogComponentAmount" type="Money_Empty"/>
							<xs:element name="Comp1Amt" type="Money_Empty" minOccurs="0"/>
							<xs:element name="Comp2Amt" type="Money_Empty" minOccurs="0"/>
							<xs:element name="Comp3Amt" type="Money_Empty" minOccurs="0"/>
							<xs:element name="Comp4Amt" type="Money_Empty" minOccurs="0"/>
							<xs:element name="Comp5Amt" type="Money_Empty" minOccurs="0"/>
							<xs:element name="EmfcAmt" type="Money_Empty" minOccurs="0"/>
							<xs:element name="Emfc1Amt" type="Money_Empty" minOccurs="0"/>
							<xs:element name="Emfc2Amt" type="Money_Empty" minOccurs="0"/>
							<xs:element name="Emfc3Amt" type="Money_Empty" minOccurs="0"/>
							<xs:element name="Emfc4Amt" type="Money_Empty" minOccurs="0"/>
							<xs:element name="Emfc5Amt" type="Money_Empty" minOccurs="0"/>
							<xs:element name="ImpactTest" type="xs:string" minOccurs="0"/>
							<xs:element name="RampHourStart" type="Integer_Empty" minOccurs="0"/>
							<xs:element name="RampIntervalStart" type="Integer_Empty" minOccurs="0"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<!-- Price - 2 decimals -->
	<xs:simpleType name="Money">
		<xs:annotation>
			<xs:documentation>Money - 2 decimals</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:decimal">
			<xs:fractionDigits value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Empty">
		<xs:annotation>
			<xs:documentation>Null values for Amount</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value=""/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Money_Empty">
		<xs:annotation>
			<xs:documentation>
		Union of Amount in decimal and blank values</xs:documentation>
		</xs:annotation>
		<xs:union memberTypes="Money Empty"/>
	</xs:simpleType>
	<xs:simpleType name="Integer_Empty">
		<xs:annotation>
			<xs:documentation>
		Union of Integer and blank values</xs:documentation>
		</xs:annotation>
		<xs:union memberTypes="xs:integer Empty"/>
	</xs:simpleType>
</xs:schema>
