-
Notifications
You must be signed in to change notification settings - Fork 0
/
CoreComponentTypes.xsd
53 lines (53 loc) · 2.25 KB
/
CoreComponentTypes.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:ebay:apis:CoreComponentTypes" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ns="urn:ebay:apis:CoreComponentTypes" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="urn:ebay:apis:eBLBaseComponents" schemaLocation="eBLBaseComponents.xsd"/>
<!-- 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:annotation><xs:documentation>On requests, you must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies.
<br/><br/>
Limitations: Must not exceed $10,000 USD in any currency. No currency symbol. Decimal separator must be a period (.), and the thousands separator must be a comma (,).
</xs:documentation></xs:annotation>
<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>