users@jax-rpc.java.net

Re: jwsdp 1.4: wscompile: generator error: java.lang.NullPointerException

From: Cyril Bouteille <cbouteille_at_hotwire.com>
Date: Fri, 20 Aug 2004 16:51:43 -0700

Thanks Roberto! We extracted the imported wsdl and split it into 2 xsd
imports for WS-I compliance. Now it starts generating the code, but
wscompile runs then into a NPE:

wscompile:
command line: wscompile -d /space/home/cyril/wsdp/base -g -gen:client
-keep -s /space/home/cyril/wsdp/base -verbose
/space/home/cyril/p4/phoenix/main/build/jwsdp-config.xml[ServiceInterfaceGenerator:
creating service interface: PayPalServices.PayPalAPIInterfaceService]
[ServiceGenerator: creating service:
PayPalServices.PayPalAPIInterfaceService_Impl]
[EnumerationGenerator: generating Enumeration for:
PayPalServices.DetailLevelCodeType]
[...]
[EnumerationEncoderGenerator: generating Enumeration for:
PayPalServices.ReversalReasonCodeType_LiteralSerializer]
[InterfaceSerializerGenerator: writing serializer/deserializer for:
AbstractRequestType]
[InterfaceSerializerGenerator: writing serializer/deserializer for:
AbstractResponseType]
[LiteralObjectSerializerGenerator: writing serializer/deserializer for:
BasicAmountType]
[LiteralObjectSerializerGenerator: writing serializer/deserializer for:
RefundTransactionRequestType]
error: generator error: java.lang.NullPointerException

It seems to be related to <xs:any> tags in one of the imported
eBLBaseComponents.xsd on line 3188 and 3242.
Is there anyway to get more information about the exception?

Roberto Chinnici wrote:

>The problem is that PayPalSvc.wsdl is using an xs:import to import
>a WSDL document, with the intent of importing a schema embedded
>inside it. This violates R2004 in WS-I Basic Profile 1.0:
>
> R2004 A DESCRIPTION MUST NOT use the XML Schema "import" statement
> to import a Schema from any document whose root element is not "schema"
> from the namespace "http://www.w3.org/2001/XMLSchema".
>
>The workaround is to extract the schema in ebayTypes.wsdl, save it
>as ebayTypes.xsd and change the xs:import/_at_schemaLocation attribute
>in PayPalSvc.wsdl to point to it.
>
>Roberto
>
>
>Cyril Bouteille wrote:
>> Hello,
>> I bet it's a quite stupid error, but we can't figure it out from the
>> error message...
>> We get the following error message from wscompile when using jwsdp 1.4
>> with one of our partner's wsdl file (attached):
>>
>> command line: wscompile -d /wsdp/base -gen:client -keep -s /wsdp/base
>> -verbose /build/jwsdp-config.xml
>> error: modeler error: expected root element "schema" (in namespace
>> "http://www.w3.org/2001/XMLSchema"), found element "wsdl:definitions"
>> (in namespace "http://schemas.xmlsoap.org/wsdl/")
>>
>> That wsdl compiles fine with other implementation such as Axis.
>> Has anyone any idea as to what the problem could be?
>> Thanks!
>> --
>> Cyril Bouteille
>> <http://www.hotwire.com> Enterprise Java Architect
>> Hotwire.com <http://www.hotwire.com>, Inc. (an IAC/InterActiveCorp
>> <http://www.iac.com> company)
>> 333 Market Street Suite 100
>> San Francisco, CA 94105
>> ------------------------------------------------------------------------
>> /This email message is for the sole use of the intended recipient(s) and
>> may contain confidential information. Any unauthorized review, use,
>> disclosure or distribution of this message is prohibited. If you are not
>> intended recipient of this message please contact the sender by reply
>> email and destroy all copies of the original message./
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
>For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>
>
>
>

-- 
Cyril Bouteille
Hotwire.com - Fly. Sleep. Drive. Cheap. <http://www.hotwire.com> 
Enterprise Java Architect
Hotwire.com <http://www.hotwire.com>, Inc. (an IAC/InterActiveCorp 
<http://www.iac.com> company)
333 Market Street Suite 100
San Francisco, CA 94105
------------------------------------------------------------------------
/This email message is for the sole use of the intended recipient(s) and 
may contain confidential information. Any unauthorized review, use, 
disclosure or distribution of this message is prohibited. If you are not 
intended recipient of this message please contact the sender by reply 
email and destroy all copies of the original message./



<xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
           targetNamespace="urn:ebay:apis:eBLBaseComponents"
           xmlns:cc="urn:ebay:apis:CoreComponentTypes"
           xmlns:ns="urn:ebay:apis:eBLBaseComponents"
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
           elementFormDefault="qualified"
           attributeFormDefault="unqualified">

<!--

##### from file AccountStateCodeList.xsd #####

--> <xs:simpleType name="AccountStateCodeType">
                <xs:annotation>
                        <xs:documentation>
                             AccountStateCodeType - Type declaration to be used by other schema.
                             These are the possible codes to describe the state of an account of an
                             eBay user.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Active">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Amex
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Pending">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Visa
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Inactive">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Mastercard
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file AckCodeList.xsd #####

--> <xs:simpleType name="AckCodeType">
                <xs:annotation>
                        <xs:documentation>
                           AckCodeType - Type declaration to be used by other schema.
                           This code identifies the acknowledgement code types that
                           could be used to communicate the status of processing a
                           (request) message to an application. This code would be used
                           as part of a response message that contains an application
                           level acknowledgement element.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Success">
                                <xs:annotation>
                                        <xs:documentation>
                                           Request processing succeeded.
                                      </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Failure">
                                <xs:annotation>
                                        <xs:documentation>
                                           Request processing failed.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Warning">
                                <xs:annotation>
                                        <xs:documentation>
                                             Request processing completed with warning information
                                             being included in the response message.
                                         </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="SuccessWithWarning">
                                <xs:annotation>
                                        <xs:documentation>
                                             Request processing completed successful with some
                                             with some warning information that could be useful for
                                             the requesting application to process and/or record.
                                         </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="FailureWithWarning">
                                <xs:annotation>
                                        <xs:documentation>
                                             Request processing failed with some error and warnining
                                             information that requesting application should process to
                                             determine cause(s) of failure.
                                         </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file AddressOwnerCodeList.xsd #####

--> <xs:simpleType name="AddressOwnerCodeType">
                <xs:annotation>
                        <xs:documentation>
                           AddressOwnerCodeType - Type declaration to be used by other schema.
                           This code identifies the AddressOwner code types which indicates
                           who owns the user'a address.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="PayPal">
                                <xs:annotation>
                                        <xs:documentation>
                                           PayPal owns address.
                                      </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="eBay">
                                <xs:annotation>
                                        <xs:documentation>
                                           eBay owns address.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file AuctionTypeCodeList.xsd #####

--> <xs:simpleType name="AuctionTypeCodeType">
                <xs:annotation>
                        <xs:documentation>
                             AuctionTypeCodeType - Type declaration to be used
                             by other schema's. This includes codes indicating the
                             type of auction for the listed item.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Unknown">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Unknown auction type
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Chinese">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Chinese auction
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Dutch">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Dutch auction
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Live">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Live Auctions-type auction
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Ad type">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Ad type auction
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Stores Fixed-price">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Stores Fixed-price auction (US only)
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Personal Offer">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Personal Offer auction
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Fixed Price Item">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Fixed Price item ("BIN only").
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file BalanceCodeList.xsd #####

--> <xs:simpleType name="BalanceCodeType">
                <xs:annotation>
                        <xs:documentation>
                           BalanceCodeType - Type declaration to be used by other schema.
                           This code identifies the types of balances in an account, e.g., a PayPal
                           account.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Other">
                                <xs:annotation>
                                        <xs:documentation>Custom Code</xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file BuyerPaymentMethodCodeList.xsd #####

--> <xs:simpleType name="BuyerPaymentMethodCodeType">
                <xs:annotation>
                        <xs:documentation>
                             BuyerPaymentMethodCodeType - Type declaration to be used
                             by other schema. The includes the codes for payment methods
                             used by buyers to pay sellers.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="None">
                                <xs:annotation>
                                        <xs:documentation>
                                                    No payment method specified
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="MOCC">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Money order/cashiers check
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="AmEx">
                                <xs:annotation>
                                        <xs:documentation>
                                                  American Express
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="PaymentSeeDescription">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Payment See Description
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CCAccepted">
                                <xs:annotation>
                                        <xs:documentation>
                                                  American Express
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="PersonalCheck">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Personal check
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="COD">
                                <xs:annotation>
                                        <xs:documentation>
                                                   COD
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="VisaMC">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Visa/Mastercard
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Other">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Other forms of payment.
                                                  Some custom method is accepted by seller
                                                  as payment method in the transaction. For
                                                  Motors vehicle items, this field refers to the
                                                  Deposit payment method.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="PayPal">
                                <xs:annotation>
                                        <xs:documentation>
                                                  PayPal
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Discover">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Discover
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CashOnPickup">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Payment on delivery acceptable payment term.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="MoneyXferAccepted">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Direct transfer of money acceptable payment term.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="MoneyXferAcceptedinCheckout">
                                <xs:annotation>
                                        <xs:documentation>
                                                    If the seller has bank account information on file,
                                                    and MoneyXferAcceptedinCheckout = true, then
                                                    the bank account information will be displayed in
                                                    Checkout. Applicable to German site only.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="OtherOnlinePayments">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Online Escrow paid for by seller.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file BuyerProtectionCodeList.xsd #####

