<?xml version = "1.0" encoding = "UTF-8"?>
<xsd:schema xmlns:xsd = "http://www.w3.org/2001/XMLSchema"
	 version = ""
	 elementFormDefault = "qualified">

	<xsd:annotation>
		<xsd:documentation>
United States 5-Digit ZIP Code Database - Lite Edition Schema
Copyright (C) 2006 Quentin Sager Consulting Inc
All rights reserved.
www.quentinsagerconsulting.com
        </xsd:documentation>
	</xsd:annotation>
	<xsd:complexType name = "zipdata">
		<xsd:annotation>
			<xsd:documentation>United States 5-digit ZIP Code Lite Edition data master.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name = "zip">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:pattern value = "\d{5}"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "city">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:maxLength value = "28"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "state">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:pattern value = "[A-Z]{2}"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "ziptype">
				<xsd:annotation>
					<xsd:documentation>Standard delivery</xsd:documentation>
					<xsd:documentation>PO Box Only</xsd:documentation>
					<xsd:documentation>Organization</xsd:documentation>
					<xsd:documentation>Military</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:enumeration value = "S"/>
						<xsd:enumeration value = "P"/>
						<xsd:enumeration value = "U"/>
						<xsd:enumeration value = "M"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
</xsd:schema>