Schema LocationTypes.xsd


schema location:  http://www.con-way.com/XML/LocationTypes.xsd
 
Elements  Complex types  Simple types 
Addr  AddressType  AddrType 
Address  CNAddressType  CityType 
BillToState  CNStatePairType  CNCountryCodeType 
BillToZip  MXAddressType  CNPostalCodeType 
City  MXStatePairType  CNStateCodeType 
CNAddress  PostalCodeWithCountryType  CNStateNameType 
CNCountryCode  StatePairType  CountryCodeType 
CNPostalCode  USAddressType  CountryNameType 
CNStateCode  USCNAddressType  MXCountryCodeType 
CNStateName  USCNPostalCodeWithCountryType  MXPostalCodeType 
CNStatePair  USStatePairType  MXStateCodeType 
CODremitToState  MXStateNameType 
CODremitToZip  NameType 
ConsigneeState  PostalCodeType 
ConsigneeZip  StateCodeType 
CountryCode  StateNameType 
CountryName  USCNCountryCodeType 
DestinationZip  USCNPostalCodeType 
MXAddress  USCNStateCodeType 
MXCountryCode  USCNStateNameType 
MXPostalCode  USCountryCodeType 
MXStateCode  USPostalCodeType 
MXStateName  USStateCodeType 
MXStatePair  USStateNameType 
OriginZip 
PostalCode 
ShipperState 
ShipperZip 
State 
StateCode 
StateName 
StatePair 
USAddress 
USCNAddress 
USCNCountryCode 
USCNPostalCode 
USCNStateCode 
USCNStateName 
USCountryCode 
USPostalCode 
USStateCode 
USStateName 
USStatePair 
Zip 


element Addr
diagram
type AddrType
properties
content simple
facets
maxLength 30
annotation
documentation 
Any address validated by AddressType
source
<xs:element name="Addr" type="AddrType">
  <xs:annotation>
    <xs:documentation>Any address validated by AddressType</xs:documentation>
  </xs:annotation>
</xs:element>

element Address
diagram
type AddressType
properties
content complex
children Name Addr City State PostalCode
annotation
documentation 
Any address validated by AddressType
source
<xs:element name="Address" type="AddressType">
  <xs:annotation>
    <xs:documentation>Any address validated by AddressType</xs:documentation>
  </xs:annotation>
</xs:element>

element BillToState
diagram
properties
substGrp State
annotation
documentation 
BillTo's 2 char US state or Canadian province code validated by USCNStateCodeType
source
<xs:element name="BillToState" substitutionGroup="State">
  <xs:annotation>
    <xs:documentation>BillTo's 2 char US state or Canadian province code validated by USCNStateCodeType</xs:documentation>
  </xs:annotation>
</xs:element>

element BillToZip
diagram
properties
substGrp Zip
annotation
documentation 
US or Canadian BillTo postal code with country attribute validated by USCNPostalCodeWithCountry Type
source
<xs:element name="BillToZip" substitutionGroup="Zip">
  <xs:annotation>
    <xs:documentation>US or Canadian BillTo postal code with country attribute validated by USCNPostalCodeWithCountry Type</xs:documentation>
  </xs:annotation>
</xs:element>

element City
diagram
type CityType
properties
content simple
facets
maxLength 20
annotation
documentation 
City Element validated by CityType
source
<xs:element name="City" type="CityType">
  <xs:annotation>
    <xs:documentation>City Element validated by CityType</xs:documentation>
  </xs:annotation>
</xs:element>

element CNAddress
diagram
type CNAddressType
properties
content complex
children Name Name1 Addr City State PostalCode
annotation
documentation 
Canadian address validated by CNAddressType
source
<xs:element name="CNAddress" type="CNAddressType">
  <xs:annotation>
    <xs:documentation>Canadian address validated by CNAddressType</xs:documentation>
  </xs:annotation>
</xs:element>

element CNCountryCode
diagram
type CNCountryCodeType
properties
content simple
facets
length 2
whiteSpace collapse
enumeration CN
enumeration cn
annotation
documentation 
enumeration of valid 2 char Canadian country codes
source
<xs:element name="CNCountryCode" type="CNCountryCodeType">
  <xs:annotation>
    <xs:documentation>enumeration of valid 2 char Canadian country codes</xs:documentation>
  </xs:annotation>
</xs:element>

element CNPostalCode
diagram
type CNPostalCodeType
properties
content simple
facets
minLength 6
maxLength 7
whiteSpace collapse
pattern [a-zA-Z]\d[a-zA-Z]-?\s?\d[a-zA-Z]\d
annotation
documentation 
Canadian postal code validated by CNPostalCodeType
source
<xs:element name="CNPostalCode" type="CNPostalCodeType">
  <xs:annotation>
    <xs:documentation>Canadian postal code validated by CNPostalCodeType</xs:documentation>
  </xs:annotation>
