<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.posti.com/wms/postiwmsxml/OutWorkOrder/2020/1" targetNamespace="http://www.posti.com/wms/postiwmsxml/OutWorkOrder/2020/1" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xsd:element name="WorkOrders">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="WorkOrder" maxOccurs="unbounded"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="WorkOrder" type="WorkOrderXSDType"/>
	<xsd:complexType name="WorkOrderXSDType">
		<xsd:all>
			<xsd:element name="MetaData" type="ctMetaDataType" minOccurs="1" maxOccurs="1"/>
		    <xsd:element ref="Extn" minOccurs="0" maxOccurs="1"/>
			<xsd:element ref="WorkOrderComponents" minOccurs="0" maxOccurs="1"/>
			<xsd:element ref="WorkOrderActivities" minOccurs="0" maxOccurs="1"/>	
			<xsd:element ref="Item" minOccurs="0" maxOccurs="1"/>
			<xsd:element ref="Status" minOccurs="0" maxOccurs="1"/>		
		</xsd:all>
		<xsd:attribute name="EnterpriseCode" type="stStringMaxLength24Type" use="required">
			<xsd:annotation>
				<xsd:documentation>The enterprise that is associated with this order.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="FinishNoLaterThan" type="xsd:dateTime" use="optional">
			<xsd:annotation>
				<xsd:documentation>
					<div>Pass through fields to be stamped on each task.
						<Validation>
							<Condition>Passed value should not be less than the <code>StartNoEarlierThan</code> date.</Condition>
							<Error Description="Finish no later than date cannot be before Start no earlier than date." ErrorCode="VAS00044"/>
						</Validation>
					</div>
				</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="InvUpdateActivityCode" type="stStringMaxLength40Type" use="optional">
			<xsd:annotation>
				<xsd:documentation>The activity code against which inventory needs to be updated.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="ItemID" type="stStringMaxLength40Type" use="optional">
			<xsd:annotation>
				<xsd:documentation>
					<div>The item identifier for this work order.
						<Validation>
							<Condition>
								<code>ItemID</code> is not provided and <code>ServiceItemGroupCode</code> is one of <code>
									<b>KIT</b>
								</code> or <code>
									<b>DKIT</b>
								</code>.</Condition>
							<Error Description="YCP:Field Mandatory." ErrorCode="YCP0046"/>
						</Validation>
					</div>
				</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="NodeKey" type="stStringMaxLength24Type" use="optional">
			<xsd:annotation>
				<xsd:documentation>
					<div>The node associated with this work order, where work orders would be executed.
						<Validation>
							<Condition>Not a valid <code>NodeKey</code>.</Condition>
							<Error Description="YFS:Invalid Ship Node." ErrorCode="YFS10048"/>
						</Validation>
					</div>
				</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="OpenWorkOrderFlag" type="stStringMaxLength1Type" use="optional">
			<xsd:annotation>
				<xsd:documentation>This flag indicates whether the execution of the work order has ended..</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="PalletId" type="stStringMaxLength10Type" use="optional">
			<xsd:annotation>
				<xsd:documentation>Pallet for which the work order is processed.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="ProductClass" type="stStringMaxLength10Type" use="optional">
			<xsd:annotation>
				<xsd:documentation>The product class of an item.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="Purpose" type="EnumPurpose2" use="optional">
			<xsd:annotation>
				<xsd:documentation>This field indicates the purpose for the work order.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="QuantityCompleted" type="Capacity" use="optional">
			<xsd:annotation>
				<xsd:documentation>The quantity for which work order is completely confirmed.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="QuantityRemoved" type="Capacity" use="optional">
			<xsd:annotation>
				<xsd:documentation>The quantity removed due to exceptions.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="QuantityRequested" type="Capacity" use="optional">
			<xsd:annotation>
				<xsd:documentation>The quantity for which the work order is created.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="ReasonCode" type="stStringMaxLength100Type" use="optional">
			<xsd:annotation>
				<xsd:documentation>The reason code indicating the reason for the work order to get cancelled.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="ReasonCodeDescription" type="stStringMaxLength100Type" use="optional">
			<xsd:annotation>
				<xsd:documentation>Description of Reason Code.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="ReasonText" type="stStringMaxLength255Type" use="optional">
			<xsd:annotation>
				<xsd:documentation>The reason text indicating the reason entered by user while cancelling the work order.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="SerialNo" type="stStringMaxLength40Type" use="optional">
			<xsd:annotation>
				<xsd:documentation>This field identifies a serial number for the serialized item involved in the work order..</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="ServiceItemDescription" type="stStringMaxLength100Type" use="optional">
			<xsd:annotation>
				<xsd:documentation>Description of Service Item.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="ServiceItemGroupCode" type="EnumServiceItemGroupCode" use="optional">
			<xsd:annotation>
				<xsd:documentation>
					<div>This field indicates the service item group on this work order.
						<Validation>
							<Condition>
								<code>ServiceItemGroupCode</code> is not provided.</Condition>
							<Error Description="YCP:Field Mandatory." ErrorCode="YCP0046"/>
						</Validation>
						<Validation>
							<Condition>Not a valid <code>ServiceItemGroupCode</code>.</Condition>
							<Error Description="Invalid Service Item Group Code." ErrorCode="VAS00002"/>
						</Validation>
						<div class="innerpanel" width="30%">
							<table border="0" cellpadding="0" cellspacing="0" class="table">
								<thead>
									<tr>
										<td class="tablecolumnheader">ServiceItemGroupCode</td>
										<td class="tablecolumnheader">Meaning</td>
									</tr>
								</thead>
								<tbody>
									<tr>
										<td class="tablecolumn">KIT</td>
										<td class="tablecolumn">Kitting</td>
									</tr>
									<tr>
										<td class="tablecolumn">DKIT</td>
										<td class="tablecolumn">De-kitting</td>
									</tr>
									<tr>
										<td class="tablecolumn">COMPL</td>
										<td class="tablecolumn">Inventory Compliance</td>
									</tr>
									<tr>
										<td class="tablecolumn">INVC</td>
										<td class="tablecolumn">Inventory Change</td>
									</tr>
									<tr>
										<td class="tablecolumn">PS</td>
										<td class="tablecolumn">Provided Service / Field Service</td>
									</tr>
									<tr>
										<td class="tablecolumn">DS</td>
										<td class="tablecolumn">Delivery Service</td>
									</tr>
								</tbody>
							</table>
						</div>
					</div>
				</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="ServiceItemID" type="stStringMaxLength40Type" use="optional">
			<xsd:annotation>
				<xsd:documentation>The identifier for the service item on this work order.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="ServiceUom" type="stStringMaxLength40Type" use="optional">
			<xsd:annotation>
				<xsd:documentation>The unit of measure for the service item.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="ShipmentNo" type="stStringMaxLength40Type" use="optional">
			<xsd:annotation>
				<xsd:documentation>The shipment number of the shipment with which the work order is associated.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="StartNoEarlierThan" type="xsd:dateTime" use="optional">
			<xsd:annotation>
				<xsd:documentation>The date a task should not start earlier than. Pass through fields to be stamped on each task.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="StatusDate" type="xsd:dateTime" use="optional">
			<xsd:annotation>
				<xsd:documentation>The date and time when the last status change took place.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="StatusDescription" type="stStringMaxLength100Type" use="optional">
			<xsd:annotation>
				<xsd:documentation>Description of WorkOrder status.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="Uom" type="stStringMaxLength40Type" use="optional">
			<xsd:annotation>
				<xsd:documentation>The unit of measure for the item.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="WorkOrderNo" type="stStringMaxLength40Type" use="optional">
			<xsd:annotation>
				<xsd:documentation>The work order number. Identifies a work order within the context of a node and enterprise.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
	</xsd:complexType>
	<xsd:complexType name="ctMetaDataType">
		<xsd:annotation>
			<xsd:documentation>Contains information about message.</xsd:documentation>
		</xsd:annotation>
		<xsd:attribute name="SourceOrganizationId" type="stStringMaxLength40Type" use="required">
			<xsd:annotation>
				<xsd:documentation>Principal number.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="DocumentType" type="stStringMaxLength40Type" use="required">
			<xsd:annotation>
				<xsd:documentation>Static: OutWorkOrderConfirmation</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="CreationDateTime" type="xsd:dateTime" use="required">
			<xsd:annotation>
				<xsd:documentation>Date and time of work order creation.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="MessageIdentifier" type="stStringMaxLength40Type" use="required">
			<xsd:annotation>
				<xsd:documentation>Identifier of the message which is unique at least in the scope of message sender.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
	</xsd:complexType>
	<xsd:element name="Extn">
		<xsd:complexType>
			<xsd:attribute name="ExtnCustomerPOLineNo" type="stStringMaxLength40Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>Purchase order number line associated with this work order.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="ExtnCustomerPONo" type="stStringMaxLength40Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>
						<div>Purchase order number associated with this work order.</div>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="WorkOrderComponents">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="WorkOrderComponent" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="WorkOrderComponent">
		<xsd:annotation>
			<xsd:documentation>
				<div>
			This table stores information about all the components required by the work order.<br/>Components are not mandatory for work orders created for the <code>KITTING</code> service item group code.
			</div>
			</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:all>
				<xsd:element ref="Item" minOccurs="0" maxOccurs="1"/>
			</xsd:all>
			<xsd:attribute name="ComponentQuantity" type="Quantity" use="optional">
				<xsd:annotation>
					<xsd:documentation>The component quantity per work order item quantity.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="ItemID" type="stStringMaxLength40Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>The unique identifier for the item associated with this work order component.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="ProductClass" type="stStringMaxLength10Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>The product class of an item.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="SerialNo" type="stStringMaxLength40Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>This field identifies a serial number for the serialized item involved in the work order.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="Uom" type="stStringMaxLength40Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>The unit of measure for the item.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="Item">
		<xsd:annotation>
			<xsd:documentation>Item type.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:all>
				<xsd:element ref="PrimaryInformation" minOccurs="0" maxOccurs="1"/>
			</xsd:all>
			<xsd:attribute name="GlobalItemID" type="stStringMaxLength128Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>The unique global identifier used to cross reference an item with another catalog organization.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="ItemID" type="stStringMaxLength40Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>The unique identifier for the item.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="OrganizationCode" type="stStringMaxLength24Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>The organization code whose product information is being stored.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="UnitOfMeasure" type="stStringMaxLength40Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>The unit of measure for item quantity.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="PrimaryInformation">
		<xsd:annotation>
			<xsd:documentation>PrimaryInformation.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:attribute name="Description" type="stStringMaxLength100Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>Description of appointment status.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="ItemType" type="stStringMaxLength40Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>The generic type of an item.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="ProductLine" type="stStringMaxLength100Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>The product line associated with the item.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="Status">
		<xsd:annotation>
			<xsd:documentation>PrimaryInformation.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:attribute name="Description" type="stStringMaxLength200Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>The short description of the item.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="ProcessTypeKey" type="stStringMaxLength24Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>The process type that is associated with this status.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="Status" type="stStringMaxLength15Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>This field is not currently used.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="StatusKey" type="stStringMaxLength24Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>The primary key of the YFS_STATUS table.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="WorkOrderActivities">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="WorkOrderActivity" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="WorkOrderActivity">
		<xsd:annotation>
			<xsd:documentation>This table stores the list of activities to be performed for the work order.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:all>
				<xsd:element ref="WorkOrderActivityDtls" minOccurs="0" maxOccurs="1"/>
			</xsd:all>
			<xsd:attribute name="ActivityCode" type="stStringMaxLength40Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>Activity Code.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="IsComplete" type="stStringMaxLength1Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>Indicates if the entire activity is complete for the work order.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="QuantityComplete" type="Quantity" use="optional">
				<xsd:annotation>
					<xsd:documentation>Quantity completed on confirmation of this activity.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="WorkOrderActivityDtls">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="WorkOrderActivityDtl" minOccurs="1" maxOccurs="unbounded"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="WorkOrderActivityDtl">
		<xsd:annotation>
			<xsd:documentation>This table stores details on where and to what extent an activity is confirmed.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:attribute name="ActivityCode" type="stStringMaxLength40Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>Activity Code.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="ActivityLocationId" type="stStringMaxLength40Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>
						<div>The unique identifier for an Activity Location.
										<Validation>
								<Condition>If passed should be a valid location in the node.</Condition>
								<Error Description="WMS:Invalid LocationKey." ErrorCode="WMS00038"/>
							</Validation>
						</div>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="CaseId" type="stStringMaxLength40Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>Case for which the activity is performed.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="PalletId" type="stStringMaxLength40Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>Pallet for which the activity is performed.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="QuantityCompleted" type="Quantity" use="optional">
				<xsd:annotation>
					<xsd:documentation>Quantity for which Activity is completely confirmed.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="QuantityRequested" type="Quantity" use="optional">
				<xsd:annotation>
					<xsd:documentation>Quantity Requested.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="SerialNo" type="stStringMaxLength40Type" use="optional">
				<xsd:annotation>
					<xsd:documentation>A Serial number of the parent item.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
		</xsd:complexType>
	</xsd:element>
	<xsd:simpleType name="stStringMaxLength1Type">
		<xsd:annotation>
			<xsd:documentation>String with maximum length of 1 character.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="1"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="stStringMaxLength10Type">
		<xsd:annotation>
			<xsd:documentation>String with maximum length of 10 characters.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="10"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="stStringMaxLength24Type">
		<xsd:annotation>
			<xsd:documentation>String with maximum length of 24 characters.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="24"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="stStringMaxLength40Type">
		<xsd:annotation>
			<xsd:documentation>String with maximum length of 40 characters.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="40"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="stStringMaxLength15Type">
		<xsd:annotation>
			<xsd:documentation>String with maximum length of 15 characters.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="15"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="stStringMaxLength100Type">
		<xsd:annotation>
			<xsd:documentation>String with maximum length of 100 characters.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="100"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="stStringMaxLength128Type">
		<xsd:annotation>
			<xsd:documentation>String with maximum length of 128 characters.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="128"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="stStringMaxLength200Type">
		<xsd:annotation>
			<xsd:documentation>String with maximum length of 200 characters.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="200"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="stStringMaxLength255Type">
		<xsd:annotation>
			<xsd:documentation>String with maximum length of 255 characters.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="255"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="stStringMaxLength1YNType">
		<xsd:annotation>
			<xsd:documentation>String with maximun length of 1 character and possible values Y or N.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="1"/>
			<xsd:pattern value="[YN]"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="Quantity">
		<xsd:restriction base="xsd:decimal">
			<xsd:minInclusive value="0"/>
			<xsd:fractionDigits value="4"/>
			<xsd:totalDigits value="14"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="EnumServiceItemGroupCode">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="40"/>
			<xsd:enumeration value="KIT"/>
			<xsd:enumeration value="DKIT"/>
			<xsd:enumeration value="COMPL"/>
			<xsd:enumeration value="INVC"/>
			<xsd:enumeration value="PS"/>
			<xsd:enumeration value="DS"/>
			<xsd:enumeration value=""/>
			<xsd:enumeration value=" "/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="Capacity">
		<xsd:restriction base="xsd:decimal">
			<xsd:minInclusive value="0"/>
			<xsd:fractionDigits value="4"/>
			<xsd:totalDigits value="14"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="EnumPurpose2">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="40"/>
			<xsd:enumeration value="ORDER"/>
			<xsd:enumeration value="STOCK"/>
			<xsd:enumeration value="SHIP"/>
			<xsd:enumeration value=""/>
			<xsd:enumeration value=" "/>
		</xsd:restriction>
	</xsd:simpleType>
</xsd:schema>