nxsd_response.xsd 4.44 KB
Newer Older
ymir's avatar
ymir committed
1
<?xml version = '1.0' encoding = 'UTF-8'?>
ymir's avatar
ymir committed
2
3
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="dummyOsbGraphQLClient" targetNamespace="dummyOsbGraphQLClient" elementFormDefault="qualified" xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd" nxsd:version="JSON" nxsd:encoding="US-ASCII" xmlns:com="dummyOsbGraphQLClientCommon">
   <xsd:import namespace="dummyOsbGraphQLClientCommon" schemaLocation="../../common/common.xsd"/>
ymir's avatar
ymir committed
4
5
6
7
   <xsd:import namespace="dummyOsbGraphQLClientCommon" schemaLocation="../addresses.xsd"/>
   <xsd:import namespace="dummyOsbGraphQLClientCommon" schemaLocation="../../clients/clients.xsd"/>
   <xsd:import namespace="dummyOsbGraphQLClientCommon" schemaLocation="../../purchaseOrders/purchaseOrders.xsd"/>
   <xsd:import namespace="dummyOsbGraphQLClientCommon" schemaLocation="../../items/items.xsd"/>
ymir's avatar
ymir committed
8
9
10
11
12
13
14
15
16
   <xsd:element name="rootReadAddresses">
      <xsd:complexType>
         <xsd:sequence>
            <xsd:element name="data">
               <xsd:complexType>
                  <xsd:sequence>
                     <xsd:element name="readAddresses" maxOccurs="unbounded">
                        <xsd:complexType>
                           <xsd:sequence>
ymir's avatar
ymir committed
17
                              <xsd:element ref="com:id"/>
ymir's avatar
ymir committed
18
19
20
21
                              <xsd:element ref="com:houseNumber"/>
                              <xsd:element ref="com:street"/>
                              <xsd:element ref="com:zipCode"/>
                              <xsd:element ref="com:city"/>
ymir's avatar
ymir committed
22
23
24
                              <xsd:element name="clients" maxOccurs="unbounded" minOccurs="0">
                                 <xsd:complexType>
                                    <xsd:sequence>
ymir's avatar
ymir committed
25
                                       <xsd:element ref="com:id"/>
ymir's avatar
ymir committed
26
27
                                       <xsd:element ref="com:firstName"/>
                                       <xsd:element ref="com:lastName"/>
ymir's avatar
ymir committed
28
29
30
                                       <xsd:element name="purchaseOrders" maxOccurs="unbounded" minOccurs="0">
                                          <xsd:complexType>
                                             <xsd:sequence>
ymir's avatar
ymir committed
31
                                                <xsd:element ref="com:id"/>
ymir's avatar
ymir committed
32
                                                <xsd:element ref="com:creationDate"/>
ymir's avatar
ymir committed
33
34
35
                                                <xsd:element name="orderLines" maxOccurs="unbounded" minOccurs="0">
                                                   <xsd:complexType>
                                                      <xsd:sequence>
ymir's avatar
ymir committed
36
                                                         <xsd:element ref="com:id"/>
ymir's avatar
ymir committed
37
38
39
                                                         <xsd:element name="item">
                                                            <xsd:complexType>
                                                               <xsd:sequence>
ymir's avatar
ymir committed
40
                                                                  <xsd:element ref="com:id"/>
ymir's avatar
ymir committed
41
42
                                                                  <xsd:element ref="com:name"/>
                                                                  <xsd:element ref="com:price"/>
ymir's avatar
ymir committed
43
44
45
                                                               </xsd:sequence>
                                                            </xsd:complexType>
                                                         </xsd:element>
ymir's avatar
ymir committed
46
                                                         <xsd:element ref="com:quantity"/>
ymir's avatar
ymir committed
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
                                                      </xsd:sequence>
                                                   </xsd:complexType>
                                                </xsd:element>
                                             </xsd:sequence>
                                          </xsd:complexType>
                                       </xsd:element>
                                    </xsd:sequence>
                                 </xsd:complexType>
                              </xsd:element>
                           </xsd:sequence>
                        </xsd:complexType>
                     </xsd:element>
                  </xsd:sequence>
               </xsd:complexType>
            </xsd:element>
ymir's avatar
ymir committed
62
            <xsd:element ref="com:errors" maxOccurs="unbounded"/>
ymir's avatar
ymir committed
63
64
65
         </xsd:sequence>
      </xsd:complexType>
   </xsd:element>
ymir's avatar
ymir committed
66
<xsd:annotation xmlns="">
ymir's avatar
ymir committed
67
      <xsd:appinfo>NXSDSAMPLE=address\response.json</xsd:appinfo>
ymir's avatar
ymir committed
68
69
      <xsd:appinfo>USEHEADER=false</xsd:appinfo>
   </xsd:annotation>
ymir's avatar
ymir committed
70
</xsd:schema>