</xs:element>

element CNStateCode
diagram
type CNStateCodeType
properties
content simple
used by
complexType CNStatePairType
facets
length 2
whiteSpace collapse
enumeration AB
enumeration BC
enumeration MB
enumeration NB
enumeration NL
enumeration NS
enumeration NT
enumeration NU
enumeration ON
enumeration PE
enumeration PQ
enumeration QC
enumeration SK
enumeration YT
annotation
documentation 
2 char Canadian province code validated by CNStateCodeType
source
<xs:element name="CNStateCode" type="CNStateCodeType">
  <xs:annotation>
    <xs:documentation>2 char Canadian province code validated by CNStateCodeType</xs:documentation>
  </xs:annotation>
</xs:element>

element CNStateName
diagram
type CNStateNameType
properties
content simple
used by
complexType CNStatePairType
facets
whiteSpace collapse
enumeration Alberta
enumeration British Columbia
enumeration Manitoba
enumeration New Brunswick
enumeration Newfoundland
enumeration Nova Scotia
enumeration Northwest Territories
enumeration Nunavut
enumeration Ontario
enumeration Prince Edward Island
enumeration Quebec
enumeration Saskatchewan
enumeration Yukon Territory
annotation
documentation 
Canadian province name validated by CNStateNameType
source
<xs:element name="CNStateName" type="CNStateNameType">
  <xs:annotation>
    <xs:documentation>Canadian province name validated by CNStateNameType</xs:documentation>
  </xs:annotation>
</xs:element>

element CNStatePair
diagram
type CNStatePairType
properties
content complex
children CNStateCode CNStateName
annotation
documentation 
2 char Canadian province code and name pair validated by StatePairType
source
<xs:element name="CNStatePair" type="CNStatePairType">
  <xs:annotation>
    <xs:documentation>2 char Canadian province code and name pair validated by StatePairType</xs:documentation>
  </xs:annotation>
</xs:element>

element CODremitToState
diagram
properties
substGrp State
annotation
documentation 
COD party's 2 char US state or Canadian province code validated by USCNStateCodeType
source
<xs:element name="CODremitToState" substitutionGroup="State">
  <xs:annotation>
    <xs:documentation>COD party's 2 char US state or Canadian province code validated by USCNStateCodeType</xs:documentation>
  </xs:annotation>
</xs:element>

element CODremitToZip
diagram
properties
substGrp Zip
annotation
documentation 
US or Canadian COD party postal code with country attribute validated by USCNPostalCodeWithCountry Type
source
<xs:element name="CODremitToZip" substitutionGroup="Zip">
  <xs:annotation>
    <xs:documentation>US or Canadian COD party postal code with country attribute validated by USCNPostalCodeWithCountry Type</xs:documentation>
  </xs:annotation>
</xs:element>

element ConsigneeState
diagram
properties
substGrp State
annotation
documentation 
Consignee's 2 char US state or Canadian province code validated by USCNStateCodeType
source
<xs:element name="ConsigneeState" substitutionGroup="State">
  <xs:annotation>
    <xs:documentation>Consignee's 2 char US state or Canadian province code validated by USCNStateCodeType</xs:documentation>
  </xs:annotation>
</xs:element>

element ConsigneeZip
diagram
properties
substGrp Zip
annotation
documentation 
US or Canadian Consignee postal code with country attribute validated by USCNPostalCodeWithCountry
source
<xs:element name="ConsigneeZip" substitutionGroup="Zip">
  <xs:annotation>
    <xs:documentation>US or Canadian Consignee postal code with country attribute validated by USCNPostalCodeWithCountry</xs:documentation>
  </xs:annotation>
</xs:element>

element CountryCode
diagram
type CountryCodeType
properties
content simple
annotation
documentation 
any country code validated by CountryCodeType
source
<xs:element name="CountryCode" type="CountryCodeType">
  <xs:annotation>
    <xs:documentation>any country code validated by CountryCodeType</xs:documentation>
  </xs:annotation>
</xs:element>

element CountryName
diagram
type CountryNameType
properties
content simple
facets
whiteSpace collapse
enumeration USA
enumeration United States
enumeration Canada
enumeration Mexico
annotation
documentation 
country name validated by CountryNameType
source
<xs:element name="CountryName" type="CountryNameType">
  <xs:annotation>
    <xs:documentation>country name validated by CountryNameType</xs:documentation>
  </xs:annotation>
</xs:element>

element DestinationZip
diagram
properties
substGrp Zip
annotation
documentation 
US or Canadian shipping destination postal code with country attribute, validated by USCNPostalCodeWithCountry Type
source
<xs:element name="DestinationZip" substitutionGroup="Zip">
  <xs:annotation>
    <xs:documentation>US or Canadian shipping destination postal code with country attribute, validated by USCNPostalCodeWithCountry Type</xs:documentation>
  </xs:annotation>