--> <xs:simpleType name="BuyerProtectionCodeType">
                <xs:annotation>
                        <xs:documentation>
                             BuyerProtectionCodeType - Type declaration to be used by other schema.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="ItemIneligible">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Item is ineligible (e.g., category not applicable).
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="ItemEligible">
                                <xs:annotation>
                                        <xs:documentation>
                                                     Item is eligible per standard criteria.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="ItemMarkedIneligible">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Item marked ineligible per special criteria (e.g., seller's account closed).
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="ItemMarkedEligible">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Item marked eligible per other criteria.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file CheckoutStatusCodeList.xsd #####

--> <xs:simpleType name="CheckoutStatusCodeType">
                <xs:annotation>
                        <xs:documentation>
                             CheckoutStatusCodeType - Type declaration to be used by other schema.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="CheckoutComplete">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Checkout complete.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CheckoutIncomplete">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Checkout incomplete. No details specified.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="BuyerRequestsTotal">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Buyer requests total.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="SellerResponded">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Seller responded to buyer's request.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file CountryCodeList.xsd #####

--> <xs:simpleType name="CountryCodeType">
                <xs:annotation>
                        <xs:documentation>
                          CountryCodeType - Type declaration to be used by other schema.
                          This code list module defines the enumerated types
                           of standard 2-letter ISO 3166 country codes. This codelist
                           contains some additional country code not defined in
                           the ISO 3166 country code set.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="AF"/>
                        <xs:enumeration value="AL"/>
                        <xs:enumeration value="DZ"/>
                        <xs:enumeration value="AS"/>
                        <xs:enumeration value="AD"/>
                        <xs:enumeration value="AO"/>
                        <xs:enumeration value="AI"/>
                        <xs:enumeration value="AQ"/>
                        <xs:enumeration value="AG"/>
                        <xs:enumeration value="AR"/>
                        <xs:enumeration value="AM"/>
                        <xs:enumeration value="AW"/>
                        <xs:enumeration value="AU"/>
                        <xs:enumeration value="AT"/>
                        <xs:enumeration value="AZ"/>
                        <xs:enumeration value="BS"/>
                        <xs:enumeration value="BH"/>
                        <xs:enumeration value="BD"/>
                        <xs:enumeration value="BB"/>
                        <xs:enumeration value="BY"/>
                        <xs:enumeration value="BE"/>
                        <xs:enumeration value="BZ"/>
                        <xs:enumeration value="BJ"/>
                        <xs:enumeration value="BM"/>
                        <xs:enumeration value="BT"/>
                        <xs:enumeration value="BO"/>
                        <xs:enumeration value="BA"/>
                        <xs:enumeration value="BW"/>
                        <xs:enumeration value="BV"/>
                        <xs:enumeration value="BR"/>
                        <xs:enumeration value="IO"/>
                        <xs:enumeration value="BN"/>
                        <xs:enumeration value="BG"/>
                        <xs:enumeration value="BF"/>
                        <xs:enumeration value="BI"/>
                        <xs:enumeration value="KH"/>
                        <xs:enumeration value="CM"/>
                        <xs:enumeration value="CA"/>
                        <xs:enumeration value="CV"/>
                        <xs:enumeration value="KY"/>
                        <xs:enumeration value="CF"/>
                        <xs:enumeration value="TD"/>
                        <xs:enumeration value="CL"/>
                        <xs:enumeration value="CN"/>
                        <xs:enumeration value="CX"/>
                        <xs:enumeration value="CC"/>
                        <xs:enumeration value="CO"/>
                        <xs:enumeration value="KM"/>
                        <xs:enumeration value="CG"/>
                        <xs:enumeration value="CD"/>
                        <xs:enumeration value="CK"/>
                        <xs:enumeration value="CR"/>
                        <xs:enumeration value="CI"/>
                        <xs:enumeration value="HR"/>
                        <xs:enumeration value="CU"/>
                        <xs:enumeration value="CY"/>
                        <xs:enumeration value="CZ"/>
                        <xs:enumeration value="DK"/>
                        <xs:enumeration value="DJ"/>
                        <xs:enumeration value="DM"/>
                        <xs:enumeration value="DO"/>
                        <xs:enumeration value="TP"/>
                        <xs:enumeration value="EC"/>
                        <xs:enumeration value="EG"/>
                        <xs:enumeration value="SV"/>
                        <xs:enumeration value="GQ"/>
                        <xs:enumeration value="ER"/>
                        <xs:enumeration value="EE"/>
                        <xs:enumeration value="ET"/>
                        <xs:enumeration value="FK"/>
                        <xs:enumeration value="FO"/>
                        <xs:enumeration value="FJ"/>
                        <xs:enumeration value="FI"/>
                        <xs:enumeration value="FR"/>
                        <xs:enumeration value="GF"/>
                        <xs:enumeration value="PF"/>
                        <xs:enumeration value="TF"/>
                        <xs:enumeration value="GA"/>
                        <xs:enumeration value="GM"/>
                        <xs:enumeration value="GE"/>
                        <xs:enumeration value="DE"/>
                        <xs:enumeration value="GH"/>
                        <xs:enumeration value="GI"/>
                        <xs:enumeration value="GR"/>
                        <xs:enumeration value="GL"/>
                        <xs:enumeration value="GD"/>
                        <xs:enumeration value="GP"/>
                        <xs:enumeration value="GU"/>
                        <xs:enumeration value="GT"/>
                        <xs:enumeration value="GN"/>
                        <xs:enumeration value="GW"/>
                        <xs:enumeration value="GY"/>
                        <xs:enumeration value="HT"/>
                        <xs:enumeration value="HM"/>
                        <xs:enumeration value="VA"/>
                        <xs:enumeration value="HN"/>
                        <xs:enumeration value="HK"/>
                        <xs:enumeration value="HU"/>
                        <xs:enumeration value="IS"/>
                        <xs:enumeration value="IN"/>
                        <xs:enumeration value="ID"/>
                        <xs:enumeration value="IR"/>
                        <xs:enumeration value="IQ"/>
                        <xs:enumeration value="IE"/>
                        <xs:enumeration value="IL"/>
                        <xs:enumeration value="IT"/>
                        <xs:enumeration value="JM"/>
                        <xs:enumeration value="JP"/>
                        <xs:enumeration value="JO"/>
                        <xs:enumeration value="KZ"/>
                        <xs:enumeration value="KE"/>
                        <xs:enumeration value="KI"/>
                        <xs:enumeration value="KP"/>
                        <xs:enumeration value="KR"/>
                        <xs:enumeration value="KW"/>
                        <xs:enumeration value="KG"/>
                        <xs:enumeration value="LA"/>
                        <xs:enumeration value="LV"/>
                        <xs:enumeration value="LB"/>
                        <xs:enumeration value="LS"/>
                        <xs:enumeration value="LR"/>
                        <xs:enumeration value="LY"/>
                        <xs:enumeration value="LI"/>
                        <xs:enumeration value="LT"/>
                        <xs:enumeration value="LU"/>
                        <xs:enumeration value="MO"/>
                        <xs:enumeration value="MK"/>
                        <xs:enumeration value="MG"/>
                        <xs:enumeration value="MW"/>
                        <xs:enumeration value="MY"/>
                        <xs:enumeration value="MV"/>
                        <xs:enumeration value="ML"/>
                        <xs:enumeration value="MT"/>
                        <xs:enumeration value="MH"/>
                        <xs:enumeration value="MQ"/>
                        <xs:enumeration value="MR"/>
                        <xs:enumeration value="MU"/>
                        <xs:enumeration value="YT"/>
                        <xs:enumeration value="MX"/>
                        <xs:enumeration value="FM"/>
                        <xs:enumeration value="MD"/>
                        <xs:enumeration value="MC"/>
                        <xs:enumeration value="MN"/>
                        <xs:enumeration value="MS"/>
                        <xs:enumeration value="MA"/>
                        <xs:enumeration value="MZ"/>
                        <xs:enumeration value="MM"/>
                        <xs:enumeration value="NA"/>
                        <xs:enumeration value="NR"/>
                        <xs:enumeration value="NP"/>
                        <xs:enumeration value="NL"/>
                        <xs:enumeration value="AN"/>
                        <xs:enumeration value="NC"/>
                        <xs:enumeration value="NZ"/>
                        <xs:enumeration value="NI"/>
                        <xs:enumeration value="NE"/>
                        <xs:enumeration value="NG"/>
                        <xs:enumeration value="NU"/>
                        <xs:enumeration value="NF"/>
                        <xs:enumeration value="MP"/>
                        <xs:enumeration value="NO"/>
                        <xs:enumeration value="OM"/>
                        <xs:enumeration value="PK"/>
                        <xs:enumeration value="PW"/>
                        <xs:enumeration value="PS"/>
                        <xs:enumeration value="PA"/>
                        <xs:enumeration value="PG"/>
                        <xs:enumeration value="PY"/>
                        <xs:enumeration value="PE"/>
                        <xs:enumeration value="PH"/>
                        <xs:enumeration value="PN"/>
                        <xs:enumeration value="PL"/>
                        <xs:enumeration value="PT"/>
                        <xs:enumeration value="PR"/>
                        <xs:enumeration value="QA"/>
                        <xs:enumeration value="RE"/>
                        <xs:enumeration value="RO"/>
                        <xs:enumeration value="RU"/>
                        <xs:enumeration value="RW"/>
                        <xs:enumeration value="SH"/>
                        <xs:enumeration value="KN"/>
                        <xs:enumeration value="LC"/>
                        <xs:enumeration value="PM"/>
                        <xs:enumeration value="VC"/>
                        <xs:enumeration value="WS"/>
                        <xs:enumeration value="SM"/>
                        <xs:enumeration value="ST"/>
                        <xs:enumeration value="SA"/>
                        <xs:enumeration value="SN"/>
                        <xs:enumeration value="SC"/>
                        <xs:enumeration value="SL"/>
                        <xs:enumeration value="SG"/>
                        <xs:enumeration value="SK"/>
                        <xs:enumeration value="SI"/>
                        <xs:enumeration value="SB"/>
                        <xs:enumeration value="SO"/>
                        <xs:enumeration value="ZA"/>
                        <xs:enumeration value="GS"/>
                        <xs:enumeration value="ES"/>
                        <xs:enumeration value="LK"/>
                        <xs:enumeration value="SD"/>
                        <xs:enumeration value="SR"/>
                        <xs:enumeration value="SJ"/>
                        <xs:enumeration value="SZ"/>
                        <xs:enumeration value="SE"/>
                        <xs:enumeration value="CH"/>
                        <xs:enumeration value="SY"/>
                        <xs:enumeration value="TW"/>
                        <xs:enumeration value="TJ"/>
                        <xs:enumeration value="TZ"/>
                        <xs:enumeration value="TH"/>
                        <xs:enumeration value="TG"/>
                        <xs:enumeration value="TK"/>
                        <xs:enumeration value="TO"/>
                        <xs:enumeration value="TT"/>
                        <xs:enumeration value="TN"/>
                        <xs:enumeration value="TR"/>
                        <xs:enumeration value="TM"/>
                        <xs:enumeration value="TC"/>
                        <xs:enumeration value="TV"/>
                        <xs:enumeration value="UG"/>
                        <xs:enumeration value="UA"/>
                        <xs:enumeration value="AE"/>
                        <xs:enumeration value="GB"/>
                        <xs:enumeration value="US"/>
                        <xs:enumeration value="UM"/>
                        <xs:enumeration value="UY"/>
                        <xs:enumeration value="UZ"/>
                        <xs:enumeration value="VU"/>
                        <xs:enumeration value="VE"/>
                        <xs:enumeration value="VN"/>
                        <xs:enumeration value="VG"/>
                        <xs:enumeration value="VI"/>
                        <xs:enumeration value="WF"/>
                        <xs:enumeration value="EH"/>
                        <xs:enumeration value="YE"/>
                        <xs:enumeration value="YU"/>
                        <xs:enumeration value="ZM"/>
                        <xs:enumeration value="ZW"/>
                        <xs:enumeration value="AA">
                                <xs:annotation>
                                        <xs:documentation>
                                NOTE: APO/FPO was defined in eBay list previously
                                but they are not defined in ISO 3166. This country
                                will remain on eBay country code list for backward
                                compatibility.
                             </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="QM">
                                <xs:annotation>
                                        <xs:documentation>
                                NOTE: Guernsey was defined in eBay list previously
                                but they are not defined in ISO 3166. This country
                                will remain on eBay country list for backward
                                compatibility.
                             </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="QN">
                                <xs:annotation>
                                        <xs:documentation>
                                 NOTE: Jan Mayen was defined in eBay list previously
                                 but they are not defined in ISO 3166. This country
                                 will remain on eBay country list for backward
                                 compatibility.
                             </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="QO">
                                <xs:annotation>
                                        <xs:documentation>
                                 NOTE: Jersey was defined in eBay list previously
                                 but they are not defined in ISO 3166. This country
                                 will remain on eBay country list for backward
                                 compatibility.
                             </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="QP">
                                <xs:annotation>
                                        <xs:documentation>
                                 NOTE: Tahiti was defined in eBay list previously
                                 but they are not defined in ISO 3166. This country
                                 will remain on eBay country list for backward
                                 compatibility.
                             </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file CurrencyCodeList.xsd #####

--> <xs:simpleType name="CurrencyCodeType">
                <xs:annotation>
                        <xs:documentation>
                                   This code list module defines the enumerated types
                                   of standard 3-letter ISO 4217 currency codes.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="AFA"/>
                        <xs:enumeration value="ALL"/>
                        <xs:enumeration value="DZD"/>
                        <xs:enumeration value="ADP"/>
                        <xs:enumeration value="AOA"/>
                        <xs:enumeration value="ARS"/>
                        <xs:enumeration value="AMD"/>
                        <xs:enumeration value="AWG"/>
                        <xs:enumeration value="AZM"/>
                        <xs:enumeration value="BSD"/>
                        <xs:enumeration value="BHD"/>
                        <xs:enumeration value="BDT"/>
                        <xs:enumeration value="BBD"/>
                        <xs:enumeration value="BYR"/>
                        <xs:enumeration value="BZD"/>
                        <xs:enumeration value="BMD"/>
                        <xs:enumeration value="BTN"/>
                        <xs:enumeration value="INR"/>
                        <xs:enumeration value="BOV"/>
                        <xs:enumeration value="BOB"/>
                        <xs:enumeration value="BAM"/>
                        <xs:enumeration value="BWP"/>
                        <xs:enumeration value="BRL"/>
                        <xs:enumeration value="BND"/>
                        <xs:enumeration value="BGL"/>
                        <xs:enumeration value="BGN"/>
                        <xs:enumeration value="BIF"/>
                        <xs:enumeration value="KHR"/>
                        <xs:enumeration value="CAD"/>
                        <xs:enumeration value="CVE"/>
                        <xs:enumeration value="KYD"/>
                        <xs:enumeration value="XAF"/>
                        <xs:enumeration value="CLF"/>
                        <xs:enumeration value="CLP"/>
                        <xs:enumeration value="CNY"/>
                        <xs:enumeration value="COP"/>
                        <xs:enumeration value="KMF"/>
                        <xs:enumeration value="CDF"/>
                        <xs:enumeration value="CRC"/>
                        <xs:enumeration value="HRK"/>
                        <xs:enumeration value="CUP"/>
                        <xs:enumeration value="CYP"/>
                        <xs:enumeration value="CZK"/>
                        <xs:enumeration value="DKK"/>
                        <xs:enumeration value="DJF"/>
                        <xs:enumeration value="DOP"/>
                        <xs:enumeration value="TPE"/>
                        <xs:enumeration value="ECV"/>
                        <xs:enumeration value="ECS"/>
                        <xs:enumeration value="EGP"/>
                        <xs:enumeration value="SVC"/>
                        <xs:enumeration value="ERN"/>
                        <xs:enumeration value="EEK"/>
                        <xs:enumeration value="ETB"/>
                        <xs:enumeration value="FKP"/>
                        <xs:enumeration value="FJD"/>
                        <xs:enumeration value="GMD"/>
                        <xs:enumeration value="GEL"/>
                        <xs:enumeration value="GHC"/>
                        <xs:enumeration value="GIP"/>
                        <xs:enumeration value="GTQ"/>
                        <xs:enumeration value="GNF"/>
                        <xs:enumeration value="GWP"/>
                        <xs:enumeration value="GYD"/>
                        <xs:enumeration value="HTG"/>
                        <xs:enumeration value="HNL"/>
                        <xs:enumeration value="HKD"/>
                        <xs:enumeration value="HUF"/>
                        <xs:enumeration value="ISK"/>
                        <xs:enumeration value="IDR"/>
                        <xs:enumeration value="IRR"/>
                        <xs:enumeration value="IQD"/>
                        <xs:enumeration value="ILS"/>
                        <xs:enumeration value="JMD"/>
                        <xs:enumeration value="JPY"/>
                        <xs:enumeration value="JOD"/>
                        <xs:enumeration value="KZT"/>
                        <xs:enumeration value="KES"/>
                        <xs:enumeration value="AUD"/>
                        <xs:enumeration value="KPW"/>
                        <xs:enumeration value="KRW"/>
                        <xs:enumeration value="KWD"/>
                        <xs:enumeration value="KGS"/>
                        <xs:enumeration value="LAK"/>
                        <xs:enumeration value="LVL"/>
                        <xs:enumeration value="LBP"/>
                        <xs:enumeration value="LSL"/>
                        <xs:enumeration value="LRD"/>
                        <xs:enumeration value="LYD"/>
                        <xs:enumeration value="CHF"/>
                        <xs:enumeration value="LTL"/>
                        <xs:enumeration value="MOP"/>
                        <xs:enumeration value="MKD"/>
                        <xs:enumeration value="MGF"/>
                        <xs:enumeration value="MWK"/>
                        <xs:enumeration value="MYR"/>
                        <xs:enumeration value="MVR"/>
                        <xs:enumeration value="MTL"/>
                        <xs:enumeration value="EUR"/>
                        <xs:enumeration value="MRO"/>
                        <xs:enumeration value="MUR"/>
                        <xs:enumeration value="MXN"/>
                        <xs:enumeration value="MXV"/>
                        <xs:enumeration value="MDL"/>
                        <xs:enumeration value="MNT"/>
                        <xs:enumeration value="XCD"/>
                        <xs:enumeration value="MZM"/>
                        <xs:enumeration value="MMK"/>
                        <xs:enumeration value="ZAR"/>
                        <xs:enumeration value="NAD"/>
                        <xs:enumeration value="NPR"/>
                        <xs:enumeration value="ANG"/>
                        <xs:enumeration value="XPF"/>
                        <xs:enumeration value="NZD"/>
                        <xs:enumeration value="NIO"/>
                        <xs:enumeration value="NGN"/>
                        <xs:enumeration value="NOK"/>
                        <xs:enumeration value="OMR"/>
                        <xs:enumeration value="PKR"/>
                        <xs:enumeration value="PAB"/>
                        <xs:enumeration value="PGK"/>
                        <xs:enumeration value="PYG"/>
                        <xs:enumeration value="PEN"/>
                        <xs:enumeration value="PHP"/>
                        <xs:enumeration value="PLN"/>
                        <xs:enumeration value="USD"/>
                        <xs:enumeration value="QAR"/>
                        <xs:enumeration value="ROL"/>
                        <xs:enumeration value="RUB"/>
                        <xs:enumeration value="RUR"/>
                        <xs:enumeration value="RWF"/>
                        <xs:enumeration value="SHP"/>
                        <xs:enumeration value="WST"/>
                        <xs:enumeration value="STD"/>
                        <xs:enumeration value="SAR"/>
                        <xs:enumeration value="SCR"/>
                        <xs:enumeration value="SLL"/>
                        <xs:enumeration value="SGD"/>
                        <xs:enumeration value="SKK"/>
                        <xs:enumeration value="SIT"/>
                        <xs:enumeration value="SBD"/>
                        <xs:enumeration value="SOS"/>
                        <xs:enumeration value="LKR"/>
                        <xs:enumeration value="SDD"/>
                        <xs:enumeration value="SRG"/>
                        <xs:enumeration value="SZL"/>
                        <xs:enumeration value="SEK"/>
                        <xs:enumeration value="SYP"/>
                        <xs:enumeration value="TWD"/>
                        <xs:enumeration value="TJS"/>
                        <xs:enumeration value="TZS"/>
                        <xs:enumeration value="THB"/>
                        <xs:enumeration value="XOF"/>
                        <xs:enumeration value="TOP"/>
                        <xs:enumeration value="TTD"/>
                        <xs:enumeration value="TND"/>
                        <xs:enumeration value="TRL"/>
                        <xs:enumeration value="TMM"/>
                        <xs:enumeration value="UGX"/>
                        <xs:enumeration value="UAH"/>
                        <xs:enumeration value="AED"/>
                        <xs:enumeration value="GBP"/>
                        <xs:enumeration value="USS"/>
                        <xs:enumeration value="USN"/>
                        <xs:enumeration value="UYU"/>
                        <xs:enumeration value="UZS"/>
                        <xs:enumeration value="VUV"/>
                        <xs:enumeration value="VEB"/>
                        <xs:enumeration value="VND"/>
                        <xs:enumeration value="MAD"/>
                        <xs:enumeration value="YER"/>
                        <xs:enumeration value="YUM"/>
                        <xs:enumeration value="ZMK"/>
                        <xs:enumeration value="ZWD"/>
                        <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file DepositTypeCodeList.xsd #####

--> <xs:simpleType name="DepositTypeCodeType">
                <xs:annotation>
                        <xs:documentation>
                           DepositTypeCodeType - Type declaration to be used by other schema's.
                           This code identifies the DepositType codes used to specify deposit
                           types for Motors items. If the ietm listed is not a Motors item, then always
                           return DepositType value to be "None".
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="None">
                                <xs:annotation>
                                        <xs:documentation>None</xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="OtherMethod">
                                <xs:annotation>
                                        <xs:documentation>
                                           Other Method
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="FastDeposit">
                                <xs:annotation>
                                        <xs:documentation>
                                           Fast Deposit. </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file DetailLevelCodeList.xsd #####

--> <xs:simpleType name="DetailLevelCodeType">
                <xs:annotation>
                        <xs:documentation>
                             DetailLevelCodeType - Type declaration to be used by other schema.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="ReturnAll">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Return in response message all detail levels.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="ItemReturnDescription">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Return item description.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="ItemReturnAttributes">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Return attributes as part of the item.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file eBLBaseComponents-version0.94.xsd #####

--> <xs:annotation>
                <xs:documentation>
                        This file defines re-useable base and aggregate components of the
                        eBay Business Lanaguage (eBL) that would be used to compose
                        message payloads for eBay APIs.
                 </xs:documentation>
        </xs:annotation>
        <xs:simpleType name="ItemIDType">
                <xs:annotation>
                        <xs:documentation>
                            Represents the unique identifier for an item. To be used to specify the
                            elements that represents an ItemID.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:string"/>
        </xs:simpleType>
        <xs:complexType name="AccountEntryType">
                <xs:sequence>
                        <xs:element ref="ns:Balance">
                                <xs:annotation>
                                        <xs:documentation>
                                  Balance as of a given entry, can be 0.00.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Credit" type="cc:AmountType">
                                <xs:annotation>
                                        <xs:documentation>
                                  Credit Amount for a detail entry, can be 0.00.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Date" type="xs:dateTime">
                                <xs:annotation>
                                        <xs:documentation>
                                   Date entry was posted, in GMT.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Debit" type="cc:AmountType">
                                <xs:annotation>
                                        <xs:documentation>
                                   Debit Amount for this detail entry, can be 0.00.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:ItemID">
                                <xs:annotation>
                                        <xs:documentation>
                                   Item number if transaction is associated with an auction or 0
                                   if no item is associated with an account entry.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Memo" type="xs:string">
                                <xs:annotation>
                                        <xs:documentation>
                                   Memo line for an account entry, can be empty string.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="RefNumber" type="xs:int">
                                <xs:annotation>
                                        <xs:documentation>
                                   eBay reference number for an account entry.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="AccountEntryDetailsType" type="xs:int">
                                <xs:annotation>
                                        <xs:documentation>
                                   Integer code for account details entry type. This element
                                   element specifies an index to a table of explanations for
                                   accounting charges.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="AdditionalAccountType">
                <xs:annotation>
                        <xs:documentation>
                  The AdditionalAccount component represents historical data related to
                  accounts that the user held with a country of residency other than
                  the current one. eBay users can have one active account at a time.
                  For users who change their country of residency and modify their
                  eBay registration to reflect this change, the new country of residence
                  becomes the currently active account. Any account associated with
                  a previous country is treated as an additional account. Because the
                  currency for these additional accounts are different than the active
                  account, each additional account includes an indicator of the currency
                  for that account. Users who never change their country of residence
                  will not have any additional accounts.
                </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element ref="ns:Balance"/>
                        <xs:element ref="ns:Currency"/>
                        <xs:element ref="ns:AccountCode"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="PromotedItemType">
                <xs:annotation>
                        <xs:documentation>
                                Merchandizing info for an Item. This contains a list of crosssell
                                or upsell items.
                </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="ItemID" type="ns:ItemIDType">
                                <xs:annotation>
                                        <xs:documentation>
                                                Item ID for the base item. Based on this item other items are
                                                promoted. it is teh only tag that would show up in all calls that use promoted item type.
                                                some are not in soap yet, such as get and ser promotion rules
                         </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="PictureURL" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                            URL for the picture of the promoted item.
                    </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="position" type="xs:int" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                            Where to display in the list of items.currentl y even forget and set does not have to be minoccur =0
                            but if we ever were to do revise promotion tems, it can be omitted
                    </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="PromotionPrice" type="cc:AmountType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                Promotion Price. Price at which the buyer can buy the item now.
                    </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="PromotionPriceType" type="ns:PromotionItemPriceTypeCodeType" minOccurs="0"/>
                        <xs:element name="SelectionType" type="ns:PromotionItemSelectionCodeType" minOccurs="0"/>
                        <xs:element name="Title" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                            Item Title for the promoted item.
                    </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ListingType" type="ns:ListingTypeCodeType" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="CrossPromotionsType">
                <xs:annotation>
                        <xs:documentation>
                                Merchandizing info for an Item. This contains a list of crosssell
                                or upsell items.
                                PrimaryScheme, PromotionMethod,SellerId,ItemId, ShippingDiscount
                                do not have be min occur 0
                </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="ItemID" type="ns:ItemIDType">
                                <xs:annotation>
                                        <xs:documentation>
                                                Item ID for the base item. Based on this item other items are
                                                promoted.
                         </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="PrimaryScheme" type="ns:PromotionSchemeCodeType"/>
                        <xs:element name="PromotionMethod" type="ns:PromotionMethodCodeType"/>
                        <xs:element name="SellerID" type="xs:string">
                                <xs:annotation>
                                        <xs:documentation>
                            Id of the Seller who is promoting this item.
                    </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ShippingDiscount" type="xs:boolean">
                                <xs:annotation>
                                        <xs:documentation>
                            Shipping Discount offered or not by the seller.
                    </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="SellerKey" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                            Key of the Seller who is promoting this item.
                    </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="StoreName" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                            Store Name for the seller.
                    </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="PromotedItem" type="ns:PromotedItemType" maxOccurs="unbounded"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="AccountSummaryType" mixed="true">
                <xs:annotation>
                        <xs:documentation>
                     Includes account summary for the user.
             </xs:documentation>
                </xs:annotation>
                <xs:choice minOccurs="0" maxOccurs="unbounded">
                        <xs:element name="AccountState" type="ns:AccountStateCodeType" minOccurs="0"/>
                        <xs:element name="AdditionalAccount" type="ns:AdditionalAccountType" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element name="AdditionalAccountsCount" type="xs:int">
                                <xs:annotation>
                                        <xs:documentation>
                                     Number of additional accounts.
                                   </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:AmountPastDue" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                Amount past due, 0.00 if not past due.
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="BankAccountInfo" type="xs:string">
                                <xs:annotation>
                                        <xs:documentation>
                                First four digits (with remainder Xed-out). This may be an empty
                                string depending upon the value of the payment type for the
                                user account (e.g, if no debit-card specified).
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="BankModifyDate" type="xs:dateTime">
                                <xs:annotation>
                                        <xs:documentation>
                                Last time/day BankAccountInfo and/or BankRoutingInfo was
                                modified, in GMT. This may be an empty string depending
                                upon the value of the payment type for the user account
                                (e.g, if no debit-card specified).
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="BillingCycleDate" type="xs:dateTime">
                                <xs:annotation>
                                        <xs:documentation>
                                Indicates the billing cycle in which eBay sends a billing
                                invoice to the specified user. Possible values:
                                                    0 = On the last day of the month.
                                                    15 = On the 15th day of the month.
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="CCExp" type="xs:dateTime">
                                <xs:annotation>
                                        <xs:documentation>
                                Expiration date for the credit card selected as payment method,
                                in GMT. Empty string if no credit card is on file or if account is
                                inactive -- even if there is a credit card on file.
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="CCInfo" type="xs:string">
                                <xs:annotation>
                                        <xs:documentation>
                                Last four digits of user's credit card selected as payment
                                type. Empty string if no credit is on file. This may be an empty
                                string depending upon the value of the payment type for the
                                user account (e.g, if no debit-card specified).
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="CCModifyDate" type="xs:dateTime">
                                <xs:annotation>
                                        <xs:documentation>
                                Last date credit card or credit card expiration date was
                                modified, in GMT. This may be an empty string depending
                                upon the value of the payment type for the user account
                                (e.g, Empty string if no credit card is on file.
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:CurrentBalance">
                                <xs:annotation>
                                        <xs:documentation>
                                User's current balance. Can be 0.00, positive, or negative.
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="LastAmountPaid" type="cc:AmountType">
                                <xs:annotation>
                                        <xs:documentation>
                                Amount of last payment posted, 0.00 if no payments posted.
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="LastInvoiceAmount" type="cc:AmountType">
                                <xs:annotation>
                                        <xs:documentation>
                                Amount of last invoice. 0.00 if account not yet invoiced.
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="LastInvoiceDate" type="xs:dateTime">
                                <xs:annotation>
                                        <xs:documentation>
                                Date of last invoice sent by eBay to the user, in GMT.
                                Empty string if this account has not been invoiced yet.
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="LastPaymentDate" type="xs:dateTime">
                                <xs:annotation>
                                        <xs:documentation>
                                Date of last payment by specified user to eBay, in GMT.
                                Empty string if no payments posted.
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="PastDue" type="xs:boolean">
                                <xs:annotation>
                                        <xs:documentation>
                                Indicates whether the account has past due amounts
                                outstanding. Possible values:
                                                    true = Account is past due.
                                                    false = Account is current.
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="PaymentMethod" type="ns:SellerPaymentMethodCodeType">
                                <xs:annotation>
                                        <xs:documentation>
                               Indicates the method the specified user selected for paying
                               eBay. The values for PaymentType vary for each SiteID.
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                </xs:choice>
        </xs:complexType>
        <xs:complexType name="BuyerType">
                <xs:annotation>
                        <xs:documentation>
                                Information about user used by buying applications
                </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element ref="ns:ShippingAddress" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="SellerType">
                <xs:annotation>
                        <xs:documentation>
                                Information about user used by selling applications
                                there are number of required elements - they will always show up for seller node
                                there is not such a call to do revise seller info. only added minoccur=0 to elements that will not show up in every
                                type of request/responce
                </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="AllowPaymentEdit" type="xs:boolean"/>
                        <xs:element name="BillingCurrency" type="ns:CurrencyCodeType" minOccurs="0"/>
                        <xs:element ref="ns:CheckoutEnabled"/>
                        <xs:element name="CIPBankAccountStored" type="xs:boolean"/>
                        <xs:element name="GoodStanding" type="xs:boolean"/>
                        <xs:element name="LiveAuctionAuthorized" type="xs:boolean"/>
                        <xs:element name="MerchandizingPref" type="ns:MerchandizingPrefCodeType">
                                <xs:annotation>
                                        <xs:documentation>
                                                                    Indicates whether the user has elected to participate
                                                                    as a seller in the Merchandising Manager feature.
                                                             </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="QualifiesForB2BVAT" type="xs:boolean"/>
                        <xs:element ref="ns:SellerLevel"/>
                        <xs:element ref="ns:SellerPaymentAddress" minOccurs="0"/>
                        <xs:element name="SchedulingInfo" type="ns:SchedulingInfoType" minOccurs="0"/>
                        <xs:element ref="ns:StoreOwner"/>
                        <xs:element name="StoreURL" type="xs:anyURI" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="FeeType">
                <xs:annotation>
                        <xs:documentation>
                             Definition of an eBay Fee type.
                   </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="Name" type="xs:string" minOccurs="0"/>
                        <xs:element name="Fee" type="cc:AmountType" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="FeesType">
                <xs:annotation>
                        <xs:documentation>
                              Following are the current set of eBay fee types
                                        AuctionLengthFee
                                        BoldFee
                                        BuyItNowFee
                                        CategoryFeaturedFee
                                        FeaturedFee
                                        FeaturedGalleryFee
                                        FixedPriceDurationFee
                                        GalleryFee
                                        GiftIconFee
                                        HighLightFee
                                        InsertionFee
                                        ListingDesignerFee
                                        ListingFee
                                        PhotoDisplayFee
                                        PhotoFee
                                        ReserveFee
                                        SchedulingFee
                                        ThirtyDaysAucFee
                                Instances of this type could hold one or more supported types of fee.
                   </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="Fee" type="ns:FeeType" maxOccurs="unbounded"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="ShippingCarrierDetailsType">
                <xs:sequence>
                        <xs:element name="CarrierShippingFee" type="cc:AmountType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                    Calculated cost of shipping, based on shipping parameters and
                                    selected shipping service. Only returned if ShippingType = 2
                                    (i.e., calculated shipping rate).
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:InsuranceFee" minOccurs="0"/>
                        <xs:element ref="ns:InsuranceOption" minOccurs="0"/>
                        <xs:element name="PackagingHandlingCosts" type="cc:AmountType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                         Optional fees a seller might assess for the shipping of the item.
                                         </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ShippingRateErrorMessage" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                        Describes any error message associated with the attempt
                                   to calculate shipping rates. If there was no error, returns
                                        "No Error" (without the quotation marks).
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:ShippingService">
                        <xs:annotation>
                                        <xs:documentation>
                                      is unique identified of shipping carrier, without this element the whole node makes no sence
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>

                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="CalculatedShippingRateType">
                <xs:sequence>
                        <xs:element name="OriginatingPostalCode" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                    Potal/zip code from where package will be shipped.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ShippingIrregular" type="xs:boolean" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                        Indicates an item that cannot go through the stamping machine
                                        at the shipping service office (a value of True) and requires
                                        special or fragile handling. Only returned if ShippingType = 2.
                                 </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="CarrierDetails" type="ns:ShippingCarrierDetailsType" maxOccurs="unbounded" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                        contains information about shipping fees per each shipping service chosen by the seller
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ShippingPackage" type="ns:ShippingPackageCodeType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                         May need to be moved into details - wait for George! The size of the package to be shipped. Possible values are:
                                              None
                                              Letter
                                              Large envelope
                                              USPS flat rate envelope
                                              Package/thick envelope
                                              USPS large package/oversize 1
                                              Very large package/oversize 2
                                              UPS Letter
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="WeightMajor" type="cc:MeasureType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                        Shipping weight unit of measure (major). If unit of weight is kilogram
                                        (i.e., metric system) this would be the exact weight value in kilogram
                                        (i.e., complete decimal number, e.g., 2.23 kg). Only returned if
                                        ShippingType is 2.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="WeightMinor" type="cc:MeasureType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                        Shipping weight unit of measure (minor). If unit of weight is in pounds and/or
                                        ounces, this would be the exact weight value in ounces (i.e., complete
                                        decimal number, e.g., 8.2 or 8.0 ounces). Only returned if ShippingType is 2.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="FlatShippingRateType">
                <xs:sequence>
                        <xs:element name="AdditionalShippingCosts" type="cc:AmountType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                     Any additional shipping costs for the item.
                                 </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="FlatShippingHandlingCosts" type="cc:AmountType" minOccurs="0"/>
                        <xs:element ref="ns:InsuranceFee" minOccurs="0"/>
                        <xs:element ref="ns:InsuranceOption" minOccurs="0"/>
                        <xs:element ref="ns:ShippingService" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="SalesTaxType">
                <xs:sequence>
                        <xs:element name="SalesTaxPercent" type="xs:float" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                   Amount of the sales tax to be collected for the transaction.
                                   Sales tax is only for US.
                             </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="SalesTaxState" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                    Sales tax for the transaction, expressed as a percentage. Should
                                    be empty for items listed on international sites (hence, this is
                                    US-only element).
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ShippingIncludedInTax" type="xs:boolean" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                   Indicates whether shipping is included in the tax. Applicable if
                                   ShippingType = 1 or 2. This element is used for US-only.
                             </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="ShippingDetailsType">
                <xs:annotation>
                        <xs:documentation>
                       Specifies the shipping payment details.
                   </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="AllowPaymentEdit" type="xs:boolean" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                         Indicates whether the buyer edited the payment amount.
                                   </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="CalculatedShippingRate" type="ns:CalculatedShippingRateType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                    Calculated shipping rate details. If present, then the calculated shipping rate option was used.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ChangePaymentInstructions" type="xs:boolean" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                         Indicates whether the payment instructions are included (e.g., for updating the
                                         details of a transaction).
                                   </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="FlatShippingRate" type="ns:FlatShippingRateType" minOccurs="0" maxOccurs="unbounded">
                                <xs:annotation>
                                        <xs:documentation>
                                    Flat shipping rate details. If present, then the flat shipping rate option was used.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="InsuranceTotal" type="cc:AmountType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                    Total cost of insurance for the transaction.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="InsuranceWanted" type="xs:boolean" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                    Indicates whether buyer selected to have insurance.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="PaymentInstructions" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                    Payment instuctions.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="SalesTax" type="ns:SalesTaxType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                    Sales tax details. Sales tax applicable for only US sites.
                                    For non-US sites this sub-element should not be used.
                                 </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="SellerPostalCode" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                    Postal/Zip code from where the seller will ship the item.
                                 </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="SiteHostedPictureType">
                <xs:sequence>
                        <xs:element name="PictureURL" type="xs:anyURI" minOccurs="0" maxOccurs="6">
                                <xs:annotation>
                                        <xs:documentation>
                                    URLs for item picture that are stored/hosted at eBay site.
                             </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="PhotoDisplay" type="ns:PhotoDisplayCodeType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                           Type of display for photos used for PhotoHosting slide show.
                                           Here are display options:
                                                            None = No special Picture Services features.
                                                            SlideShow = Slideshow of multiple pictures.
                                                            SuperSize = Super-size format picture.
                                                            PicturePack = Picture Pack.
                                                                 Default is 'None'.
                                      </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="GalleryType" type="ns:GalleryTypeCodeType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                          This will be either "Featured" or "Gallery".
                                      </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="VendorHostedPictureType">
                <xs:sequence>
                        <xs:element name="PictureURL" type="xs:anyURI" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                    URLs for item picture that are stored/hosted at eBay site.
                             </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="GalleryURL" type="xs:anyURI" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                     URL for a picture for the gallery. If the GalleryFeatured
                                                     argument is true, a value must be supplied for either
                                                     the GalleryURL or the PictureURL argument.
                                                In either case:
                                                        (a) If a URL is provided for only PictureURL, it is used
                                                        as the Gallery thumbnail.
                                                        (b) If a URL is provided for both GalleryURL and
                                                        PictureURL, then the picture indicated in GalleryURL
                                                        is used as the thumbnail.
                                                The image used for the Gallery thumbnail (specified
                                                in the GalleryURL or PictureURL argument) must be
                                                in one of the graphics formats JPEG, BMP, TIF, or GIF.
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="GalleryType" type="ns:GalleryTypeCodeType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                          This will be either "Featured" or "Gallery".
                                      </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="ValType">
                <xs:sequence>
                        <xs:element name="ValueLiteral" type="xs:string"/>
                </xs:sequence>
                <xs:attribute name="ValueID" type="xs:string" use="optional"/>
        </xs:complexType>
        <xs:complexType name="AttributeType">
                <xs:annotation>
                        <xs:documentation>
                                   Specific physical attribute of an item.
                        </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="Value" type="ns:ValType" maxOccurs="unbounded">
                                <xs:annotation>
                                        <xs:documentation>
                                   ValueList of the Attribute being described by the AttributeID.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                </xs:sequence>
                <xs:attribute name="AttributeID" type="xs:string">
                        <xs:annotation>
                                <xs:documentation>
                                        Constant name of the attribute that identifies a
                                             physical attribute within a set of characteristics
                                             that describe something in a formalised way.
                               </xs:documentation>
                        </xs:annotation>
                </xs:attribute>
        </xs:complexType>
        <xs:complexType name="AttributeSetType">
                <xs:annotation>
                        <xs:documentation>
                        AttributeSet.
               </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="Attribute" type="ns:AttributeType" maxOccurs="unbounded"/>
                </xs:sequence>
                <xs:attribute name="AttributeSetID" type="xs:string"/>
        </xs:complexType>
        <xs:complexType name="ListOfAttributeSetType">
                <xs:sequence>
                        <xs:element name="AttributeSet" type="ns:AttributeSetType" maxOccurs="unbounded"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="CategoryType">
                <xs:annotation>
                        <xs:documentation>
                           Container for data on the primary category of listing.
                    </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="AutoPayEnabled" type="xs:boolean" minOccurs="0"/>
                        <xs:element name="B2BVATEnabled" type="xs:boolean" minOccurs="0"/>
                        <xs:element name="CatalogEnabled" type="xs:boolean" minOccurs="0"/>
                        <xs:element name="CategoryID" type="xs:string"/>
                        <xs:element name="CategoryLevel" type="xs:int" minOccurs="0"/>
                        <xs:element name="CategoryName" type="xs:string" minOccurs="0"/>
                        <xs:element name="CategoryParentID" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element name="CategoryParentName" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element name="CSIDList" type="xs:string" minOccurs="0" maxOccurs="unbounded">
                                <xs:annotation>
                                        <xs:documentation>
                                           CSIDList is not present if Attributes enabled.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Expired" type="xs:boolean" minOccurs="0"/>
                        <xs:element name="IntlAutosFixedCat" type="xs:boolean" minOccurs="0"/>
                        <xs:element name="LeafCategory" type="xs:boolean" minOccurs="0"/>
                        <xs:element name="Virtual" type="xs:boolean" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="StorefrontType">
                <xs:annotation>
                        <xs:documentation>
                               Contains the eBay Stores-specific item attributes
                               department number and store location. StorefrontInfo
                               is shown for any item that belongs to an eBay Store
                               owner, regardless of whether it is fixed price or
                               auction type. Returned as null for international
                               fixed price items.
                             </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element ref="ns:StoreCategoryID">
                        <xs:annotation>
                                        <xs:documentation>
                                                      assumed this type is specific to add/get/revise item, then each StorefrontType nust have category id, for store details this node makes no sense to use
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:StoreURL" minOccurs="0">
                        <xs:annotation>
                                        <xs:documentation>
                                                      in case or revise item for example - to change store category (department) you do not need to change store URL, so it will notbe in request
                                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="ListingDesignerType">
                <xs:annotation>
                        <xs:documentation>
                                  Identifies the Layout and the Theme template
                               associated with the item. in case of revision - all data can be min occur = 0
                        </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="LayoutID" type="xs:int" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                      Identifies the Layout template associated with the item.
                                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="OptimalPictureSize" type="xs:boolean" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                A value of true for OptimalPictureSize indicates that the picture
                                                URL will be enlarged to fit description of the item.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ThemeID" type="xs:int" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                      Identifies the Theme template associated with the item.
                                         </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="CharityType">
                <xs:annotation>
                        <xs:documentation>
                       Contains information about a Charity listing.in case of revision - all data can be min occur = 0
                   </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="CharityName" type="xs:string" minOccurs="0"/>
                        <xs:element name="CharityNumber" type="xs:int" minOccurs="0"/>
                        <xs:element name="DonationPercent" type="xs:float" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="SellingStatusType">
                <xs:annotation>
                        <xs:documentation>
                        Contains the listed items price details which consists of
                        following information: BuyItNowPrice, ConvertedBuyItNowPrice,
                        ConvertedPrice, ConvertedStartPrice, CurrentPrice, MinimumToBid,
                        ReservePrice, and StartPrice. need to take in account get seller events when defining minoccurs = 0
                </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="BidCount" type="xs:int" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                       Number of bids placed so far against the item. Not
                                       returned for International Fixed Price items.
                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="BidIncrement" type="cc:AmountType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                       Smallest amount a bid must be above the current high
                                       bid. Not returned International Fixed Price items.
                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ConvertedCurrentPrice" type="cc:AmountType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                           Converted current price of listed item.
                                 </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="CurrentPrice" type="cc:AmountType">
                                <xs:annotation>
                                        <xs:documentation>
                                        For auction-format listings, current minimum asking price
                                        or the current highest bid for the item if bids have been
                                        placed. Shows minimum bid if no bids have been placed
                                        against the item. This field does not reflect the actual current
                                        price of the item if it's a Type=7 or Type=9 (Fixed Price)
                                        item and the price has been revised. (See StartPrice for
                                        revised asking price.)
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:HighBidder" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                         Contains one User node representing the current high
                                         bidder. GetItem returns a high bidder for auctions that have
                                         ended and have a winning bidder. For Fixed Price listings,
                                         in-progress auctions, or auction items that received no
                                         bids, GetItem returns a HighBidder node with empty tags.
                                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="LeadCount" type="xs:int" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                          Applicable to ad-format items only. Indicates how many
                                          leads to potential buyers are associated with this item.
                                          For other item types (other than ad-format items), returns
                                          a value of 0 (zero).
                                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="MinimumToBid" type="cc:AmountType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                          Minimum acceptable bid for the item. Not returned for
                                          International Fixed Price items.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="QuantitySold" type="xs:int">
                                <xs:annotation>
                                        <xs:documentation>
                                             Number of items purchased so far. (Subtract from the value
                                             returned in the Quantity field to calculate the number of items
                                             remaining.)
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ReserveMet" type="xs:boolean" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                Returns true if the reserve price was met or no reserve
                                                price was specified.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="SecondChanceEligible" type="xs:boolean" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="ReviseStatusType">
                <xs:annotation>
                        <xs:documentation>
                        Contains the revise status information details (e.g., item properties
                        information). ths node contains system set data only - always output and always all data. no minccurs needed,
                        except for motors specific data, since it wil lnot be retruned for non motors items
                </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="ItemRevised" type="xs:boolean">
                                <xs:annotation>
                                        <xs:documentation>
                                              Indicates whether the item was revised since the auction started.
                                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="BuyItNowAdded" type="xs:boolean" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                              If true, indicates that a Buy It Now Price was added for
                                              the item. Only returned for Motors items.
                                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="BuyItNowLowered" type="xs:boolean" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                     Replaces BinLowered as of API version 305. If true,
                                                     indicates that the Buy It Now Price was lowered for the
                                                     item. Only returned for Motors items.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ReserveLowered" type="xs:boolean" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                          If true, indicates that the Reserve Price was lowered for
                                          the item. Only returned for Motors items.
                                      </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ReserveRemoved" type="xs:boolean" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                          If true, indicates that the Reserve Price was removed
                                          from the item. Only returned for eBay Motors items.
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="ListingDetailsType">
                <xs:annotation>
                        <xs:documentation>
                        Contains the listed item details which consists of following information: .
                </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="Adult" type="xs:boolean" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="BindingAuction" type="xs:boolean" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="CheckoutEnabled" type="xs:boolean" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ConvertedBuyItNowPrice" type="cc:AmountType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                       Converted value of the BuyItNowPrice in the currency
                                       indicated by SiteCurrency. This value must be refreshed
                                       every 24 hours to pick up the current conversion rates.
                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ConvertedStartPrice" type="cc:AmountType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                       Converted value of the StartPrice field in the currency
                                       indicated by SiteCurrency. This value must be refreshed
                                       every 24 hours to pick up the current conversion rates.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ConvertedReservePrice" type="cc:AmountType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                         Indicates the converted reserve price for a reserve auction. Returned
                                         only if DetailLevel = 4. ReservePrice is only returned for auctions with
                                         a reserve price where the user calling GetItem is the item's seller.
                                         Returned as null for International Fixed Price items. For more information
                                         on reserve price auctions, see http://pages.ebay.com/help/basics/f-format.html#1.
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="HasReservePrice" type="xs:boolean" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="RegionName" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="RelistedItemID" type="ns:ItemIDType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               Indicates the new ItemID for a relisted item. When an item is
                                               relisted, the old (expired) listing is annotated with the new
                                               (relist) ItemID. This field only appears when the old listing is
                                               retrieved.
                                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="SecondChanceOriginalItemID" type="ns:ItemIDType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                       The ItemID for the original listing (i.e., OriginalItemID specific
                                       to Second Chance Offer items).
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="StartTime" type="xs:dateTime" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                      Time stamp for the start of the listing (in GMT). For regular items,
                                      StartTime is not sent in at listing time.
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="EndTime" type="xs:dateTime" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                      Time stamp for the end of the listing (in GMT).
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ViewItemURL" type="xs:anyURI" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="ItemType">
                <xs:sequence>
                        <xs:element name="ApplicationData" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               Returns custom, application-specific data associated
                                               with the item. The data in this field is stored with the item
                                               in the items table at eBay, but is not used in any way by
                                               eBay. Use ApplicationData to store such special information
                                               as a part or SKU number. Maximum 32 characters in length.
                                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ListOfAttributeSets" type="ns:ListOfAttributeSetType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               Carries one or more instances of the AttributeSet in a list.
                                 </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="AutoPay" type="xs:boolean" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               If true (1), indicates that the seller requested immediate
                                               payment for the item. False (0) if immediate payment was
                                               not requested. (Does not indicate whether the item is
                                               still a candidate for puchase via immediate payment.)
                                               Only applicable for items listed on US and UK sites in
                                               categories that support immediate payment, when seller
                                              has a Premier or Business PayPal account.
                                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="BuyerProtection" type="ns:BuyerProtectionCodeType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               Indicates the status of the item's eligibility for the Buyer
                                               Protection Program. Possible values:
                                                            ItemIneligible - Item is ineligible (e.g., category not applicable)
                                                             ItemEligible - Item is eligible per standard criteria
                                                            ItemMarkedIneligible - Item marked ineligible per special criteria (e.g., seller's account closed)
                                                            ItemMarkedIneligible - Item marked elegible per other criteria
                                                Applicable for items listed to the US site and for the Parts
                                                and Accessories category (6028) or Everything Else category
                                                (10368) (or their subcategories) on the eBay Motors site.
                                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="BuyItNowPrice" type="cc:AmountType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               Amount a Buyer would need to bid to take advantage
                                               of the Buy It Now feature. Not applicable to Fixed-Price
                                               items (Type = 7 or 9) or AdFormat-type listings. For
                                               Fixed-Price items, see StartPrice instead.
                                      </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Charity" type="ns:CharityType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               Charity listing container.
                                 </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:Country" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                              2-letter ISO 3166 Country Code.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="CrossPromotion" type="ns:CrossPromotionsType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               CrossPromotions container, if applicable shows promoted items
                                 </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:Currency" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                3-letter ISO Currency Code.
                                 </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Description" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               Item Description.
                             </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Escrow" type="ns:EscrowCodeType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                              Online Escrow paid for by buyer or seller. Cannot use
                                              with real estate auctions. Escrow is recommended for
                                              for transactions over $500. Escrow service,
                                              available via Escrow.com, protects both buyer and
                                              seller by acting as a trusted third-party during the
                                              transaction and managing the payment process
                                              from start to finish. Also, if escrow by seller option used,
                                              then for Motors, this means that Escrow will be
                                              negotiated at the end of the auction.
                                      </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="GiftIcon" type="xs:int" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                              If set, a generic gift icon displays in the listing's
                                              Title. GiftIcon must be set to to be able to use
                                              GiftServices options (e.g., GiftExpressShipping,
                                              GiftShipToRecipient, or GiftWrap).
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="GiftServices" type="ns:GiftServicesCodeType" minOccurs="0" maxOccurs="unbounded">
                                <xs:annotation>
                                        <xs:documentation>
                                              Gift service options offered by the seller of
                                              the listed item.
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="HitCounter" type="ns:HitCounterCodeType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               Optional hit counter for the item's listing page. Possible
                                               values are:
                                                       "NoHitCounter"
                                                        "HonestyStyle"
                                                        "GreenLED"
                                                        "Hidden"
                                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:ItemID" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                The ID that uniquely identifies the item listing.
                                 </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ListingDetails" type="ns:ListingDetailsType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               Includes listing details in terms of start and
                                               end time of listing (in GMT) as well as other
                                               details (e.g., orginal item for second chance,
                                               converted start price, etc.).
                                      </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ListingDesigner" type="ns:ListingDesignerType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                              When an item is first listed (using AddItem), a Layout template
                                              or a Theme template (or both) can be assigned to the item.
                                              A Layout template is assigned to a new item by specifying
                                              the Layout template ID (in the AddItem input argument
                                              LayoutID). Similarly, a Theme template is assigned to the
                                              item using the ThemeID argument.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:ListingDuration" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                     Describes the number of days the auction will be active.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ListingEnhancement" type="ns:ListingEnhancementsCodeType" minOccurs="0" maxOccurs="unbounded">
                                <xs:annotation>
                                        <xs:documentation>
                                                     Describes the types of enhancment supported
                                               for the item's listing.
                                      </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ListingType" type="ns:ListingTypeCodeType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               Describes the type of listing for the item a seller
                                               has chosen (e.g., Chinese, Dutch, FixedPrice, etc.).
                                      </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Location" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                     Indicates the geographical location of the item.
                                      </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="PartnerCode" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Needed for add item only for partners.
                                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="PartnerName" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Needed for add item only for partners.
                                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:PaymentMethods" minOccurs="0" maxOccurs="unbounded">
                                <xs:annotation>
                                        <xs:documentation>
                                               List of payment methods accepted by a seller from a buyer for
                                               a (checkout) transaction.
                                 </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="PayPalEmailAddress" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                Valid PayPal e-mail address if seller has chosen PayPal
                                                as a payment method for the listed item.
                                </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="PrimaryCategory" type="ns:CategoryType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Container for data on the primary category of listing.
                                         </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="PrivateListing" type="xs:boolean" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Private auction. Not applicable to Fixed Price items.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Quantity" type="xs:int" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                 Number of items being sold in the auction.
                                      </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:RegionID" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               Region where the item is listed. See Region Table for values.
                                               If the item is listed with a Region of 0 (zero), then this return
                                               field denotes no region association with the item, meaning
                                               that it is not listing the item regionally.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="RelistLink" type="xs:boolean" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               If true, creates a link from the old listing for the item to the new
                                               relist page, which accommodates users who might still look for
                                               the item under its old item ID. Also adds the relist ID to the old
                                               listing's record in the eBay database, which can be returned by
                                               calling GetItem for the old ItemId. If your application creates the
                                               listing page for the user, you need to add the relist link option to
                                              your application for your users.
                                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ReservePrice" type="cc:AmountType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                 Indicates the reserve price for a reserve auction. Returned
                                                 only if DetailLevel = 4. ReservePrice is only returned for
                                                 auctions with a reserve price where the user calling GetItem
                                                 is the item's seller. Returned as null for International Fixed
                                                 Price items. For more information on reserve price auctions,
                                                 see http://pages.ebay.com/help/basics/f-format.html#1.
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:ReviseStatus" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                          Revise Status contains information about the item being
                                          revised.
                             </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ScheduleTime" type="xs:dateTime" minOccurs="0"/>

                        <xs:element name="SecondaryCategory" type="ns:CategoryType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Container for data on the secondary category of listing.
                                                    Secondary category is optional.
                                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="SiteHostedPicture" type="ns:SiteHostedPictureType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Item picture information for pictures hosted at eBay site.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:Seller" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               Seller user.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:SellingStatus" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Container for for selling status information (e.g., BidCount,
                                                    BidIncrement, HighBidder, MinimimumToBid, etc).
                                         </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ShippingOption" type="ns:ShippingOptionCodeType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               Specifies where the seller is willing to ship the item.
                                                       Default "SiteOnly". Valid values are:
                                                        SiteOnly (the default)
                                                             WorldWide
                                                             SitePlusRegions
                                                             WillNotShip
                                                 If SitePlusRegions is selected, then at least one
                                                 regions argument (ShipToNorthAmerica, ShipToEurope,
                                                 etc.) must also be set.
                             </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:ShippingDetails" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                Contains the shipping payment related information for the
                                                listed item.
                                         </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:ShippingRegions" minOccurs="0" maxOccurs="unbounded">
                                <xs:annotation>
                                        <xs:documentation>
                                               Regions that seller will ship to.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ShippingTerms" type="ns:ShippingTermsCodeType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                       Describes who pays for the delivery of an item (e.g., buyer
                                               or seller).
                                      </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:Site" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                eBay site on which item is listed.
                                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="StartPrice" type="cc:AmountType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Starting price for the item. For Type=7 or Type=9 (Fixed Price)
                                                    items, if the item price (MinimumBid) is revised, this field
                                                    returns the new price.
                             </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Storefront" type="ns:StorefrontType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                     Storefront is shown for any item that
                                                     belongs to an eBay Store owner, regardless of
                                                     whether it is fixed price or auction type. Not
                                                     returned for International Fixed Price items.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="SubTitle" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                         Subtitle to use in addition to the title. Provides more keywords when buyers search in titles and descriptions.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="TimeLeft" type="xs:duration" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                              Time until the the end of the listing (e.g., the amount of time left
                                              in an active auction).
                                      </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Title" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                         Name of the item as it appears for auctions.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:UUID" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                              Universally unique constraint tag. The UUID is unique to a category.
                                       </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="VATDetails" type="ns:VATDetailsType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               VAT info container.
                                 </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="VendorHostedPicture" type="ns:VendorHostedPictureType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Item picture information for pictures hosted at vendor (i.e., remote) site.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="TransactionsType">
                <xs:annotation>
                        <xs:documentation>
                       Contains information about multiple individual transations.
                   </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element ref="ns:Transaction" maxOccurs="unbounded"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="TransactionType">
                <xs:annotation>
                        <xs:documentation>
                       Contains information about a single transaction. A transaction contains information
                       about the sale of a particular item. The system creates a transaction when a buyer
                       has made a purchase (Fixed Price items) or is the winning bidder (BIN and auction
                       items). A listing can be associated with one or more transactions in these cases:
                                   Multi-Item Fixed Price Listings
                                   Dutch Auction Listings
                      A listing is associated with a single transaction in these cases:
                                   Single-Item Fixed Price Listings
                                   Single-Item Auction Listings
                   </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element ref="ns:AmountPaid" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                The amount the buyer paid for the item or agreed to pay,
                                                depending on how far into the checkout process the item is.
                                                If the seller allowed the buyer to change the item total, the buyer
                                                is able to change the total until the time that the transaction's
                                                status moves to Complete. Determine whether the buyer
                                                changed the amount by calling GetSellerTransactions or
                                                GetSellerTransactions and comparing the AmountPaid value
                                                to what the seller expected. For Motors items, AmountPaid is
                                                the amount paid by the buyer for the deposit.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Buyer" type="ns:UserType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                Container for buyer data.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:ShippingDetails" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                Includes shipping payment data.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ConvertedAmountPaid" type="cc:AmountType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                Value returned in the Transaction/AmountPaid element, converted
                                                 to the currency indicated by SiteCurrency.
                                             </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ConvertedTransactionPrice" type="cc:AmountType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                Value returned in the Transaction/TransactionPrice element,
                                                converted to the currency indicated by SiteCurrency.
                                             </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="CreatedDate" type="xs:dateTime" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                For fixed-price, Stores, and BIN items indicates when the
                                                purchase (or BIN) occurred. For all other item types indicates
                                                when the transaction was created (the time when checkout
                                                was initiated).
                                             </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="DepositType" type="ns:DepositTypeCodeType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                            Deposit type for Motors items. If item is not a Motors item,
                                            then returns a DepositType of None. Possible values:
                                                            None
                                                            Other Method
                                                            Fast Deposit
                                             </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Item" type="ns:ItemType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                Item info associated with the transaction.
                                      </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="QuantityPurchased" type="xs:int" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                           Contains the number of individual items the buyer purchased in
                                           the transaction.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ShippingHandlingTotal" type="cc:AmountType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                            Shipping cost totals shown to user (for both flat and calculated
                                            rates).
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Status" type="ns:TransactionStatusType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                            Container node for transaction status data.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element ref="ns:TransactionID" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                              Unique identifier for a transaction. Returns 0 when Type=1
                                                     (Chinese auction). Typically, an ItemID and a TransactionID
                                                     uniquely identify a checkout transaction.
                                      </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="TransactionPrice" type="cc:AmountType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                            Price of the item, before shipping and sales tax. For Motors,
                                            TransactionPrice is the deposit amount.
                                         </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="VATPercent" type="xs:decimal" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                              VAT rate for the item, if the item price includes the VAT rate.
                                              Specify the VATPercent if you want include the net price in
                                              addition to the gross price in the listing. VAT rates vary
                                              depending on the item and on the user's country of residence;
                                              therefore a business seller is responsible for entering the
                                              correct VAT rate (it will not be calculated by eBay).
                                       </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                </xs:sequence>
        </xs:complexType>
        <xs:simpleType name="UserIDType">
                <xs:restriction base="xs:string">
                        <xs:length value="127"/>
                </xs:restriction>
        </xs:simpleType>
        <xs:complexType name="PaymentMeansType">
                <xs:sequence>
                        <xs:element name="TypeCodeID" type="ns:SellerPaymentMethodCodeType"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="PaymentType">
                <xs:sequence>
                        <xs:element name="PaymentMeans" type="ns:PaymentMeansType"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="TransactionStatusType">
                <xs:sequence>
                        <xs:element name="eBayPaymentStatus" type="xs:int" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                                Indicates the success or failure of an eBay Online Payment for
                                                the transaction. If the payment failed, the value returned indicates
                                                the reason for the failure. Possible values:
                                                            0 = No payment failure.
                                                            3 = Buyer's eCheck bounced.
                                                            4 = Buyer's credit card failed.
                                                            5 = Buyer failed payment as reported by seller.
                                                            7 = Payment from buyer to seller is in PayPal process, but has not yet been completed.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="IncompleteState" type="xs:int" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               Indicates the current state of the checkout process for the transaction. Possible values:
                                                    0 = Checkout complete.
                                                    1 = Checkout incomplete. No details specified.
                                                    2 = Buyer requests total.
                                                    3 = Seller responded to buyer's request.
                                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="LastTimeModified" type="xs:dateTime" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               Indicates last date and time checkout status or incomplete state was updated
                                               (in GMT).
                                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="PaymentMethodUsed" type="ns:BuyerPaymentMethodCodeType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               Payment method used by the buyer. (See BuyerPaymentCodeList/Type).
                                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="StatusIs" type="xs:int" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                               Indicates whether the transaction process complete or incomplete.
                                               Possible values:
                                                            1 = Incomplete
                                                            2 = Complete
                                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="UserType">
                <xs:sequence>
                        <xs:element name="AboutMePage" type="xs:boolean" minOccurs="0"/>
                        <xs:element name="EAISToken" type="xs:string" minOccurs="0"/>
                        <xs:element ref="ns:Email"/>
                        <xs:element ref="ns:FeedbackScore" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                          Feedback scores are a quantitative expression of the desirability of dealing
                                          with that person as a Buyer or a Seller in auction transactions. Each
                                          auction transaction can result in one feedback entry for a given user
                                          (the Buyer can leave one feedback about the Seller and the Seller can leave
                                          one feedback about the Buyer). That one feedback can be positive, negative,
                                          or neutral. The aggregated feedback counts for a particular user represent
                                          that user's overall feedback score (referred to as a "feedback rating" on the
                                          eBay site). This rating is commonly expressed as the eBay Feedback score
                                          for the user.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="FeedbackPrivate" type="xs:boolean" minOccurs="0"/>
                        <xs:element name="FeedbackRatingStar" type="ns:FeedbackRatingStarCodeType" minOccurs="0"/>
                        <xs:element name="IDVerified" type="xs:boolean" minOccurs="0"/>
                        <xs:element name="NewUser" type="xs:boolean" minOccurs="0"/>
                        <xs:element ref="ns:RegistrationAddress" minOccurs="0"/>
                        <xs:element name="RegistrationDate" type="xs:dateTime" minOccurs="0"/>
                        <xs:element ref="ns:Site" minOccurs="0"/>
                        <xs:element name="Status" type="ns:UserStatusCodeType" minOccurs="0"/>
                        <xs:element ref="ns:UserID" minOccurs="0"/>
                        <xs:element name="UserIDChanged" type="xs:boolean" minOccurs="0"/>
                        <xs:element name="UserIDLastChanged" type="xs:dateTime" minOccurs="0"/>
                        <xs:element name="VATStatus" type="ns:VATStatusCodeType" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                      If present, indicates whether or not the user is subject to VAT.
                                      Users who have registered with eBay as VAT-exempt are not
                                      subject to VAT. See Value-Added Tax (VAT). Not returned for
                                      users whose country of residence is outside the EU.
                                      Possible values for the user's status:
                                                    2 = Residence in an EU country but user registered as VAT-exempt
                                                    3 = Residence in an EU country and user not registered as VAT-exempt
                          </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="BuyerInfo" type="ns:BuyerType" minOccurs="0"/>
                        <xs:element name="SellerInfo" type="ns:SellerType" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="VATDetailsType">
                <xs:annotation>
                        <xs:documentation>
                       Contains information required To list a business item.
                       BusinessSeller - only for add item, the RestrictedToBusiness and VATPercent for both get and add,
                       for revise all must be optional
                   </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="BusinessSeller" type="xs:boolean" minOccurs="0"/>
                        <xs:element name="RestrictedToBusiness" type="xs:boolean" minOccurs="0"/>
                        <xs:element name="VATPercent" type="xs:float" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="SchedulingInfoType">
                <xs:annotation>
                        <xs:documentation>
                       Contains information for Scheduling limits for the user. All dtails must be present,unless we will have revise call one day,
                       just in case we might let's make min occur = 0
                   </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="MaxScheduledMinutes" type="xs:int" minOccurs="0"/>
                        <xs:element name="MinScheduledMinutes" type="xs:int" minOccurs="0"/>
                        <xs:element name="MaxScheduledItems" type="xs:int" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:element name="AccountCode" type="xs:string"/>
        <xs:element name="AccountSummary" type="ns:AccountSummaryType"/>
        <xs:element name="AmountPaid" type="cc:AmountType"/>
        <xs:element name="AmountPastDue" type="cc:AmountType"/>
        <xs:element name="Balance" type="cc:AmountType"/>
        <xs:element name="Buyer" type="ns:UserType"/>
        <xs:element name="Category" type="ns:CategoryType"/>
        <xs:element name="CheckoutEnabled" type="xs:boolean"/>
        <xs:element name="CurrentBalance" type="cc:AmountType"/>
        <xs:element name="FeedbackScore" type="xs:int"/>
        <xs:element name="Fees" type="ns:FeesType"/>
        <xs:element name="HighBidder" type="ns:UserType"/>
        <xs:element name="InsuranceFee" type="cc:AmountType">
                <xs:annotation>
                        <xs:documentation>
                        Amount of insurance. Applicable if ShippingType is
                        Flat shipping rate orCalculated shipping rate.
                    </xs:documentation>
                </xs:annotation>
        </xs:element>
        <xs:element name="InsuranceOption" type="ns:InsuranceOptionCodeType">
                <xs:annotation>
                        <xs:documentation>
                                    Indicates whether insurance fee is required. Possible values:
                                      Insurance not offered.
                                                 Insurance optional.
                                                 Insurance required.
                                                 Insurance included in Shipping and Handling costs.
                                 Applicable if ShippingType is Flat shipping rate or
                                 Calculated shipping rate.
                              </xs:documentation>
                </xs:annotation>
        </xs:element>
        <xs:element name="Item" type="ns:ItemType"/>
        <xs:element name="ItemID" type="ns:ItemIDType"/>
        <xs:element name="ListingDuration" type="ns:ListingDurationCodeType"/>
        <xs:element name="PaymentMeans" type="ns:PaymentMeansType"/>
        <xs:element name="PaymentMethods" type="ns:BuyerPaymentMethodCodeType"/>
        <xs:element name="PaymentType" type="ns:PaymentType"/>
        <xs:element name="Region" type="xs:string"/>
        <xs:element name="RegionID" type="xs:string"/>
        <xs:element name="RegistrationAddress" type="ns:AddressType"/>
        <xs:element name="ReviseStatus" type="ns:ReviseStatusType"/>
        <xs:element name="Seller" type="ns:UserType"/>
        <xs:element name="SellerLevel" type="ns:SellerLevelCodeType"/>
        <xs:element name="SellingStatus" type="ns:SellingStatusType"/>
        <xs:element name="ShippingService" type="ns:ShippingServiceCodeType">
                <xs:annotation>
                        <xs:documentation>
                                        Shipping carrier for the item. Possible values are:
                                               UPS Ground
                                               UPS 3rd Day
                                               UPS 2nd Day
                                               UPS Next Day
                                               USPS Priority
                                               USPS Parcel
                                               USPS Media
                                               USPS First Class
                                         </xs:documentation>
                </xs:annotation>
        </xs:element>
        <xs:element name="Site" type="ns:SiteCodeType"/>
        <xs:element name="StoreCategoryID" type="xs:int">
                <xs:annotation>
                        <xs:documentation>
                               Custom categories for subdividing the items
                               within an eBay Store. Store owners can create
                               up to 12 custom categories for their stores.
                               (One Store category cannot be customized
                               and retains the value of "Other") If specified,
                               must be number between 0 and 12.
                                            0=Not an eBay Store item
                                            1=Other
                                            2=Category 1
                                            3=Category 2
                                            ...
                                            11=Category 10
                                            12=Category 11
                                 Returned as null for international fixed priced
                                 item.
                          </xs:documentation>
                </xs:annotation>
        </xs:element>
        <xs:element name="StoreOwner" type="xs:boolean"/>
        <xs:element name="StoreURL" type="xs:anyURI">
                <xs:annotation>
                        <xs:documentation>
                               URL pointing to the seller's eBay Store page.
                               Returned as null for International Fixed Price items.
                               This URL follows the format below, where "####"
                               is replaced by the seller's eBay Stores ID (that
                               uniquely identifies the eBay Store).
                                            http://www.ebaystores.com/id=####
                          </xs:documentation>
                </xs:annotation>
        </xs:element>
        <xs:complexType name="ItemArrayType">
                <xs:sequence>
                        <xs:element ref="ns:Item" maxOccurs="unbounded" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:element name="ItemArray" type="ns:ItemArrayType"/>
        <xs:complexType name="CategoryArrayType">
                <xs:sequence>
                        <xs:element ref="ns:Category" maxOccurs="unbounded" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:element name="CategoryArray" type="ns:CategoryArrayType"/>
        <xs:complexType name="PaginationType">
                <xs:sequence>
                        <xs:element name="EntriesPerPage" type="xs:int" minOccurs="0"/>
                        <xs:element name="PageNumber" type="xs:int" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="ModifiedFieldType">
                <xs:sequence>
                        <xs:element name="Field" type="xs:string" minOccurs="0"/>
                        <xs:element name="ModifyType" type="ns:ModifyCodeType" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="PaginationResultType">
                <xs:sequence>
                        <xs:element name="TotalNumberOfPages" type="xs:int" minOccurs="0"/>
                        <xs:element name="TotalNumberOfEntries" type="xs:int" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:element name="Pagination" type="ns:PaginationType"/>
        <xs:element name="PaginationResult" type="ns:PaginationResultType"/>
        <xs:element name="ShippingAddress" type="ns:AddressType"/>
        <xs:element name="SellerPaymentAddress" type="ns:AddressType"/>
        <xs:element name="ShippingRegions" type="ns:ShippingRegionCodeType"/>
        <xs:element name="ShippingDetails" type="ns:ShippingDetailsType"/>
        <xs:element name="ShippingTerm" type="ns:ShippingTermsCodeType"/>
        <xs:element name="Transaction" type="ns:TransactionType"/>
        <xs:element name="Transactions" type="ns:TransactionsType"/>
        <xs:element name="TransactionID" type="xs:string"/>
        <xs:element name="UserID" type="ns:UserIDType"/>
        <xs:element name="User" type="ns:UserType"/>
