<?xml version = "1.0" encoding = "UTF-8"?>
<xsd:schema xmlns:xsd = "http://www.w3.org/2001/XMLSchema"
	 version = ""
	 elementFormDefault = "qualified">
	<xsd:annotation>
		<xsd:documentation>
NPA NXX Database - Platinum Edition Schema
Copyright (C) 2006 npanxxsource.com
All rights reserved.
        </xsd:documentation>
	</xsd:annotation>
	<xsd:complexType name = "npanxx">
		<xsd:annotation>
			<xsd:documentation>NPA NXX Combinations.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name = "NPA">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:integer">
						<xsd:maxInclusive value = "999"/>
						<xsd:minInclusive value = "200"/>
						<xsd:totalDigits value = "3"/>
						<xsd:pattern value = "\d{3}"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "NXX">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:integer">
						<xsd:maxInclusive value = "999"/>
						<xsd:minInclusive value = "200"/>
						<xsd:totalDigits value = "3"/>
						<xsd:pattern value = "\d{3}"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "BLOCK_ID">
				<xsd:annotation>
					<xsd:documentation>A - NXX allocated at the 10,000-block level.</xsd:documentation>
					<xsd:documentation>C - NXX allocated at the 10,000-block level but privately pooled/split by the service provider.</xsd:documentation>
					<xsd:documentation>S - NXX allocated at the 1,000-block level.</xsd:documentation>
					<xsd:documentation>0 to 9 - NXX-Xnnn thousands-block number.</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:enumeration value = "A"/>
						<xsd:enumeration value = "C"/>
						<xsd:enumeration value = "S"/>
						<xsd:enumeration value = "0"/>
						<xsd:enumeration value = "1"/>
						<xsd:enumeration value = "2"/>
						<xsd:enumeration value = "3"/>
						<xsd:enumeration value = "4"/>
						<xsd:enumeration value = "5"/>
						<xsd:enumeration value = "6"/>
						<xsd:enumeration value = "7"/>
						<xsd:enumeration value = "8"/>
						<xsd:enumeration value = "9"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "TBP_IND">
				<xsd:annotation>
					<xsd:documentation>Y - The NPA NXX has been identified to be part of a pool of NXXs within a given NPA that are assigned at the 1,000-block level by the Pool Administrator (currently only applicable to the United States).</xsd:documentation>
					<xsd:documentation>N - The NXX is not publicly pooled and there is no information below the NXX level.</xsd:documentation>
					<xsd:documentation>S - The NXX is not publicly pooled, but the service provider has chosen to show its fully assigned NXX to be "split" at the thousands block level.  This can apply to any NPA within the NANP.</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:enumeration value = "Y"/>
						<xsd:enumeration value = "N"/>
						<xsd:enumeration value = "S"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>

			<xsd:element name = "LATA">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:maxLength value = "5"/>
						<xsd:minLength value = "3"/>
						<xsd:pattern value = "\d{3|5}"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "LTYPE">
				<xsd:annotation>
					<xsd:documentation>Wireline, non-wireless service including POTS, Broadband etc.</xsd:documentation>
					<xsd:documentation>Wireless type service including PCS, Cellular, GSM, etc.</xsd:documentation>
					<xsd:documentation>Paging and other Messaging services.</xsd:documentation>
					<xsd:documentation>Multiple carriers are associated with the NPA NXX at either the 10,000-block or 1,000-block levels and type of service could not be determined.</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:enumeration value = "S"/>
						<xsd:enumeration value = "C"/>
						<xsd:enumeration value = "P"/>
						<xsd:enumeration value = "M"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "CONTAM">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:maxLength value = "1"/>
					</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 = "COUNTRY">
				<xsd:annotation>
					<xsd:documentation>US - United States (US)</xsd:documentation>
					<xsd:documentation>CA - Canada (CA)</xsd:documentation>
					<xsd:documentation>BS - Bahamas (BA)</xsd:documentation>
					<xsd:documentation>BB - Barbados (BD)</xsd:documentation>
					<xsd:documentation>AI - Anguilla (AI)</xsd:documentation>
					<xsd:documentation>AG - Antigua and Barbuda (AN)</xsd:documentation>
					<xsd:documentation>VG - Virgin Islands, British (BV)</xsd:documentation>
					<xsd:documentation>KY - Cayman Islands (CQ)</xsd:documentation>
					<xsd:documentation>BM - Bermuda (BM)</xsd:documentation>
					<xsd:documentation>GD - Grenada (GN)</xsd:documentation>
					<xsd:documentation>TC - Turks and Caicos Islands (TC)</xsd:documentation>
					<xsd:documentation>MS - Montserrat (RT)</xsd:documentation>
					<xsd:documentation>LC - Saint Lucia (SA)</xsd:documentation>
					<xsd:documentation>DM - Dominica (DM)</xsd:documentation>
					<xsd:documentation>VC - Saint Vincent and the Grenadines (ZF)</xsd:documentation>
					<xsd:documentation>DO - Dominican Republic (DR)</xsd:documentation>
					<xsd:documentation>TT - Trinidad and Tobago (TR)</xsd:documentation>
					<xsd:documentation>KN - Saint Kitts and Nevis (KA)</xsd:documentation>
					<xsd:documentation>JM - Jamaica (JM)</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:enumeration value = "US"/>
						<xsd:enumeration value = "CA"/>
						<xsd:enumeration value = "BS"/>
						<xsd:enumeration value = "BB"/>
						<xsd:enumeration value = "AI"/>
						<xsd:enumeration value = "AG"/>
						<xsd:enumeration value = "VG"/>
						<xsd:enumeration value = "KY"/>
						<xsd:enumeration value = "BM"/>
						<xsd:enumeration value = "GD"/>
						<xsd:enumeration value = "TC"/>
						<xsd:enumeration value = "MS"/>
						<xsd:enumeration value = "LC"/>
						<xsd:enumeration value = "DM"/>
						<xsd:enumeration value = "VC"/>
						<xsd:enumeration value = "DO"/>
						<xsd:enumeration value = "TT"/>
						<xsd:enumeration value = "KN"/>
						<xsd:enumeration value = "JM"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "WC">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:maxLength value = "255"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "SWITCH">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:maxLength value = "11"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "RCSTATUS">
				<xsd:annotation>
					<xsd:documentation>X - the rate center is excluded from required pooling</xsd:documentation>
					<xsd:documentation>O - the rate center's participation in number pooling is optional</xsd:documentation>
					<xsd:documentation>M - the rate center's participation in number pooling is mandatory</xsd:documentation>
					<xsd:documentation>M* - the rate center's participation in number pooling is mandatory. Same as "M" code but the particular NPA NXX combination is serviced by a single carrier.</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:enumeration value = "X"/>
						<xsd:enumeration value = "O"/>
						<xsd:enumeration value = "M"/>
						<xsd:enumeration value = "M*"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "RCTYPE">
				<xsd:annotation>
					<xsd:documentation>blank - Unrestricted rate center.</xsd:documentation>
					<xsd:documentation>S - Suburban Zone.</xsd:documentation>
					<xsd:documentation>Z - Zoned city.</xsd:documentation>
					<xsd:documentation>D - California district area.</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:enumeration value = "S"/>
						<xsd:enumeration value = "Z"/>
						<xsd:enumeration value = "D"/>
						<xsd:enumeration value = ""/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "RC">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:maxLength value = "10"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "TZ">
				<xsd:annotation>
					<xsd:documentation>Newfoundland UTC -3:30 hours</xsd:documentation>
					<xsd:documentation>Atlantic UTC -4 hours</xsd:documentation>
					<xsd:documentation>Eastern UTC -5 hours</xsd:documentation>
					<xsd:documentation>Central UTC -6 hours</xsd:documentation>
					<xsd:documentation>Mountain UTC -7 hours</xsd:documentation>
					<xsd:documentation>Pacific UTC -8 hours</xsd:documentation>
					<xsd:documentation>Alaskan UTC -9 hours</xsd:documentation>
					<xsd:documentation>Hawaiian-Aleutian UTC -10 hours</xsd:documentation>
					<xsd:documentation>Samoa UTC -11 (American Samoa)</xsd:documentation>
					<xsd:documentation>Chamorro UTC +10 (Guam and Northern Mariana Islands)</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:enumeration value = "NT"/>
						<xsd:enumeration value = "AT"/>
						<xsd:enumeration value = "ET"/>
						<xsd:enumeration value = "CT"/>
						<xsd:enumeration value = "MT"/>
						<xsd:enumeration value = "PT"/>
						<xsd:enumeration value = "AK"/>
						<xsd:enumeration value = "HT"/>
						<xsd:enumeration value = "AS"/>
						<xsd:enumeration value = "CH"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "DST" type = "xsd:boolean"/>
			<xsd:element name = "ZIP" type = "xsd:string"/>
			<xsd:element name = "FIPS">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:pattern value = "\d{5}"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "CBSA">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:pattern value = "\d{5}"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "MSA">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:pattern value = "\d{4}"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "PMSA">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:pattern value = "\d{4}"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "LATITUDE" type = "xsd:double"/>
			<xsd:element name = "LONGITUDE" type = "xsd:double"/>
			<xsd:element name = "OCN_CATEGORY">
				<xsd:annotation>
					<xsd:documentation>