</xs:element>

element MXAddress
diagram
type MXAddressType
properties
content complex
children Name Name1 Addr City State PostalCode
annotation
documentation 
Mexican address validated by MXAddressType
source
<xs:element name="MXAddress" type="MXAddressType">
  <xs:annotation>
    <xs:documentation>Mexican address validated by MXAddressType</xs:documentation>
  </xs:annotation>
</xs:element>

element MXCountryCode
diagram
type MXCountryCodeType
properties
content simple
facets
length 2
whiteSpace collapse
enumeration MX
enumeration mx
annotation
documentation 
enumeration of valid 2 char Mexican country codes
source
<xs:element name="MXCountryCode" type="MXCountryCodeType">
  <xs:annotation>
    <xs:documentation>enumeration of valid 2 char Mexican country codes</xs:documentation>
  </xs:annotation>
</xs:element>

element MXPostalCode
diagram
type MXPostalCodeType
properties
content simple
facets
minLength 5
maxLength 5
whiteSpace collapse
pattern \d{5}
annotation
documentation 
Mexican postal code validated by MXPostalCodeType
source
<xs:element name="MXPostalCode" type="MXPostalCodeType">
  <xs:annotation>
    <xs:documentation>Mexican postal code validated by MXPostalCodeType</xs:documentation>
  </xs:annotation>
</xs:element>

element MXStateCode
diagram
type MXStateCodeType
properties
content simple
used by
complexType MXStatePairType
facets
length 2
whiteSpace collapse
enumeration AG
enumeration BN
enumeration BS
enumeration CM
enumeration CS
enumeration CH
enumeration CU
enumeration CL
enumeration DF
enumeration DG
enumeration GT
enumeration GR
enumeration HG
enumeration JA
enumeration MX
enumeration MH
enumeration MR
enumeration NA
enumeration NL
enumeration OA
enumeration PU
enumeration QR
enumeration QT
enumeration SL
enumeration SI
enumeration SO
enumeration TB
enumeration TM
enumeration TL
enumeration VE
enumeration YU
enumeration ZA
annotation
documentation 
2 char Mexican state code validated by MXStateCodeType
source
<xs:element name="MXStateCode" type="MXStateCodeType">
  <xs:annotation>
    <xs:documentation>2 char Mexican state code validated by MXStateCodeType</xs:documentation>
  </xs:annotation>
</xs:element>

element MXStateName
diagram
type MXStateNameType
properties
content simple
used by
complexType MXStatePairType
facets
whiteSpace collapse
enumeration Aguascalientes
enumeration Baja California
enumeration Baja California Sur
enumeration Campeche
enumeration Chiapas
enumeration Chihuahua
enumeration Coahuila de Zaragoza
enumeration Colima
enumeration Distrito Federal
enumeration Durango
enumeration Guanajuato
enumeration Guerrero
enumeration Hidalgo
enumeration Jalisco
enumeration Mexico
enumeration Michoacan de Ocampo
enumeration Morelos
enumeration Nayarit
enumeration Nuevo Leon
enumeration Oaxaca
enumeration Puebla
enumeration Quintana Roo
enumeration Queretaro de Arteaga
enumeration San Luis Potosi
enumeration Sinaloa
enumeration Sonora
enumeration Tabasco
enumeration Tamaulipas
enumeration Tlaxcala
enumeration Veracruz-Llave
enumeration Yucatan
enumeration Zacatecas
annotation
documentation 
Mexican state name validated by MXStateNameType
source
<xs:element name="MXStateName" type="MXStateNameType">
  <xs:annotation>
    <xs:documentation>Mexican state name validated by MXStateNameType</xs:documentation>
  </xs:annotation>
</xs:element>

element MXStatePair
diagram
type MXStatePairType
properties
content complex
children MXStateCode MXStateName
annotation
documentation 
2 char Mexican state code and name pair validated by MXStatePairType
source
<xs:element name="MXStatePair" type="MXStatePairType">
  <xs:annotation>
    <xs:documentation>2 char Mexican state code and name pair validated by MXStatePairType</xs:documentation>
  </xs:annotation>
</xs:element>

element OriginZip
diagram
properties
substGrp Zip
annotation
documentation 
US or Canadian shipping origin postal code with country attribute, validated by USCNPostalCodeWithCountry Type
source
<xs:element name="OriginZip" substitutionGroup="Zip">
  <xs:annotation>
    <xs:documentation>US or Canadian shipping origin postal code with country attribute, validated by USCNPostalCodeWithCountry Type</xs:documentation>
  </xs:annotation>
</xs:element>

element PostalCode
diagram
type PostalCodeWithCountryType
properties