<!--

##### from file eBLCodeLists.xsd #####

--> <xs:annotation>
                <xs:documentation xml:lang="en">
            Inclusion of all supported eBay Business Language (eBL) Code Lists.
         </xs:documentation>
        </xs:annotation>
<!--

##### from file eBLSharedComponents.xsd #####

--> <xs:annotation>
                <xs:documentation>
                        This schema definition file contains specification for:
                        1) eBay Business Langauge (eBL) Abstract Request and Response Message
                            which will be used to construct payloads for various applications;
                        2) Re-useable error components of the eBL that would be used to communicate
                            application-level error messages back to the client application. These application
                            error messages may be due to a problem detected while processing the
                            request message.
                        3) Other utility components needed by various eBay buying, selling, and payment
                            applications, e.g., address type and element.
                 </xs:documentation>
        </xs:annotation>
        <xs:complexType name="ErrorParameterType">
                <xs:sequence>
                        <xs:element name="Value" type="xs:string">
                                <xs:annotation>
                                        <xs:documentation>
                                    Value of the application-specific error parameter.
                              </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                </xs:sequence>
                <xs:attribute name="ParamID" type="xs:string">
                        <xs:annotation>
                                <xs:documentation>
                             Specifies application-specific error parameter name.
                       </xs:documentation>
                        </xs:annotation>
                </xs:attribute>
        </xs:complexType>
        <xs:complexType name="ErrorType">
                <xs:sequence>
                        <xs:element name="ShortMessage" type="xs:string"/>
                        <xs:element name="LongMessage" type="xs:string" minOccurs="0"/>
                        <xs:element name="ErrorCode" type="xs:token">
                                <xs:annotation>
                                        <xs:documentation>
                                       Error code can be used by a receiving application to debugging a response
                                       message. These codes will need to be uniquely defined for each application.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="SeverityCode" type="ns:SeverityCodeType">
                                <xs:annotation>
                                        <xs:documentation>
                                   SeverityCode indicates whether the error is an application
                                   level error or if it is informational error, i.e., warning.
                             </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ErrorParameters" type="ns:ErrorParameterType" minOccurs="0" maxOccurs="unbounded">
                                <xs:annotation>
                                        <xs:documentation>
                                   This optional element may carry additional application-specific error variables
                                   that indicate specific information about the error condition particularly in the
                                   cases where there are multiple instances of the ErrorType which require
                                   additional context.
                             </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="FaultDetailsType">
                <xs:sequence>
                        <xs:element name="ErrorCode" type="xs:string">
                                <xs:annotation>
                                        <xs:documentation>
                                       Error code can be used by a receiving application to debugging a SOAP response
                                       message that contain one or more SOAP Fault detail objects, i.e., fault detail sub-elements.
                                       These codes will need to be uniquely defined for each fault scenario.
                                     </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Severity" type="xs:string">
                                <xs:annotation>
                                        <xs:documentation>
                                   Severity indicates whether the error is a serious fault
                                   or if it is informational error, i.e., warning.
                             </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="DetailedMessage" type="xs:string" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="AbstractRequestType" abstract="true">
                <xs:annotation>
                        <xs:documentation>
                       Base type definition of request payload that can carry any type
                       of payload content with optional versioning information and detail level
                       requirements.
                   </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="DetailLevel" type="ns:DetailLevelCodeType" minOccurs="0" maxOccurs="unbounded">
                                <xs:annotation>
                                        <xs:documentation>
                                 This specifies the required detail level that is needed by a client application pertaining to
                                 a particular data component (e.g., Item, Transaction, etc.). The detail level is specified in
                                 the DetailLevelCodeType which has all the enumerated values of the detail level for
                                 each component.
                            </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="ErrorLanguage" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                 This should be the standard RFC 3066 language identification tag, e.g., en_US.
                            </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="MessageID" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                 The MessageID is used to correlate (i.e., reference) the response message
                                 to a specific request message.
                            </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Version" type="xs:string">
                                <xs:annotation>
                                        <xs:documentation>
                               This refers to the version of the request payload schema.
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:any processContents="lax" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="AbstractResponseType" abstract="true">
                <xs:annotation>
                        <xs:documentation>
                    Base type definition of a response payload that can carry any
                    type of payload content with following optional elements:
                            - timestamp of response message,
                            - application level acknowledgement, and
                            - application-level errors and warnings.
                    </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="Timestamp" type="xs:dateTime" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                          This value represents the date and time (GMT) when the response
                                          was generated by a service provider (as a result of processing
                                          of a request).
                                  </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Ack" type="ns:AckCodeType">
                                <xs:annotation>
                                        <xs:documentation>
                                   Application level acknowledgement code.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="CorrelationID" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                   CorrelationID may be used optionally with an application
                                   level acknowledgement.
                               </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Errors" type="ns:ErrorType" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element name="Version" type="xs:string">
                                <xs:annotation>
                                        <xs:documentation>
                                 This refers to the version of the response payload schema.
                             </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Build" type="xs:string">
                                <xs:annotation>
                                        <xs:documentation>
                               This refers to the specific software build that was used in the deployment
                               for processing the request and generating the response.
                             </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:any processContents="lax" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="AddressType">
                <xs:sequence>
                        <xs:element name="Name" type="xs:string" minOccurs="0"/>
                        <xs:element name="Street1" type="xs:string" minOccurs="0"/>
                        <xs:element name="Street2" type="xs:string" minOccurs="0"/>
                        <xs:element name="CityName" type="xs:string" minOccurs="0"/>
                        <xs:element name="StateOrProvince" type="xs:string" minOccurs="0"/>
                        <xs:element ref="ns:Country" minOccurs="0"/>
                        <xs:element ref="ns:CountryName" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                   This element should only be used in response elements and typically
                                   should not be used in creating request messages which specify the
                                   name of a country using the Country element (which refers to a
                                   2-letter country code).
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Phone" type="xs:string" minOccurs="0"/>
                        <xs:element name="PostalCode" type="xs:string" minOccurs="0"/>
                        <xs:element name="AddressID" type="xs:string" minOccurs="0"/>
                        <xs:element name="AddressOwner" type="ns:AddressOwnerCodeType" minOccurs="0"/>
                        <xs:element name="ExternalAddressID" type="xs:string" minOccurs="0"/>
                        <xs:element name="InternationalName" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                   Only applicable to SellerPaymentAddress today. Seller's international name that is associated with the payment address.
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="InternationalStateAndCity" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                   Only applicable to SellerPaymentAddress today. International state and city for the seller's payment address.
                           </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="InternationalStreet" type="xs:string" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>
                                   Only applicable to SellerPaymentAddress today. Seller's international street address that is associated with the payment address.
                                    </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="AddressStatus" type="ns:AddressStatusCodeType" minOccurs="0" maxOccurs="1"/>
                </xs:sequence>
        </xs:complexType>
        <xs:element name="Country" type="ns:CountryCodeType"/>
        <xs:element name="CountryName" type="xs:string"/>
        <xs:element name="Currency" type="ns:CurrencyCodeType"/>
        <xs:element name="Email" type="xs:string"/>
        <xs:element name="StateOrProvince" type="xs:string"/>
        <xs:element name="UUID" type="cc:UUIDType"/>