B - Regional Bell Operating Company RBOC - one of seven corporations created to provide local exchange service as
part of AT&amp;T's 1984 divestiture. These companies include Ameritech, Bell Atlantic, BellSouth, NYNEX, Pacific
Bell, Southwestern Bell and US WEST, which were formed from the 22 "Bell Operating Companies (BOCs) operating in 1984.</xsd:documentation>
					<xsd:documentation>
L - Independent Telephone Company ICO - the initial telephone company that provides wire line local exchange service
in a non-RBOC geographical area.</xsd:documentation>
					<xsd:documentation>
C - Competitive Local Exchange Carrier CLEC - a wire line based local exchange (switched and non-switched)
carrier serving in a geographical area that is already served by an incumbent local exchange carrier (RBOC or ICO).
Competitive Access Provider CAP - a carrier that provides wire line non-switched access services as an alternative
to a local exchange carrier.
Local Reseller LRSL - a company that leases a block of numbers or facilities, in bulk, from a local exchange carrier,
for purposes of resale to customers.</xsd:documentation>
					<xsd:documentation>
W - Personal Communications Service PCS - a company that provides Personal Communications Service to its
customers pursuant to FCC Regulations Part 24. Companies sanctioned to provide local exchange service on
a non-wire line (wireless) basis pursuant to FCC Regulations Part 22.  This includes cellular companies,
paging (beepers) companies, and Improved Mobile Telephone System (IMTS) (radio).</xsd:documentation>
					<xsd:documentation>
