<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2010 rel. 3 (http://www.altova.com) by Jeremy Morton (GS1 Sweden Services AB) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:element name="codes">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="header">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="col" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Occurs once for each column in the code table. Processed left to right.</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:attribute name="ID" type="xs:int" use="required">
										<xs:annotation>
											<xs:documentation>Column number (zero if column not used)</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="HeadSV" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation>Column heading in Swedish</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="HeadEN" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation>Column heading in English</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="body">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="row" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Occurs once for each code lin the code list</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:attribute name="ID" type="xs:int" use="required">
										<xs:annotation>
											<xs:documentation>Line number</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="Code" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation>Code value</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="TextSV" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation>Code name in Swedish</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="TextEN" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation>Code name in English</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="DescSV" type="xs:string">
										<xs:annotation>
											<xs:documentation>Code description in Swedish</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="DescEN" type="xs:string">
										<xs:annotation>
											<xs:documentation>Code description in English</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="UomSV" type="xs:string">
										<xs:annotation>
											<xs:documentation>Unit of measure in Swedish</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="UomEN" type="xs:string">
										<xs:annotation>
											<xs:documentation>Unit of measure in English</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="UomXML" type="xs:string">
										<xs:annotation>
											<xs:documentation>Unit of measure as XML code</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="UomText" type="xs:string">
										<xs:annotation>
											<xs:documentation>Unit of measure as text</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="TU" type="xs:byte">
										<xs:annotation>
											<xs:documentation>Indicator for traded unit (legacy)</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="HU" type="xs:byte">
										<xs:annotation>
											<xs:documentation>Indicator for handling unit (legacy)</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="DU" type="xs:byte">
										<xs:annotation>
											<xs:documentation>Indicator for despatch unit (legacy)</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="CU" type="xs:byte">
										<xs:annotation>
											<xs:documentation>Indicator for consumer unit (legacy)</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="TareWeightGRM" type="xs:int"/>
									<xs:attribute name="PlatformHeightMMT" type="xs:int"/>
									<xs:attribute name="MaxHeightMMT" type="xs:int"/>
									<xs:attribute name="WidthMMT" type="xs:int"/>
									<xs:attribute name="DepthMMT" type="xs:int"/>
									<xs:attribute name="HeightMMT" type="xs:int"/>
									<xs:attribute name="NestingIncrementMMT" type="xs:int"/>
									<xs:attribute name="AlternateNestingIncrementMMT" type="xs:int"/>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="term" type="xs:string" use="required">
				<xs:annotation>
					<xs:documentation>Term number in Swedish data dictionary</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="NameSV" type="xs:string" use="required">
				<xs:annotation>
					<xs:documentation>Term name in Swedish</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="NameEN" type="xs:string" use="required">
				<xs:annotation>
					<xs:documentation>Term name in English</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="version" type="xs:decimal" use="optional">
				<xs:annotation>
					<xs:documentation>Version number of this code file</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="updated" type="xs:date" use="optional">
				<xs:annotation>
					<xs:documentation>Date of last update of this code file</xs:documentation>
				</xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
</xs:schema>