<!--

##### from file EscrowCodeList.xsd #####

--> <xs:simpleType name="EscrowCodeType">
                <xs:annotation>
                        <xs:documentation>
                             EscrowCodeType - Type declaration to be used by other schema.
                             These are the possible codes to describe Escrow options.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="ByBuyer">
                                <xs:annotation>
                                        <xs:documentation>
                                                    By Buyer
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="BySeller">
                                <xs:annotation>
                                        <xs:documentation>
                                                   By Seller.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="None">
                                <xs:annotation>
                                        <xs:documentation>
                                                   None.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file FeedbackRatingStarCodeList.xsd #####

--> <xs:simpleType name="FeedbackRatingStarCodeType">
                <xs:annotation>
                        <xs:documentation>
                             FeedbackRatingStarCodeType - Type declaration to be used by other schema.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="None">
                                <xs:annotation>
                                        <xs:documentation>
                                                No graphic displayed
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Yellow">
                                <xs:annotation>
                                        <xs:documentation>
                                                Yellow Star
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Turquoise">
                                <xs:annotation>
                                        <xs:documentation>
                                                Turquoise Star
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Purple">
                                <xs:annotation>
                                        <xs:documentation>
                                                Purple Star
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Red">
                                <xs:annotation>
                                        <xs:documentation>
                                                Red Star
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Green">
                                <xs:annotation>
                                        <xs:documentation>
                                                Green Star
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="YellowShooting">
                                <xs:annotation>
                                        <xs:documentation>
                                                Yellow Shooting Star
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="TurquoiseShooting">
                                <xs:annotation>
                                        <xs:documentation>
                                                Turquoise Shooting Star
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="PurpleShooting">
                                <xs:annotation>
                                        <xs:documentation>
                                                Purple Shooting Star
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="RedShooting">
                                <xs:annotation>
                                        <xs:documentation>
                                                Red Shooting Star
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Blue">
                                <xs:annotation>
                                        <xs:documentation>
                                                Blue Star
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file GalleryTypeCodeList.xsd #####