P - Same as non-PCS wireless service providers but used to distinguish those carriers providing primarily
paging and messaging services from other non-PCS wireless providers.</xsd:documentation>
					<xsd:documentation>
I - Inter-exchange carrier</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:enumeration value = "B"/>
						<xsd:enumeration value = "L"/>
						<xsd:enumeration value = "C"/>
						<xsd:enumeration value = "W"/>
						<xsd:enumeration value = "P"/>
						<xsd:enumeration value = "I"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "OCN">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:maxLength value = "4"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "OVERALL_OCN">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:maxLength value = "4"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "DERIVED_FROM_NPA">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:maxLength value = "20"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "NEWNPA">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:integer">
						<xsd:maxInclusive value = "999"/>
						<xsd:minInclusive value = "200"/>
						<xsd:totalDigits value = "3"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name = "OVERLAY">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:enumeration value = "O">
                            <xsd:annotation>
                                <xsd:documentation>the NPA is overlaid by one or more NPAS or this NPA overlays one or more NPAS. The DERIVED_FROM_NPA field may be used to determine the overlay direction.</xsd:documentation>
                            </xsd:annotation>
						</xsd:enumeration>

						<xsd:enumeration value = "P">
                            <xsd:annotation>
					            <xsd:documentation>the NPA is involved in a DERIVED_FROM_NPA split and the exchange is being moved from the NEWNPA parent. If the NEWNPA field is empty, the exchange is remaining in the current NPA and is protected from re-assignment during the split.</xsd:documentation>
                            </xsd:annotation>
						</xsd:enumeration>

						<xsd:enumeration value = "S">
                            <xsd:annotation>
					            <xsd:documentation>the NPA is being split and the exchange is moving from the current NPA to the NEWNPA</xsd:documentation>
                            </xsd:annotation>
						</xsd:enumeration>

						<xsd:enumeration value = "">
                            <xsd:annotation>
					            <xsd:documentation>empty - if DERIVED_FROM_NPA is not empty then NPA was created from a geographic split of DERIVED_FROM_NPA.</xsd:documentation>
                            </xsd:annotation>
						</xsd:enumeration>

					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>

</xsd:schema>