<?xml version = "1.0" encoding = "UTF-8"?>
<!--Generated by XML Authority. Conforms to w3c http://www.w3.org/2000/10/XMLSchema-->
<xsd:schema xmlns:xsd = "http://www.w3.org/2000/10/XMLSchema">
	<xsd:element name = "ebXMLError">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref = "ErrorHeader"/>
				<xsd:element ref = "ErrorLocation" minOccurs = "0" maxOccurs = "unbounded"/>
			</xsd:sequence>
			<xsd:attribute name = "xml:lang" use = "required" type = "xsd:NMTOKEN"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name = "ErrorHeader">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref = "Severity"/>
				<xsd:element ref = "ErrorCode"/>
				<xsd:element ref = "ErrorDesc" minOccurs = "0"/>
				<xsd:element ref = "MinRetrySecs" minOccurs = "0"/>
			</xsd:sequence>
			<xsd:attribute name = "ID" use = "required" type = "xsd:NMTOKEN"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name = "Severity" type = "xsd:string"/>
	<xsd:element name = "ErrorCode" type = "xsd:string">
		<xsd:annotation>
			<xsd:appinfo> Either Warning, TransientError or HardError </xsd:appinfo>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name = "ErrorDesc" type = "xsd:string">
		<xsd:annotation>
			<xsd:appinfo> string max 14 char </xsd:appinfo>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name = "MinRetrySecs" type = "xsd:string">
		<xsd:annotation>
			<xsd:appinfo> string max 256 (?) char </xsd:appinfo>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name = "SwVendorErrorRef" type = "xsd:string">
		<xsd:annotation>
			<xsd:appinfo> An integer </xsd:appinfo>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name = "ErrorLocation">
		<xsd:annotation>
			<xsd:appinfo> string max 256 (?) chars </xsd:appinfo>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref = "RefToMessageId" minOccurs = "0"/>
				<xsd:choice>
					<xsd:element ref = "Href"/>
					<xsd:element ref = "XMLDocumentErrorLocn"/>
				</xsd:choice>
			</xsd:sequence>
			<xsd:attribute name = "ID" use = "required" type = "xsd:NMTOKEN"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name = "RefToMessageId" type = "xsd:string"/>
	<xsd:element name = "Href" type = "xsd:string"/>
	<xsd:element name = "XMLDocumentErrorLocn">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref = "DocumentId"/>
				<xsd:element ref = "Xpath"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name = "DocumentId" type = "xsd:string"/>
	<xsd:element name = "Xpath" type = "xsd:string"/>
</xsd:schema>