--> <xs:simpleType name="GalleryTypeCodeType">
                <xs:annotation>
                        <xs:documentation>
                             GalleryTypeCodeType - Type declaration to be used by other schema.
                             Specifies the codes for various properties of an item.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Featured">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Indicates whether it is a featured item.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Gallery">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Include in the gallery.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file GeneralPaymentMethodCodeList.xsd #####

--> <xs:simpleType name="GeneralPaymentMethodCodeType">
                <xs:annotation>
                        <xs:documentation>
                             GeneralPaymentMethodCodeType - Type declaration to be used
                             by other schema. This code identifies the general types of payment means,
                             e.g., used by payment service provider applications.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Other">
                                <xs:annotation>
                                        <xs:documentation>Custom Code</xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Echeck">
                                <xs:annotation>
                                        <xs:documentation>Electronic check.</xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="ACH">
                                <xs:annotation>
                                        <xs:documentation> ACH.</xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Creditcard">
                                <xs:annotation>
                                        <xs:documentation>
                                             Credit-card.
                                         </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="PayPalBalance">
                                <xs:annotation>
                                        <xs:documentation>
                                             Pay balance.
                                         </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file GiftServicesCodeList.xsd #####

--> <xs:simpleType name="GiftServicesCodeType">
                <xs:annotation>
                        <xs:documentation>
                             GiftServicesCodeType - Type declaration to be used by other schema's.
                             Specifies the codes for the various Gift Services offered by sellers. If
                             any of the Gift Services are offered by the seller, the generic gift icon
                             should be used to display the item:
                                             http://pics.ebay.com/aw/pics/gift/gift.gif
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="GiftExpressShipping">
                                <xs:annotation>
                                        <xs:documentation>
                                                    indicates that the seller is offering to ship the item via
                                                    an express shipping method as described in the item
                                                    description.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="GiftShipToRecipient">
                                <xs:annotation>
                                        <xs:documentation>
                                                    indicates that the seller is offering to ship to the gift recipient,
                                                    not the buyer, when payment clears.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="GiftWrap">
                                <xs:annotation>
                                        <xs:documentation>
                                                   indicates that the seller is offering to wrap the item (and
                                                   optionally include a card) as described in the item
                                                   description.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file HitCounterCodeList.xsd #####

