Get Ship Request (940) Schema

Schema

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="shipments" type="shipmentsType"/>
  <xs:simpleType name="allowanceOperator">
    <xs:restriction base="xs:string">
      <xs:enumeration value="add"/>
      <xs:enumeration value="subtract"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="allowanceType">
    <xs:sequence>
      <xs:element type="allowanceOperator" name="allowance_charge_operator"/>
      <xs:element type="xs:string" name="allowance_charge_flag"/>
      <xs:element type="xs:string" name="allowance_charge_code"/>
      <xs:element type="xs:float" name="allowance_charge_amount"/>
      <xs:element type="xs:float" name="allowance_charge_percentage"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="allowanceByTypeType">
    <xs:sequence>
      <xs:element name="credit" type="xs:float"/>
      <xs:element name="sales_tax" type="xs:float"/>
      <xs:element name="handling_charges" type="xs:float"/>
      <xs:element name="shipping_charges" type="xs:float"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="packingType">
    <xs:sequence>
      <xs:element type="xs:integer" name="pack"/>
      <xs:element type="xs:integer" name="inner_pack"/>
      <xs:element type="xs:integer" name="group_by_pack"/>
      <xs:element type="xs:string" name="instruction"/>
      <xs:element type="xs:string" name="gift_message"/>
      <xs:element type="xs:string" name="gift_wrap_indicator"/>
      <xs:element type="xs:string" name="personalization_info"/>
      <xs:element type="xs:string" name="returnable_flag"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="productType">
    <xs:sequence>
      <xs:element type="xs:string" name="product_id"/>
      <xs:element type="xs:string" name="vendor_id"/>
      <xs:element type="xs:string" name="product_code"/>
      <xs:element type="xs:string" name="product_code_type"/>
      <xs:element type="xs:string" name="product_gtin"/>
      <xs:element type="xs:string" name="product_vendor_item_num"/>
      <xs:element type="xs:string" name="product_group_id"/>
      <xs:element type="xs:string" name="product_uom"/>
      <xs:element type="xs:string" name="product_created"/>
      <xs:element type="xs:string" name="product_updated"/>
      <xs:element name="product_additional">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="identifiers">
              <xs:complexType>
                <xs:sequence>
                  <xs:element type="xs:string" name="gtin"/>
                  <xs:element type="xs:string" name="vendor_item_num"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="attributes">
              <xs:complexType>
                <xs:sequence>
                  <xs:element type="xs:string" name="color"/>
                  <xs:element type="xs:string" name="size"/>
                  <xs:element type="xs:string" name="brand"/>
                  <xs:element type="xs:string" name="description"/>
                  <xs:element type="xs:integer" name="inner_pack"/>
                  <xs:element type="xs:string" name="class"/>
                  <xs:element type="xs:string" name="contract_id"/>
                  <xs:element type="xs:string" name="language"/>
                  <xs:element type="xs:integer" name="lead_time"/>
                  <xs:element type="xs:string" name="level123"/>
                  <xs:element type="xs:string" name="manufacturer_name"/>
                  <xs:element type="xs:string" name="manufacturer_part_id"/>
                  <xs:element type="xs:string" name="manufacturer_product_url"/>
                  <xs:element type="xs:float" name="min_order_qty"/>
                  <xs:element type="xs:float" name="msrp"/>
                  <xs:element type="xs:string" name="product_consumer_description"/>
                  <xs:element type="xs:string" name="warehouse_item_num"/>
                  <xs:element name="product_image_uri">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element type="xs:string" name="pri"/>
                        <xs:element type="xs:string" name="sdl"/>
                        <xs:element type="xs:string" name="sdr"/>
                        <xs:element type="xs:string" name="vf1"/>
                        <xs:element type="xs:string" name="vib"/>
                        <xs:element type="xs:string" name="vik"/>
                        <xs:element type="xs:string" name="vis"/>
                        <xs:element type="xs:string" name="vit"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="stasher">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="amazon">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="vendor_item_num">
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element type="xs:string" name="value"/>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:element type="xs:string" name="sds_url"/>
                  <xs:element type="xs:string" name="unspsc_code"/>
                  <xs:element type="xs:string" name="unspsc_version"/>
                  <xs:element type="xs:string" name="vendor_part_id"/>
                  <xs:element type="xs:string" name="vendor_product_url"/>
                  <xs:element name="vendor_product_category">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element type="xs:string" name="l1"/>
                        <xs:element type="xs:string" name="l2"/>
                        <xs:element type="xs:string" name="l3"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="totalsType">
      <xs:sequence>
          <xs:element type="xs:float" name="total_price"/>
          <xs:element type="xs:float" name="sub_total_price"/>
          <xs:element type="xs:float" name="total_line_items_price"/>
          <xs:element type="xs:float" name="total_tax"/>
          <xs:element type="xs:float" name="total_discounts"/>
          <xs:element type="xs:float" name="total_weight"/>
          <xs:element type="xs:float" name="total_gift_wrap_price"/>
          <xs:element type="xs:float" name="total_gift_wrap_tax_price"/>
          <xs:element type="xs:float" name="total_shipping_discounts"/>
          <xs:element type="xs:float" name="total_shipping_price"/>
          <xs:element type="xs:float" name="total_shipping_tax_price"/>
      </xs:sequence>
  </xs:complexType>
  <xs:complexType name="tp_locationType">
    <xs:sequence>
      <xs:element type="xs:string" name="tp_location_id"/>
      <xs:element type="xs:string" name="tp_id"/>
      <xs:element type="xs:string" name="tp_location_code"/>
      <xs:element type="xs:string" name="ship_to_location_id"/>
      <xs:element type="xs:string" name="tp_location_name"/>
      <xs:element type="xs:string" name="tp_location_address"/>
      <xs:element type="xs:string" name="tp_location_address2"/>
      <xs:element type="xs:string" name="tp_location_address3"/>
      <xs:element type="xs:string" name="tp_location_address4"/>
      <xs:element type="xs:string" name="tp_location_city"/>
      <xs:element type="xs:string" name="tp_location_state_province"/>
      <xs:element type="xs:string" name="tp_location_postal"/>
      <xs:element type="xs:string" name="tp_location_country_code"/>
      <xs:element type="xs:string" name="tp_location_status"/>
      <xs:element type="xs:string" name="tp_location_default"/>
      <xs:element type="xs:string" name="tp_location_created"/>
      <xs:element type="xs:string" name="tp_location_updated"/>
      <xs:element name="tp_location_additional">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="attributes">
              <xs:complexType>
                <xs:sequence>
                  <xs:element type="xs:string" name="consolidation_center_code"/>
                  <xs:element type="xs:string" name="fax_number"/>
                  <xs:element type="xs:string" name="phone_number"/>
                  <xs:element type="xs:string" name="display_name"/>
                  <xs:element type="xs:string" name="email"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="tpType">
    <xs:sequence>
      <xs:element type="xs:string" name="tp_id"/>
      <xs:element type="xs:string" name="tp_name"/>
      <xs:element type="xs:string" name="tp_type"/>
      <xs:element type="xs:string" name="tp_directory"/>
      <xs:element type="xs:string" name="industry_id"/>
      <xs:element type="xs:string" name="tp_phone"/>
      <xs:element type="xs:string" name="tp_isa_id"/>
      <xs:element type="xs:string" name="tp_isa_qual"/>
      <xs:element type="xs:string" name="tp_duns"/>
      <xs:element type="xs:integer" name="tp_active"/>
      <xs:element type="xs:dateTime" name="tp_created"/>
      <xs:element type="xs:dateTime" name="tp_updated"/>
      <xs:element name="tp_additional">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="attributes">
              <xs:complexType>
                <xs:sequence>
                  <xs:element type="xs:string" name="iso_9000"/>
                  <xs:element type="xs:string" name="email"/>
                  <xs:element name="legacy">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element type="xs:string" name="company_id"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="shipmentType">
    <xs:sequence>
      <xs:element name="ship_info">
        <xs:complexType>
          <xs:sequence>
            <xs:element type="xs:string" name="ship_info_id"/>
            <xs:element type="xs:string" name="ship_from_location_id"/>
            <xs:element type="xs:string" name="ship_to_location_id"/>
            <xs:element type="xs:string" name="ship_info_carrier_code"/>
            <xs:element type="xs:string" name="ship_info_tracking"/>
            <xs:element type="xs:string" name="ship_info_ship_date"/>
            <xs:element type="xs:string" name="ship_info_delivery_date"/>
            <xs:element type="xs:string" name="ship_info_status"/>
            <xs:element type="xs:string" name="ship_info_created"/>
            <xs:element type="xs:string" name="ship_info_updated"/>
            <xs:element name="ship_info_additional">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="attributes">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element type="xs:string" name="shipping_method" minOccurs="0"/>
                        <xs:element type="xs:string" name="other_carrier" minOccurs="0"/>
                        <xs:element type="xs:string" name="carrier_account" minOccurs="0"/>
                        <xs:element type="xs:string" name="total_weight" minOccurs="0"/>
                        <xs:element type="xs:string" name="carrier_scac_code" minOccurs="0"/>
                        <xs:element type="xs:string" name="shipping_instruction" minOccurs="0"/>
                        <xs:element type="xs:string" name="ship_info_shipping_pay_method" minOccurs="0"/>
                        <xs:element type="xs:string" name="service_code" minOccurs="0"/>
                        <xs:element type="xs:string" name="shipping_service_level" minOccurs="0"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element type="tp_locationType" name="ship_to_location"/>
            <xs:element type="tp_locationType" name="ship_from_location"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="tp_config">
        <xs:complexType>
          <xs:sequence>
            <xs:element type="xs:string" name="carrier_account_number"/>
            <xs:element type="xs:string" name="carrier_scac_code"/>
            <xs:element type="xs:string" name="ship_info_carrier_code"/>
            <xs:element type="xs:string" name="ship_info_shipping_pay_method"/>
            <xs:element type="xs:string" name="ship_info_shipping_method"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="ship_request">
        <xs:complexType>
          <xs:sequence>
            <xs:element type="xs:unsignedInt" name="ship_request_id"/>
            <xs:element type="xs:unsignedInt" name="ship_info_id"/>
            <xs:element type="xs:string" name="ship_request_status"/>
            <xs:element type="xs:string" name="ship_request_created"/>
            <xs:element type="xs:string" name="ship_request_updated"/>
            <xs:element name="ship_request_additional">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="attributes">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element type="xs:string" name="shipping_method" minOccurs="0"/>
                        <xs:element type="xs:string" name="other_carrier" minOccurs="0"/>
                        <xs:element type="xs:string" name="total_weight" minOccurs="0"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element type="tpType" name="vendor"/>
      <xs:element type="tpType" name="retailer"/>
      <xs:element name="po" maxOccurs="unbounded">
        <xs:complexType>
          <xs:sequence>
            <xs:element type="xs:string" name="po_id"/>
            <xs:element type="xs:string" name="vendor_id"/>
            <xs:element type="xs:string" name="retailer_id"/>
            <xs:element type="xs:string" name="mark_for_location_id"/>
            <xs:element type="xs:string" name="ship_to_location_id"/>
            <xs:element type="xs:string" name="po_num"/>
            <xs:element type="xs:string" name="po_rel_num"/>
            <xs:element type="xs:string" name="po_type"/>
            <xs:element type="xs:dateTime" name="po_ship_open_date"/>
            <xs:element type="xs:dateTime" name="po_ship_close_date"/>
            <xs:element type="xs:integer" name="po_acknowledge_status"/>
            <xs:element type="xs:integer" name="po_ship_status"/>
            <xs:element type="xs:integer" name="po_invoice_status"/>
            <xs:element type="xs:string" name="po_original_num" minOccurs="0"/>
            <xs:element type="xs:dateTime" name="po_created" minOccurs="0"/>
            <xs:element type="xs:dateTime" name="po_updated" minOccurs="0"/>
            <xs:element name="po_additional">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="attributes">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element type="xs:string" name="email"/>
                        <xs:element type="xs:string" name="note"/>
                        <xs:element name="vendor">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element type="xs:string" name="tp_isa_id"/>
                              <xs:element type="xs:string" name="tp_isa_qual"/>
                              <xs:element type="xs:string" name="internal_vendor_number"/>
                              <xs:element type="xs:string" name="vendor_number"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:element name="retailer">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element type="xs:string" name="tp_isa_id"/>
                              <xs:element type="xs:string" name="tp_isa_qual"/>
                              <xs:element type="xs:string" name="retailer_control_number"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:element name="buyer">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element type="xs:string" name="email"/>
                              <xs:element type="xs:string" name="name"/>
                              <xs:element type="xs:string" name="po_id"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:element name="payment">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element type="xs:string" name="customer_payment_method"/>
                              <xs:element type="xs:string" name="credit_card_last_four_digit"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:element name="packing" type="packingType"/>
                        <xs:element type="tp_locationType" name="bill_to"/>
                        <xs:element type="xs:string" name="customer_order_number"/>
                        <xs:element type="xs:string" name="division"/>
                        <xs:element type="xs:string" name="reservation_number"/>
                        <xs:element type="xs:string" name="order_message"/>
                        <xs:element name="totals" type="totalsType"/>
                        <xs:element type="xs:dateTime" name="edi_po_created"/>
                        <xs:element type="xs:string" name="cont_num"/>
                        <xs:element type="xs:string" name="department"/>
                        <xs:element type="xs:string" name="department_name"/>
                        <xs:element type="xs:float" name="total_cost"/>
                        <xs:element type="xs:string" name="contact_name"/>
                        <xs:element type="xs:string" name="contact_number"/>
                        <xs:element type="xs:string" name="merchandise_type"/>
                        <xs:element type="xs:string" name="carrier_scac_code"/>
                        <xs:element type="xs:string" name="delivery_reference"/>
                        <xs:element type="xs:string" name="po_type"/>
                        <xs:element type="xs:string" name="po_type_description"/>
                        <xs:element type="xs:string" name="shipment_unit_of_measure"/>
                        <xs:element type="xs:string" name="currency"/>
                        <xs:element type="xs:string" name="customer_name"/>
                        <xs:element type="xs:string" name="payment_terms"/>
                        <xs:element type="xs:string" name="shipping_pay_method"/>
                        <xs:element type="xs:float" name="pretax_cost"/>
                        <xs:element name="note_attributes">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="note-attribute">
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element type="xs:string" name="name"/>
                                    <xs:element type="xs:string" name="value"/>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:element name="allowances" type="allowanceType" maxOccurs="unbounded"/>
                        <xs:element name="allowances_by_type" type="allowanceByTypeType"/>
                        <xs:element name="ship_info">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element type="xs:string" name="ship_info_carrier_code"/>
                              <xs:element type="xs:string" name="ship_info_tracking"/>
                              <xs:element type="xs:string" name="ship_info_ship_date"/>
                              <xs:element type="xs:string" name="ship_info_delivery_date"/>
                              <xs:element name="ship_info_additional">
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element name="attributes">
                                      <xs:complexType>
                                        <xs:sequence>
                                          <xs:element type="xs:string"
                                                      name="shipping_method"/>
                                          <xs:element type="xs:string"
                                                      name="other_carrier"/>
                                          <xs:element type="xs:string"
                                                      name="carrier_account"/>
                                          <xs:element type="xs:string"
                                                      name="carrier_scac_code"/>
                                          <xs:element type="xs:string"
                                                      name="service_code"/>
                                          <xs:element type="xs:string"
                                                      name="delivery_instruction"/>
                                        </xs:sequence>
                                      </xs:complexType>
                                    </xs:element>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:element name="gift">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element type="xs:string" name="message"/>
                              <xs:element type="xs:string" name="wrap_indicator"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="po_ship" minOccurs="0">
              <xs:complexType>
                <xs:sequence>
                  <xs:element type="xs:integer" name="mark_for_location_id" minOccurs="0"/>
                  <xs:element type="xs:string" name="po_id"  minOccurs="0"/>
                  <xs:element type="xs:string" name="ship_info_id"  minOccurs="0"/>
                  <xs:element name="po_ship_additional">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="attributes" minOccurs="0">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element type="xs:string" name="invoice_number" minOccurs="0"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:element type="tp_locationType" name="mark_for_location"  minOccurs="0"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="ship_carton" maxOccurs="unbounded">
              <xs:complexType>
                <xs:sequence>
                  <xs:element type="xs:string" name="vendor_id" minOccurs="0"/>
                  <xs:element type="xs:string" name="ship_carton_number" minOccurs="0"/>
                  <xs:element type="xs:string" name="ship_info_id" minOccurs="0"/>
                  <xs:element type="xs:string" name="po_id" minOccurs="0"/>
                  <xs:element name="ship_carton_additional">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="attributes" minOccurs="0">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element type="xs:string" name="carton_internal_ref_num" minOccurs="0"/>
                              <xs:element type="xs:string" name="carton_type_code" minOccurs="0"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="po_item_pack" maxOccurs="unbounded" minOccurs="0">
                    <xs:complexType>
                      <xs:sequence maxOccurs="unbounded">
                        <xs:element type="xs:string" name="po_item_id"/>
                        <xs:element type="xs:float" name="po_item_pack_qty"/>
                        <xs:element name="po_item_pack_additional">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="attributes">
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element type="xs:string" name="item_lot_number" minOccurs="0"/>
                                    <xs:element type="xs:string" name="comments_to_retailer" minOccurs="0"/>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:element name="po_item">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element type="xs:string" name="po_item_id"/>
                              <xs:element type="xs:string" name="po_id"/>
                              <xs:element type="xs:string" name="product_id"/>
                              <xs:element type="xs:integer" name="po_item_line_num"/>
                              <xs:element type="xs:float" name="po_item_qty_ordered"/>
                              <xs:element type="xs:float" name="po_item_unit_price"/>
                              <xs:element type="xs:float" name="po_item_qty_confirmed"/>
                              <xs:element type="xs:float" name="po_item_unit_price_confirmed"/>
                              <xs:element type="xs:string" name="po_item_uom"/>
                              <xs:element type="xs:string" name="po_item_buyer_item_num"/>
                              <xs:element type="xs:string" name="ship_to_location_id"/>
                              <xs:element type="xs:string" name="mark_for_location_id"/>
                              <xs:element type="xs:string" name="po_item_status"/>
                              <xs:element type="xs:dateTime" name="po_item_created"/>
                              <xs:element type="xs:dateTime" name="po_item_updated"/>
                              <xs:element name="po_item_additional">
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element name="attributes">
                                      <xs:complexType>
                                        <xs:sequence>
                                          <xs:element type="xs:string" name="payment_terms"/>
                                          <xs:element type="xs:dateTime"
                                                      name="estimated_delivery_date"/>
                                          <xs:element type="xs:dateTime" name="estimated_ship_date"/>
                                          <xs:element type="xs:float" name="retail_price"/>
                                          <xs:element type="xs:string" name="sale_number"/>
                                          <xs:element type="xs:string" name="buyer_catalog_number"/>
                                          <xs:element type="xs:string" name="department_number"/>
                                          <xs:element type="xs:string" name="instruction"/>
                                          <xs:element type="xs:string" name="message"/>
                                          <xs:element name="allowances" type="allowanceType"
                                                      maxOccurs="unbounded"/>
                                          <xs:element name="allowance_by_type"
                                                      type="allowanceByTypeType"/>
                                          <xs:element name="packing" type="packingType"/>
                                          <xs:element name="totals" type="totalsType"/>
                                          <xs:element name="retailer_carrier_code" type="xs:string"/>
                                          <xs:element name="product" type="productType"/>
                                        </xs:sequence>
                                      </xs:complexType>
                                    </xs:element>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                              <xs:element name="product" type="productType"/>
                              <xs:element name="product_group">
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element type="xs:string" name="product_group_description"/>
                                    <xs:element type="xs:string" name="vendor_id"/>
                                    <xs:element type="xs:string" name="product_group_id"/>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                              <xs:element name="product_pack" maxOccurs="unbounded" minOccurs="0">
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element type="xs:string" name="product_pack_id"/>
                                    <xs:element type="xs:string" name="parent_product_id"/>
                                    <xs:element type="xs:string" name="product_pack_product_id"/>
                                    <xs:element type="xs:float" name="product_pack_product_qty"/>
                                    <xs:element type="xs:int" name="product_pack_status"/>
                                    <xs:element type="xs:string" name="vendor_id"/>
                                    <xs:element type="xs:string" name="product_group_id"/>
                                    <xs:element type="productType" name="product"/>
                                    <xs:element name="product_pack_additional">
                                      <xs:complexType>
                                        <xs:sequence>
                                          <xs:element name="attributes">
                                            <xs:complexType>
                                              <xs:sequence>
                                                <xs:element type="xs:string"
                                                            name="custom_attribute"/>
                                              </xs:sequence>
                                            </xs:complexType>
                                          </xs:element>
                                        </xs:sequence>
                                      </xs:complexType>
                                    </xs:element>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="shipmentsType">
    <xs:sequence>
      <xs:element name="shipment" type="shipmentType" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>