Schema ServiceCenterTypes.xsd


schema location:  http://www.con-way.com/XML/ServiceCenterTypes.xsd
 
Elements  Complex types  Simple types 
ServiceCenter  ServiceCenterType  ZoneRatingType 
SIC  USPortType  ZoneType 
USPort  ZoneItemType 


schema location:  http://www.con-way.com/XML/ComponentTypes.xsd
 
Elements  Simple types 
Component  ComponentType 


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 ServiceCenter
diagram
type ServiceCenterType
properties
content complex
children SIC Component City StateCode CountryCode
source
<xs:element name="ServiceCenter" type="ServiceCenterType"/>

element SIC
diagram
type restriction of xs:string
properties
content simple
used by
complexTypes ServiceCenterType USPortType
facets
length 3
whiteSpace collapse
source
<xs:element name="SIC">
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:whiteSpace value="collapse"/>
      <xs:length value="3"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element USPort
diagram
type USPortType
properties
content complex
children SIC City StateCode CountryCode
source
<xs:element name="USPort" type="USPortType"/>

complexType ServiceCenterType
diagram
children SIC Component City StateCode CountryCode
used by
element ServiceCenter
complexType USPortType
source
<xs:complexType name="ServiceCenterType">
  <xs:sequence>
    <xs:element ref="SIC"/>
    <xs:element ref="Component"/>
    <xs:element ref="City"/>
    <xs:element ref="StateCode"/>
    <xs:element ref="CountryCode"/>
  </xs:sequence>
</xs:complexType>

complexType USPortType
diagram
type restriction of ServiceCenterType
properties
base ServiceCenterType
children SIC City StateCode CountryCode
used by
element USPort
source
<xs:complexType name="USPortType">
  <xs:complexContent>
    <xs:restriction base="ServiceCenterType">
      <xs:sequence>
        <xs:element ref="SIC"/>
        <xs:element ref="City"/>
        <xs:element ref="StateCode"/>
        <xs:element ref="CountryCode"/>
      </xs:sequence>
    </xs:restriction>
  </xs:complexContent>
</xs:complexType>

complexType ZoneItemType
diagram
children Zone Description ZoneRating
source
<xs:complexType name="ZoneItemType">
  <xs:sequence>
    <xs:element name="Zone" type="ZoneType"/>
    <xs:element name="Description" type="xs:string"/>
    <xs:element name="ZoneRating" type="ZoneRatingType"/>
  </xs:sequence>
</xs:complexType>

element ZoneItemType/Zone
diagram
type ZoneType
properties
isRef 0
content simple
source
<xs:element name="Zone" type="ZoneType"/>

element ZoneItemType/Description
diagram
type xs:string
properties
isRef 0
content simple
source
<xs:element name="Description" type="xs:string"/>

element ZoneItemType/ZoneRating
diagram
type ZoneRatingType
properties
isRef 0
content simple
source
<xs:element name="ZoneRating" type="ZoneRatingType"/>

simpleType ZoneRatingType
type xs:string
used by
element ZoneItemType/ZoneRating
source
<xs:simpleType name="ZoneRatingType">
  <xs:restriction base="xs:string"/>
</xs:simpleType>

simpleType ZoneType
type xs:string
used by
element ZoneItemType/Zone
source
<xs:simpleType name="ZoneType">
  <xs:restriction base="xs:string"/>
</xs:simpleType>

element Component
diagram
type ComponentType
properties
content simple
used by
complexType ServiceCenterType
facets
length 3
enumeration CWX
enumeration CSE
enumeration CCX
enumeration CMX
enumeration CTS
enumeration CAX
enumeration NOW
source
<xs:element name="Component" type="ComponentType"/>

simpleType ComponentType
type restriction of xs:string
used by
element Component
facets
length 3
enumeration CWX
enumeration CSE
enumeration CCX
enumeration CMX
enumeration CTS
enumeration CAX
enumeration NOW
annotation
documentation 
Con-Way components
source
<xs:simpleType name="ComponentType">
  <xs:annotation>
    <xs:documentation>Con-Way components</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
    <xs:length value="3"/>
    <xs:enumeration value="CWX"/>
    <xs:enumeration value="CSE"/>
    <xs:enumeration value="CCX"/>
    <xs:enumeration value="CMX"/>
    <xs:enumeration value="CTS"/>
    <xs:enumeration value="CAX"/>
    <xs:enumeration value="NOW"/>
  </xs:restriction>
</xs:simpleType>

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
used by
complexTypes ServiceCenterType USPortType
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
used by
complexTypes ServiceCenterType USPortType
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</