--> <xs:simpleType name="HitCounterCodeType">
                <xs:annotation>
                        <xs:documentation>
                           HitCounterCodeType - Type declaration to be used by other schema.
                           This code identifies the HitCounter codes used to specify whether
                           a hit counter is used for the item's listing page and, if so, what type.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="NoHitCounter">
                                <xs:annotation>
                                        <xs:documentation>No hit counter</xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="HonestyStyle">
                                <xs:annotation>
                                        <xs:documentation>
                                           Honesty Style Hit Counter
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="GreenLED">
                                <xs:annotation>
                                        <xs:documentation>
                                           Green LED counter. </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Hidden">
                                <xs:annotation>
                                        <xs:documentation>
                                             Hidden counter.
                                         </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file InsuranceOptionCodeList.xsd #####

--> <xs:simpleType name="InsuranceOptionCodeType">
                <xs:annotation>
                        <xs:documentation>
                             InsuranceOptionCodeType - Type declaration to be used by other schema.
                             These are the possible codes to describe insurance option as part of shipping
                             service.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Optional">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Insurance optional.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Required">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Insurance required.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="NotOffered">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Insurance not offered.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="IncludedInShippingHandling">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Insurance included in Shipping and Handling costs.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file ListingDurationCodeList.xsd #####

--> <xs:simpleType name="ListingDurationCodeType">
                <xs:annotation>
                        <xs:documentation>
                             ListingDurationCodeType - Type declaration to be used by other schema.
                             These are the possible codes to describe the number of days the
                             auction will be active. Must be one of the values 3, 5, 7, or 10
                             for auction and basic Fixed-Price (Type 9) listings. Must be 30,
                             60, 90, 120, or GTC for Stores Fixed-Price (Type 7) listings.
                             Specify GTC for the Good 'Til Cancel feature (eBay Stores
                             items only).
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Days_1">
                                <xs:annotation>
                                        <xs:documentation>
                                                    1 Day
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Days_3">
                                <xs:annotation>
                                        <xs:documentation>
                                                    3 Days
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Days_5">
                                <xs:annotation>
                                        <xs:documentation>
                                                   5 Days
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Days_7">
                                <xs:annotation>
                                        <xs:documentation>
                                                  7 Days
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Days_10">
                                <xs:annotation>
                                        <xs:documentation>
                                                  10 Days
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Days_30">
                                <xs:annotation>
                                        <xs:documentation>
                                                  30 Days
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Days_60">
                                <xs:annotation>
                                        <xs:documentation>
                                                    60 Days
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Days_90">
                                <xs:annotation>
                                        <xs:documentation>
                                                  90 Days
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Days_120">
                                <xs:annotation>
                                        <xs:documentation>
                                                  120 Days
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="GTC">
                                <xs:annotation>
                                        <xs:documentation>
                                                  GTC
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                                
                        <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file ListingEnhancementsCodeList.xsd #####

--> <xs:simpleType name="ListingEnhancementsCodeType">
                <xs:annotation>
                        <xs:documentation>
                             ListingEnhancementsCodeType - Type declaration to be used by other schema.
                             Specifies the codes for various properties of an item.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                <xs:enumeration value="Border">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Indicates whether an item will be displayed with a border
                                                    that will go around the item (e.g., for category-based search
                                                    result page or store search that brings up multiple items)
                                                    to differentiate it from the rest of list.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="BoldTitle">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Indicates whether the bolding option was used.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Featured">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Indicates whether it is a featured item.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                
                        <xs:enumeration value="Highlight">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Indicates item's listing is highlighted.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>

                        <xs:enumeration value="HomePageFeatured">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Indicates item's listing is home page featured.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
        <xs:annotation>
                                <xs:documentation>eBay Listing Enhancements Codes</xs:documentation>
                        </xs:annotation>
        <xs:annotation>
                                <xs:documentation>Code List Agency - eBay, Inc.</xs:documentation>
                        </xs:annotation>
        <xs:annotation>
                                <xs:documentation>Code List Version - 1.0</xs:documentation>
                        </xs:annotation>
<!--

##### from file ListingTypeCodeList.xsd #####

--> <xs:simpleType name="ListingTypeCodeType">
                <xs:annotation>
                        <xs:documentation>
                             ListingTypeCodeType - Type declaration to be used
                             by other schema. This includes codes indicating the
                             type of auction for the listed item.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Unknown">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Unknown Listing Type
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Chinese">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Chinese auction
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Dutch">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Dutch auction
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Live">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Live Auctions-type auction
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="AdType">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Ad type auction
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="StoresFixedPrice">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Stores Fixed-price auction (US only)
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="PersonalOffer">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Personal Offer auction
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="FixedPriceItem">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Fixed Price item ("BIN only").
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file MerchandizingPrefCodeList.xsd #####

--> <xs:simpleType name="MerchandizingPrefCodeType">
                <xs:annotation>
                        <xs:documentation>
                             MerchandizingPrefCodeType - Type declaration to be used by other schema.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="OptIn">
                                <xs:annotation>
                                        <xs:documentation>
                                                OptIn
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="OptOut">
                                <xs:annotation>
                                        <xs:documentation>
                                                OptOut
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file ModifyCodeList.xsd #####

--> <xs:simpleType name="ModifyCodeType">
                <xs:annotation>
                        <xs:documentation>
                           ModifyCodeType - Type declaration to be used by other schema.
                           This code identifies the types of modification you can make on an object.
                           account.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Dropped">
                                <xs:annotation>
                                        <xs:documentation>Indicate filed is to be dropped.</xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Modify">
                                <xs:annotation>
                                        <xs:documentation>Indicate filed is to be modified.</xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file PhotoDisplayCodeList.xsd #####

--> <xs:simpleType name="PhotoDisplayCodeType">
                <xs:annotation>
                        <xs:documentation>
                             PhotoDisplayCodeType - Type declaration to be used by other schema.
                             These are types of display for photos used for PhotoHosting slide show.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="None">
                                <xs:annotation>
                                        <xs:documentation>
                                                      No special Picture Services features.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="SlideShow">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Slideshow of multiple pictures.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="SuperSize">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Super-size format picture.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="PicturePack">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Picture Pack.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file PromotionItemPriceTypeCodeList.xsd #####

--> <xs:simpleType name="PromotionItemPriceTypeCodeType">
                <xs:annotation>
                        <xs:documentation>
                                Cross Promotion Method.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="AuctionPrice">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Auction Item
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="BuyItNowPrice">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Buy It Now
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved. Do not use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file PromotionItemSelectionCodeList.xsd #####

--> <xs:simpleType name="PromotionItemSelectionCodeType">
                <xs:annotation>
                        <xs:documentation>
                                Cross Promotion Method.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Manual">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Manual Selection
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Automatic">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Automatic Selection
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved. Do not use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file PromotionMethodCodeList.xsd #####

--> <xs:simpleType name="PromotionMethodCodeType">
                <xs:annotation>
                        <xs:documentation>
                                Cross Promotion Method.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="CrossSell">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Cross Sell
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="UpSell">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Up Sell
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved. Do not use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file PromotionSchemeCodeList.xsd #####

--> <xs:simpleType name="PromotionSchemeCodeType">
                <xs:annotation>
                        <xs:documentation>
                                Cross Promotion Context Promotion Scheme.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="ItemToItem">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Item to Item Promotional Scheme
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="ItemToStoreCat">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Item to Item Store Scheme
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="StoreToStoreCat">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Store to Store Scheme
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved. Do not use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file PurchasePurposeTypeCodeList.xsd #####

--> <xs:simpleType name="PurchasePurposeTypeCodeType">
                <xs:annotation>
                        <xs:documentation>
                           PurchasePurposeTypeCodeType - Type declaration to be used by other
                           schema. This code identifies the purpose of purchases, e.g.,
                           by a PayPal application.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Other">
                                <xs:annotation>
                                        <xs:documentation>Custom Code</xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="BuyNowItem">
                                <xs:annotation>
                                        <xs:documentation/>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="ShoppingCart">
                                <xs:annotation>
                                        <xs:documentation/>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="AuctionItem">
                                <xs:annotation>
                                        <xs:documentation/>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="GiftCertificates">
                                <xs:annotation>
                                        <xs:documentation/>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Subscription">
                                <xs:annotation>
                                        <xs:documentation/>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Donation">
                                <xs:annotation>
                                        <xs:documentation/>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="eBayBilling">
                                <xs:annotation>
                                        <xs:documentation/>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file SellerLevelCodeList.xsd #####

--> <xs:simpleType name="SellerLevelCodeType">
                <xs:annotation>
                        <xs:documentation>
                             SellerLevelCodeType - Type declaration to be used by other schema.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Bronze">
                                <xs:annotation>
                                        <xs:documentation>
                                                Bronze
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Silver">
                                <xs:annotation>
                                        <xs:documentation>
                                                Silver
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Gold">
                                <xs:annotation>
                                        <xs:documentation>
                                                Gold
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Platinum">
                                <xs:annotation>
                                        <xs:documentation>
                                                Platinum
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Titanium">
                                <xs:annotation>
                                        <xs:documentation>
                                                Titanium
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="None">
                                <xs:annotation>
                                        <xs:documentation>
                                                None
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file SellerPaymentMethodCodeList.xsd #####

--> <xs:simpleType name="SellerPaymentMethodCodeType">
                <xs:annotation>
                        <xs:documentation>
                             SellerPaymentMethodCodeType - Type declaration to be used by other schema.
                             These are payment methods that sellers can use to pay eBay.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Other">
                                <xs:annotation>
                                        <xs:documentation>
                                                    No payment method specified - some other payment method.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Amex">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Amex
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Visa">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Visa
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Mastercard">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Mastercard
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Discover">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Discover
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="JCB">
                                <xs:annotation>
                                        <xs:documentation>
                                                   JCB
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Diners">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Diners
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file SeverityCodeList.xsd #####

--> <xs:simpleType name="SeverityCodeType">
                <xs:annotation>
                        <xs:documentation>
                           SeverityCodeType - Type declaration to be used by other schema.
                           This code identifies the Severity code types in terms of whether
                           there is an API-level error or warning that needs to be communicated
                           to the client.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Warning">
                                <xs:annotation>
                                        <xs:documentation>
                                           Warning or informational error.
                                      </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Error">
                                <xs:annotation>
                                        <xs:documentation>
                                           Application-level error.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file ShippingOptionCodeList.xsd #####

--> <xs:simpleType name="ShippingOptionCodeType">
                <xs:annotation>
                        <xs:documentation>
                             ShippingOptionCodeType - Type declaration to be used by other schema.
                             These are the possible codes to describe shipping options in terms
                             of where the seller is willing to ship the item.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="SiteOnly">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Site only.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="WorldWide">
                                <xs:annotation>
                                        <xs:documentation>
                                                   WorldWide.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="SitePlusRegions">
                                <xs:annotation>
                                        <xs:documentation>
                                                   SitePlusRegions.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="WillNotShip">
                                <xs:annotation>
                                        <xs:documentation>
                                                   WillNotShip.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file ShippingPackageCodeList.xsd #####

--> <xs:simpleType name="ShippingPackageCodeType">
                <xs:annotation>
                        <xs:documentation>
                             ShippingPackageCodeType - Type declaration to be used by other schema.
                             These are the possible codes to describe shipping package options.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="None">
                                <xs:annotation>
                                        <xs:documentation>
                                                    None.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Letter">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Letter.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="LargeEnvelope">
                                <xs:annotation>
                                        <xs:documentation>
                                                   LargeEnvelope
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="USPSLargePack">
                                <xs:annotation>
                                        <xs:documentation>
                                                   USPS Large Package/Oversize 1
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="VeryLargePack">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Very Large Package/Oversize 2
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="UPSLetter">
                                <xs:annotation>
                                        <xs:documentation>
                                                   UPS Letter
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="USPSFlatRateEnvelope">
                                <xs:annotation>
                                        <xs:documentation>
                                                   USPS Flat Rate Envelope
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="PackageThickEnvelope">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Package/thick envelope
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file ShippingRatesTypeCodeList.xsd #####

--> <xs:simpleType name="ShippingRatesTypeCodeType">
                <xs:annotation>
                        <xs:documentation>
                             ShippingRatesTypeCodeType - Type declaration to be used
                             by other schema. The includes the codes for shipping types
                             supported by sellers to transport items sold to buyers.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Flat">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Flat shipping rate.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Calculated">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Calculated shipping rate.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file ShippingRegionCodeList.xsd #####

--> <xs:simpleType name="ShippingRegionCodeType">
                <xs:annotation>
                        <xs:documentation>
                             ShippingRegion CodeType - Type declaration to be used by other schema.
                             This code list module defines the enumerated types of regions for
                             shipping items (i.e., a seller may support shipment of an item).
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Africa">
                                <xs:annotation>
                                        <xs:documentation>
                                                Africa
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Asia">
                                <xs:annotation>
                                        <xs:documentation>
                                                Asia
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Caribbean">
                                <xs:annotation>
                                        <xs:documentation>
                                                Carribbean
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Europe">
                                <xs:annotation>
                                        <xs:documentation>
                                                Europe
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="LatinAmerica">
                                <xs:annotation>
                                        <xs:documentation>
                                                LatinAmerica
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="MiddleEast">
                                <xs:annotation>
                                        <xs:documentation>
                                                MiddleEast
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="NorthAmerica">
                                <xs:annotation>
                                        <xs:documentation>
                                                NorthAmerica
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Oceania">
                                <xs:annotation>
                                        <xs:documentation>
                                                Oceania (i.e., Pacific region other than Asia)
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="SouthAmerica">
                                <xs:annotation>
                                        <xs:documentation>
                                                SouthAmerica
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file ShippingServiceCodeList.xsd #####

--> <xs:simpleType name="ShippingServiceCodeType">
                <xs:annotation>
                        <xs:documentation>
                             ShippingServiceCodeType - Type declaration to be used by other schema.
                             These are the possible codes to describe insurance option as part of shipping
                             service.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="UPSGround">
                                <xs:annotation>
                                        <xs:documentation>
                                                    UPS Ground
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="UPS3rdDay">
                                <xs:annotation>
                                        <xs:documentation>
                                                   UPS 3rd Day
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="UPS2ndDay">
                                <xs:annotation>
                                        <xs:documentation>
                                                   UPS 2nd Day
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="UPSNextDay">
                                <xs:annotation>
                                        <xs:documentation>
                                                   UPS Next Day.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="USPSPriority">
                                <xs:annotation>
                                        <xs:documentation>
                                                   USPS Priority.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="USPSParcel">
                                <xs:annotation>
                                        <xs:documentation>
                                                   USPS Parcel.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="USPSMedia">
                                <xs:annotation>
                                        <xs:documentation>
                                                   USPS Media.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="USPSFirstClass">
                                <xs:annotation>
                                        <xs:documentation>
                                                   USPS First Class
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="ShippingMethodStandard">
                                <xs:annotation>
                                        <xs:documentation>
                                                    ShippingMethodStandard - used by merchant tool only
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="ShippingMethodExpress">
                                <xs:annotation>
                                        <xs:documentation>
                                                  ShippingMethodExpress- used by merchant tool only
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="ShippingMethodNextDay">
                                <xs:annotation>
                                        <xs:documentation>
                                                    ShippingMethodNextDay- used by merchant tool only
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="USPSExpressMail">
                                <xs:annotation>
                                        <xs:documentation>
                                                    USPS Express Mail
                                </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="USPSGround">
                                <xs:annotation>
                                        <xs:documentation>
                                                    USPS Ground
                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file ShippingTermsCodeList.xsd #####

--> <xs:simpleType name="ShippingTermsCodeType">
                <xs:annotation>
                        <xs:documentation>
                             ShippingTermsCodeType - Type declaration to be used by other schema's.
                             Shipping terms code describes who pays for the shipping of an item.
                             These are the standard shipping terms, i.e., terms of delivery of an item.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="SellerPays">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Seller pays all shipping costs.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="BuyerPays">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Buyer pays all shipping costs.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file SiteCodeList.xsd #####

--> <xs:simpleType name="SiteCodeType">
                <xs:annotation>
                        <xs:documentation>
                             SiteCodeType - Type declaration to be used by other schema.
                             These are site codes that buyers and sellers can use to identify
                             their sites.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="US">
                                <xs:annotation>
                                        <xs:documentation>
                                                USA
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Canada">
                                <xs:annotation>
                                        <xs:documentation>
                                                Canada
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="UK">
                                <xs:annotation>
                                        <xs:documentation>
                                                United Kingdom
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Australia">
                                <xs:annotation>
                                        <xs:documentation>
                                                Australia
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Austria">
                                <xs:annotation>
                                        <xs:documentation>
                                                Austria
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Belgium_French">
                                <xs:annotation>
                                        <xs:documentation>
                                                Belgium (French)
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="France">
                                <xs:annotation>
                                        <xs:documentation>
                                                France
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Germany">
                                <xs:annotation>
                                        <xs:documentation>
                                                Germany
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Italy">
                                <xs:annotation>
                                        <xs:documentation>
                                                Italy
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Belgium_Dutch">
                                <xs:annotation>
                                        <xs:documentation>
                                                Belgium (Dutch)
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Netherlands">
                                <xs:annotation>
                                        <xs:documentation>
                                                Netherlands
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Spain">
                                <xs:annotation>
                                        <xs:documentation>
                                                Spain
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Switzerland">
                                <xs:annotation>
                                        <xs:documentation>
                                                Switzerland
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Taiwan">
                                <xs:annotation>
                                        <xs:documentation>
                                                Taiwan
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="eBayMotors">
                                <xs:annotation>
                                        <xs:documentation>
                                                eBay Motors
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>

                        <xs:enumeration value="HongKong">
                                <xs:annotation>
                                        <xs:documentation>
                                                Hong Kong
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>

                        <xs:enumeration value="Singapore">
                                <xs:annotation>
                                        <xs:documentation>
                                                Singapore
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>


                        
                        <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file UnitCodeList.xsd #####

--> <xs:simpleType name="UnitCodeType">
                <xs:annotation>
                        <xs:documentation>
                             UnitCodeType - Type declaration to be used by other schema.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="kg">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Kilogram.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="lbs">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Pounds.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="oz">
                                <xs:annotation>
                                        <xs:documentation>
                                                   Ounces
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="cm">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Centimeter.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="inches">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Inches.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="ft">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Feet.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file UserStatusCodeList.xsd #####

--> <xs:simpleType name="UserStatusCodeType">
                <xs:annotation>
                        <xs:documentation>
                             UserStatusCodeType - Type declaration to be used by other schema.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Unknown">
                                <xs:annotation>
                                        <xs:documentation>
                                                     User properties have never been set.
                                                     This value should seldom, if ever, be returned
                                                     and typically represents a problem.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Suspended">
                                <xs:annotation>
                                        <xs:documentation>
                                                    User has been suspended from selling and buying,
                                                    such as for violations of eBay terms or agreement.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Confirmed">
                                <xs:annotation>
                                        <xs:documentation>
                                                   User has completed online registration and has
                                                   properly responded to confirmation email. Most
                                                   users should fall in this category.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Unconfirmed">
                                <xs:annotation>
                                        <xs:documentation>
                                                    User has completed online registration, but
                                                    has either not responded to confirmation email
                                                    or has not yet been sent the confirmation email. .
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Ghost">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Registered users of AuctionWeb (pre-eBay)
                                                    who never re-registered on eBay.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="InMaintenance">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Temporary user record state indicating the
                                                    record is in the process of being changed by
                                                    eBay. Query user information again to get new
                                                    status.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Deleted">
                                <xs:annotation>
                                        <xs:documentation>
                                                    Records for the specified user have been deleted.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CreditCardVerify">
                                <xs:annotation>
                                        <xs:documentation>
                                                    User has completed registration and confirmation,
                                                    but is pending a verification of credit card information.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="AccountOnHold">
                                <xs:annotation>
                                        <xs:documentation>
                                                    User's account is on hold, such as for non-payment
                                                    of amounts due eBay. User cannot sell or buy items.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Merged">
                                <xs:annotation>
                                        <xs:documentation>
                                                      User record has been merged with another account
                                                      record for the same user.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="RegistrationCodeMailOut">
                                <xs:annotation>
                                        <xs:documentation>
                                                    User has completed online registration and has
                                                    been sent the confirmation email, but has not yet
                                                    responded to the confirmation email.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="TermPending">
                                <xs:annotation>
                                        <xs:documentation>
                                                      User has been scheduled for account closure
                                                      (typically when a user has requested to have
                                                      their account closed.) A user in this state should
                                                      not be considered an active user.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="UnconfirmedHalfOptIn">
                                <xs:annotation>
                                        <xs:documentation>
                                                      User has completed the registration for
                                                      Half.com and opted to automatically also be
                                                      registered with eBay, but the registration
                                                      confirmation is still pending.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CreditCardVerifyHalfOptIn">
                                <xs:annotation>
                                        <xs:documentation>
                                                      User has completed the registration for
                                                      Half.com and opted to automatically also be
                                                      registered with eBay, but the verification of
                                                      credit card information is still pending.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="UnconfirmedPassport">
                                <xs:annotation>
                                        <xs:documentation>
                                                      Passport User. User has completed the registration process, but the registration confirmation is still pending.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CreditCardVerifyPassport">
                                <xs:annotation>
                                        <xs:documentation>
                                                     Passport User Requiring Credit Card Verification. User has completed the registration process with credit card verification, but the registration confirmation is still pending.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="UnconfirmedExpress">
                                <xs:annotation>
                                        <xs:documentation>
                                                     Half.com User. User has completed the registration for Half.com and opted to automatically also be registered with eBay, but the registration confirmation is still pending.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>
<!--

##### from file VATStatusCodeList.xsd #####

--> <xs:simpleType name="VATStatusCodeType">
                <xs:annotation>
                        <xs:documentation>
                             VATStatusCodeType - Type declaration to be used by other schema.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="NoVATTax">
                                <xs:annotation>
                                        <xs:documentation>
                                                No VAT Tax
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="VATTax">
                                <xs:annotation>
                                        <xs:documentation>
                                                VAT Tax
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="VATExempt">
                                <xs:annotation>
                                        <xs:documentation>
                                                VAT Exempt
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
<xs:enumeration value="CustomCode">
                                <xs:annotation>
                                        <xs:documentation>
                                                  Reserved for internal or future use.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>




        <xs:simpleType name="NameType">
                <xs:restriction base="xs:string">
                        <xs:length value="25"/>
                </xs:restriction>
        </xs:simpleType>
        <xs:simpleType name="SalutationType">
                <xs:restriction base="xs:string">
                        <xs:length value="20"/>
                </xs:restriction>
        </xs:simpleType>
        <xs:simpleType name="SuffixType">
                <xs:restriction base="xs:string">
                        <xs:length value="12"/>
                </xs:restriction>
        </xs:simpleType>
        <xs:complexType name="PersonNameType">
                <xs:sequence>
                        <xs:element name="Salutation" type="ns:SalutationType" minOccurs="0"/>
                        <xs:element name="FirstName" type="ns:NameType" minOccurs="0"/>
                        <xs:element name="MiddleName" type="ns:NameType" minOccurs="0"/>
                        <xs:element name="LastName" type="ns:NameType" minOccurs="0"/>
                        <xs:element name="Suffix" type="ns:SuffixType" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>

        <xs:simpleType name="TransactionId">
                <xs:annotation>
                        <xs:documentation>
                                TransactionId - Type for a PayPal Transaction ID.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:string"/>
        </xs:simpleType>

        <!-- put this in eBLPaymentPP -->
        <xs:element name="RefundType" type="ns:RefundPurposeTypeCodeType"/>

        <xs:simpleType name="RefundPurposeTypeCodeType">
                <xs:annotation>
                        <xs:documentation>
                                RefundPurposeTypeCodeType - Type declaration to be used by other
                                schema. This code identifies the types of refund transactions
                                supported.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Other">
                                <xs:annotation>
                                        <xs:documentation>Custom Code</xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Full">
                                <xs:annotation>
                                        <xs:documentation>Full Refund</xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Partial">
                                <xs:annotation>
                                        <xs:documentation>Partial Refund</xs:documentation>
                                </xs:annotation>
                        </xs:enumeration>
                </xs:restriction>
        </xs:simpleType>


<!-- new eBL types -->

        <xs:simpleType name="MerchantPullIDType">
                <xs:restriction base="xs:string"/>
        </xs:simpleType>

        <xs:simpleType name="EmailAddressType">
                <xs:restriction base="xs:string"/>
        </xs:simpleType>

        <!-- eBLPaymentsPP in the reusable section -->
        <xs:element name="ReceiptID" type="xs:string"/>
        <xs:element name="SubscriptionID" type="xs:string"/>
        <xs:element name="PaymentTransactions" type="ns:PaymentTransactionSearchResultType"/>
        <xs:element name="PaymentTransactionDetails" type="ns:PaymentTransactionType"/>
        <xs:element name="MerchantPullPaymentDetails" type="ns:MerchantPullPaymentType"/>
        <xs:element name="BillUserResponseDetails" type="ns:MerchantPullPaymentResponseType"/>
        <xs:element name="BAUpdateResponseDetails" type="ns:BAUpdateResponseDetailsType"/>

         <xs:complexType name="BAUpdateResponseDetailsType">
                 <xs:sequence>
                         <xs:element name="MpID" type="ns:MerchantPullIDType" minOccurs="1" maxOccurs="1"/>
                         <xs:element name="PayerInfo" type="ns:PayerInfoType" minOccurs="1" maxOccurs="1"/>
                         <xs:element name="MerchantPullInfo" type="ns:MerchantPullInfoType" minOccurs="1" maxOccurs="1"/>
                 </xs:sequence>
        </xs:complexType>

        <xs:complexType name="MerchantPullPaymentResponseType">
                <xs:annotation>
                        <xs:documentation>
                                MerchantPullPaymentResponseType - Type declaration to be used by other schemas.
                                Response data from the merchant pull.
                        </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                    <xs:element name="PayerInfo" type="ns:PayerInfoType" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="PaymentInfo" type="ns:PaymentInfoType" minOccurs="1" maxOccurs="1"/>
                    <xs:element name="MerchantPullInfo" type="ns:MerchantPullInfoType" minOccurs="1" maxOccurs="1"/>
                </xs:sequence>
        </xs:complexType>

        <xs:complexType name="MerchantPullInfoType">
                <xs:annotation>
                        <xs:documentation>
                                MerchantPullInfoType - Type declaration to be used by other schemas.
                                Information about the merchant pull.
                        </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="MpStatus" type="ns:MerchantPullStatusCodeType" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="MpMax" type="cc:BasicAmountType" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="MpCustom" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="Desc" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="Invoice" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="Custom" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="PaymentSourceID" type="xs:string" minOccurs="0" maxOccurs="1" />
                </xs:sequence>
        </xs:complexType>

        <xs:complexType name="PaymentTransactionSearchResultType">
                <xs:annotation>
                        <xs:documentation>
                                PaymentTransactionSearchResultType - Type declaration to be used by other schemas.
                                Results from a PaymentTransaction search
                        </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="Timestamp" type="xs:dateTime" minOccurs="1" maxOccurs="1" />
                        <xs:element name="Timezone" type="xs:string" minOccurs="1" maxOccurs="1" />
                        <xs:element name="Type" type="xs:string" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="Payer" type="ns:EmailAddressType" minOccurs="1" maxOccurs="1" />
                        <xs:element name="PayerDisplayName" type="xs:string" minOccurs="1" maxOccurs="1"/>
                        <xs:element ref="ns:TransactionID" minOccurs="1" maxOccurs="1" />
                        <xs:element name="Status" type="xs:string" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="GrossAmount" type="cc:BasicAmountType" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="FeeAmount" type="cc:BasicAmountType" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="NetAmount" type="cc:BasicAmountType" minOccurs="1" maxOccurs="1"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="MerchantPullPaymentType">
                <xs:annotation>
                        <xs:documentation>
                                MerchantPullPayment - Type declaration to be used by other schemas.
                                Parameters to make initiate a pull payment
                        </xs:documentation>
                </xs:annotation>
<!-- annnotate item name and number -->
                <xs:sequence>
                        <xs:element name="Amount" type="cc:BasicAmountType" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="MpID" type="ns:MerchantPullIDType" minOccurs="1" maxOccurs="1" />
                        <xs:element name="PaymentType" type="ns:MerchantPullPaymentCodeType" minOccurs="0" maxOccurs="1"/>
                        <xs:element name="Memo" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="EmailSubject" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="Tax" type="cc:BasicAmountType" minOccurs="0" maxOccurs="1"/>
                        <xs:element name="Shipping" type="cc:BasicAmountType" minOccurs="0" maxOccurs="1"/>
                        <xs:element name="Handling" type="cc:BasicAmountType" minOccurs="0" maxOccurs="1"/>
                        <xs:element name="ItemName" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="ItemNumber" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="Invoice" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="Custom" type="xs:string" minOccurs="0" maxOccurs="1" />
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="PaymentTransactionType">
                <xs:annotation>
                        <xs:documentation>
                                PaymentTransactionType - Type declaration to be used by other schemas.
                                Information about a PayPal payment from the seller side
                        </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="ReceiverInfo" type="ns:ReceiverInfoType" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="PayerInfo" type="ns:PayerInfoType" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="PaymentInfo" type="ns:PaymentInfoType" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="PaymentItemInfo" type="ns:PaymentItemInfoType" minOccurs="0" maxOccurs="1"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="ReceiverInfoType">
                <xs:annotation>
                        <xs:documentation>
                                ReceiverInfoType - Type declaration to be used by other schemas.
                                Receiver information.
                        </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="Business" type="ns:EmailAddressType" minOccurs="1" maxOccurs="1" />
                        <xs:element name="Receiver" type="ns:EmailAddressType" minOccurs="1" maxOccurs="1" />
                        <xs:element name="ReceiverID" type="ns:UserIDType" minOccurs="1" maxOccurs="1" />
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="PayerInfoType">
                <xs:annotation>
                        <xs:documentation>
                                PayerInfoType - Type declaration to be used by other schemas.
                                Payer information
                        </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="Payer" type="ns:EmailAddressType" minOccurs="1" maxOccurs="1" />
                        <xs:element name="PayerID" type="ns:UserIDType" minOccurs="1" maxOccurs="1" />
                        <xs:element name="PayerStatus" type="ns:PayPalUserStatusCodeType" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="PayerName" type="ns:PersonNameType" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="PayerCountry" type="ns:CountryCodeType" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="PayerBusiness" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="Address" type="ns:AddressType" minOccurs="0" maxOccurs="1"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="PaymentInfoType">
                <xs:annotation>
                        <xs:documentation>
                                PaymentInfoType - Type declaration to be used by other schemas.
                                Payment information.
                        </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element ref="ns:TransactionID" minOccurs="1" maxOccurs="1" />
                        <xs:element name="ParentTransactionID" type="ns:TransactionId" minOccurs="0" maxOccurs="1" />
                        <xs:element ref="ns:ReceiptID" minOccurs="0" maxOccurs="1" />
                        <xs:element name="TransactionType" type="ns:PaymentTransactionCodeType" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="PaymentType" type="ns:PaymentCodeType" minOccurs="0" maxOccurs="1"/>
                        <xs:element name="PaymentDate" type="xs:dateTime" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="GrossAmount" type="cc:BasicAmountType" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="FeeAmount" type="cc:BasicAmountType" minOccurs="0" maxOccurs="1"/>
                        <xs:element name="SettleAmount" type="cc:BasicAmountType" minOccurs="0" maxOccurs="1"/>
                        <xs:element name="TaxAmount" type="cc:BasicAmountType" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="ExchangeRate" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="PaymentStatus" type="ns:PaymentStatusCodeType" minOccurs="1" maxOccurs="1"/>
                        <xs:element name="PendingReason" type="ns:PendingStatusCodeType" minOccurs="0" maxOccurs="1"/>
                        <xs:element name="ReasonCode" type="ns:ReversalReasonCodeType" minOccurs="0" maxOccurs="1"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="SubscriptionTermsType">
                <xs:annotation>
                        <xs:documentation>
                                SubscriptionTermsType - Type declaration to be used by other schemas.
                                Terms of a PayPal subscription.
                        </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="Amount" type="cc:BasicAmountType" minOccurs="1" maxOccurs="1" />
                </xs:sequence>
                <xs:attribute name="period" type="xs:string" use="required"/>
        </xs:complexType>
        <xs:complexType name="SubscriptionInfoType">
                <xs:annotation>
                        <xs:documentation>
                                SubscriptionInfoType - Type declaration to be used by other schemas.
                                Information about a PayPal Subscription.
                        </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element ref="ns:SubscriptionID" minOccurs="1" maxOccurs="1" />
                        <xs:element name="SubscriptionDate" type="xs:dateTime" minOccurs="0" maxOccurs="1"/>
                        <xs:element name="EffectiveDate" type="xs:dateTime" minOccurs="0" maxOccurs="1"/>
                        <xs:element name="RetryTime" type="xs:dateTime" minOccurs="0" maxOccurs="1"/>
                        <xs:element name="Username" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="Password" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="Recurrences" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="Terms" type="ns:SubscriptionTermsType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
                <xs:attribute name="reattempt" type="xs:string" use="required"/>
                <xs:attribute name="recurring" type="xs:string" use="required"/>
        </xs:complexType>
        <xs:complexType name="AuctionInfoType">
                <xs:annotation>
                        <xs:documentation>
                                AuctionInfoType - Type declaration to be used by other schemas.
                                Basic information about an auction.
                        </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="BuyerID" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="ClosingDate" type="xs:dateTime" minOccurs="0" maxOccurs="1"/>
                </xs:sequence>
                <xs:attribute name="multiItem" type="xs:string" use="required"/>
        </xs:complexType>
        <xs:complexType name="OptionType">
                <xs:annotation>
                        <xs:documentation>
                                OptionType - Type declaration to be used by other schemas.
                                PayPal item options for shopping cart.
                        </xs:documentation>
<!-- add more documentation here -->
                </xs:annotation>
                <xs:sequence/>
                <xs:attribute name="name" type="xs:string" use="required"/>
                <xs:attribute name="value" type="xs:string" use="required"/>
        </xs:complexType>
        <xs:complexType name="PaymentItemType">
                <xs:annotation>
                        <xs:documentation>
                                PaymentItemType - Type declaration to be used by other schemas.
                                Information about a Payment Item.
                        </xs:documentation>
<!-- add more documentation here -->
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="Name" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="Number" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="Quantity" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="SalesTax" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="Options" type="ns:OptionType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="PaymentItemInfoType">
                <xs:annotation>
                        <xs:documentation>
                                PaymentItemInfoType - Type declaration to be used by other schemas.
                                Information about a PayPal item.
                        </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="InvoiceID" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="Custom" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="Memo" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="SalesTax" type="xs:string" minOccurs="0" maxOccurs="1" />
                        <xs:element name="PaymentItem" type="ns:PaymentItemType" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element name="Subscription" type="ns:SubscriptionInfoType" minOccurs="0" maxOccurs="1"/>
                        <xs:element name="Auction" type="ns:AuctionInfoType" minOccurs="0" maxOccurs="1"/>
                </xs:sequence>
        </xs:complexType>

<!-- new CodeTypes -->
        <xs:simpleType name="PaymentTransactionCodeType">
                <xs:annotation>
                        <xs:documentation>
                                PaymentTransactionCodeType - Type declaration to be used by other schemas.
                                This is the type of a PayPal of which matches the output from IPN
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="none"/>
                        <xs:enumeration value="web-accept"/>
                        <xs:enumeration value="cart"/>
                        <xs:enumeration value="send-money"/>
                        <xs:enumeration value="subscr-failed"/>
                        <xs:enumeration value="subscr-cancel"/>
                        <xs:enumeration value="subscr-payment"/>
                        <xs:enumeration value="subscr-signup"/>
                        <xs:enumeration value="subscr-eot"/>
                        <xs:enumeration value="subscr-modify"/>
                        <xs:enumeration value="mercht-pmt"/>
                </xs:restriction>
        </xs:simpleType>

        <xs:simpleType name="PaymentStatusCodeType">
                <xs:annotation>
                        <xs:documentation>
                                PaymentStatusCodeType - Type declaration to be used by other schemas.
                                This is the status of a PayPal Payment which matches the output from IPN
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="None"/>
                        <xs:enumeration value="Completed"/>
                        <xs:enumeration value="Failed"/>
                        <xs:enumeration value="Pending"/>
                        <xs:enumeration value="Denied"/>
                        <xs:enumeration value="Refunded"/>
                        <xs:enumeration value="Reversed"/>
                        <xs:enumeration value="Canceled-Reversal"/>
                        <xs:enumeration value="Processed"/>
                </xs:restriction>
        </xs:simpleType>

        <xs:simpleType name="AddressStatusCodeType">
                <xs:annotation>
                        <xs:documentation>
                                AddressStatusCodeType - Type declaration to be used by other schemas.
                                This is the PayPal address status
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="None"/>
                        <xs:enumeration value="Confirmed"/>
                        <xs:enumeration value="Unconfirmed"/>
                </xs:restriction>
        </xs:simpleType>

        <xs:simpleType name="PendingStatusCodeType">
                <xs:annotation>
                        <xs:documentation>
                                PendingStatusCodeType - Type declaration to be used by other schemas.
                                The pending status for a PayPal Payment transaction which matches the output from IPN
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="none"/>
                        <xs:enumeration value="echeck"/>
                        <xs:enumeration value="intl"/>
                        <xs:enumeration value="verify"/>
                        <xs:enumeration value="address"/>
                        <xs:enumeration value="unilateral"/>
                        <xs:enumeration value="other"/>
                        <xs:enumeration value="upgrade"/>
                        <xs:enumeration value="multi-currency"/>
                </xs:restriction>
        </xs:simpleType>

        <xs:simpleType name="ReversalReasonCodeType">
                <xs:annotation>
                        <xs:documentation>
                                ReversalReasonCodeType - Type declaration to be used by other schemas.
                                Reason for a reversal on a PayPal transaction which matches the output from IPN
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="none"/>
                        <xs:enumeration value="chargeback"/>
                        <xs:enumeration value="guarantee"/>
                        <xs:enumeration value="buyer-complaint"/>
                        <xs:enumeration value="refund"/>
                        <xs:enumeration value="other"/>
                </xs:restriction>
        </xs:simpleType>


        <xs:simpleType name="PaymentCodeType">
                <xs:annotation>
                        <xs:documentation>
                                PaymentCodeType - Type declaration to be used by other schemas.
                                This is the type of PayPal payment which matches the output from IPN.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="none"/>
                        <xs:enumeration value="echeck"/>
                        <xs:enumeration value="instant"/>
                </xs:restriction>
        </xs:simpleType>

        <xs:simpleType name="PayPalUserStatusCodeType">
                <xs:annotation>
                        <xs:documentation>
                                PayPalUserStatusCodeType - Type declaration to be used by other schemas.
                                PayPal status of a user Address
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="verified"/>
                        <xs:enumeration value="unverified"/>
                </xs:restriction>
        </xs:simpleType>

        <xs:simpleType name="MerchantPullPaymentCodeType">
                <xs:annotation>
                        <xs:documentation>
                                MerchantPullPaymentCodeType - Type declaration to be used by other schemas.
                                Type of Payment to be initiated by the merchant
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Any"/>
                        <xs:enumeration value="InstantOnly"/>
                        <xs:enumeration value="EcheckOnly"/>
                </xs:restriction>
        </xs:simpleType>

        <xs:simpleType name="MerchantPullStatusCodeType">
                <xs:annotation>
                        <xs:documentation>
                                MerchantPullStatusCodeType - Type declaration to be used by other schemas.
                                Status of the merchant pull
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Active"/>
                        <xs:enumeration value="Canceled"/>
                </xs:restriction>
        </xs:simpleType>

        <xs:simpleType name="PaymentTransactionStatusCodeType">
                <xs:annotation>
                        <xs:documentation>
                                PaymentTransactionStatusCodeType - Type declaration to be used by other schemas.
                                The status of the PayPal payment.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="Pending"/>
                        <xs:enumeration value="Processing"/>
                        <xs:enumeration value="Success"/>
                        <xs:enumeration value="Denied"/>
                        <xs:enumeration value="Reversed"/>
                </xs:restriction>
        </xs:simpleType>

        <xs:simpleType name="PaymentTransactionClassCodeType">
                <xs:annotation>
                        <xs:documentation>
                                PaymentTransactionClassCodeType - Type declaration to be used by other schemas.
                                The Type of PayPal payment.
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:token">
                        <xs:enumeration value="All"/>
                        <xs:enumeration value="Sent"/>
                        <xs:enumeration value="Received"/>
                        <xs:enumeration value="MassPay"/>
                        <xs:enumeration value="MoneyRequest"/>
                        <xs:enumeration value="FundsAdded"/>
                        <xs:enumeration value="FundsWithdrawn"/>
                        <xs:enumeration value="PayPalDebitCard"/>
                        <xs:enumeration value="PrimaryDebitCard"/>
                        <xs:enumeration value="SecondaryDebitCard"/>
                        <xs:enumeration value="Referral"/>
                        <xs:enumeration value="Fee"/>
                        <xs:enumeration value="Subscription"/>
                        <xs:enumeration value="Dividend"/>
                        <xs:enumeration value="Billpay"/>
                        <xs:enumeration value="Refund"/>
                        <xs:enumeration value="CurrencyConversions"/>
                        <xs:enumeration value="BalanceTransfer"/>
                        <xs:enumeration value="Reversal"/>
                        <xs:enumeration value="Shipping"/>
                        <xs:enumeration value="BalanceAffecting"/>
                        <xs:enumeration value="ECheck"/>
                </xs:restriction>
        </xs:simpleType>

        <!-- Custom Security Header -->
        <xs:complexType name="CustomSecurityHeaderType">
                <xs:annotation>
                        <xs:documentation>
                                  Custom Securiy Header.
                              </xs:documentation>
                </xs:annotation>
                <xs:sequence>
                        <xs:element name="eBayAuthToken" type="xs:string" minOccurs="0"/>
                        <xs:element name="HardExpirationWarning" type="xs:string" minOccurs="0"/>
                        <xs:element name="Credentials" type="ns:UserIdPasswordType" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="UserIdPasswordType">
                <xs:sequence>
                        <xs:element name="AppId" type="xs:string" minOccurs="0"/>
                        <xs:element name="DevId" type="xs:string" minOccurs="0"/>
                        <xs:element name="AuthCert" type="xs:string" minOccurs="0"/>
                        <xs:element name="Username" type="xs:string">
                                <xs:annotation>
                                        <xs:documentation>
                                                The username is the identifier for an account.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Password" type="xs:string">
                                <xs:annotation>
                                        <xs:documentation>
                                                Password contains the current password associated with the username.
                                        </xs:documentation>
                                </xs:annotation>
                        </xs:element>
                        <xs:element name="Subject" type="xs:string" minOccurs="0">
                           <xs:annotation>
                             <xs:documentation>
                                  This field identifies an account (e.g., payment) on whose behalf the operation is being performed.
                                   For instance one account holder may delegate the abililty to perform certain operations
                                   to another account holder. This delegation is done through a separate mechanism.
                                   If the base username has not been authorized by the subject the request will be rejected.
                              </xs:documentation>
                          </xs:annotation>
                      </xs:element>
                </xs:sequence>
        </xs:complexType>

</xs:schema>


<xs:schema targetNamespace="urn:ebay:apis:CoreComponentTypes"
           xmlns:ebl="urn:ebay:apis:eBLBaseComponents"
           xmlns:ns="urn:ebay:apis:CoreComponentTypes"
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
           elementFormDefault="qualified"
           attributeFormDefault="unqualified">

        <!-- Definition of AmountType -->
        <xs:complexType name="AmountType">
                <xs:simpleContent>
                        <xs:extension base="xs:double">
                                <xs:attribute name="currencyID" type="ebl:CurrencyCodeType" use="required"/>
                        </xs:extension>
                </xs:simpleContent>
        </xs:complexType>
        <xs:complexType name="BasicAmountType">
                <xs:simpleContent>
                        <xs:extension base="xs:string">
                                <xs:attribute name="currencyID" type="ebl:CurrencyCodeType" use="required"/>
                        </xs:extension>
                </xs:simpleContent>
        </xs:complexType>
        <!-- Definition of MeasureType -->
        <xs:complexType name="MeasureType">
                <xs:simpleContent>
                        <xs:extension base="xs:double">
                                <xs:attribute name="unit" type="xs:token" use="required"/>
                        </xs:extension>
                </xs:simpleContent>
        </xs:complexType>
        <!-- Definition of QuantityType -->
        <xs:complexType name="QuantityType">
                <xs:simpleContent>
                        <xs:extension base="xs:double">
                                <xs:attribute name="unit" type="xs:token" use="optional"/>
                        </xs:extension>
                </xs:simpleContent>
        </xs:complexType>
        <!-- Definition of UUIDType (as a simpleType)-->
        <xs:simpleType name="UUIDType">
                <xs:annotation>
                        <xs:documentation>
                            Specifies a universally unique identifier. The UUID can
                            only contain digits from 0-9 and letters from A-F. The
                            UUID must be 32 characters long. For example,
                            1FB02B2-9D27-3acb-ABA2-9D539C374228
                        </xs:documentation>
                </xs:annotation>
                <xs:restriction base="xs:string">
                        <xs:length value="36"/>
                </xs:restriction>
        </xs:simpleType>
</xs:schema>