xml.schema/test/qa-functional/data/CreditCoReport.xsd
author Milutin Kristofic <mkristofic@netbeans.org>
Mon, 30 Jan 2017 14:30:54 +0100
changeset 1583 fe20f672a61a
parent 996 dc9f8e51622d
permissions -rw-r--r--
Added Missing copyright information in source files
michaelnazarov@996
     1
<?xml version="1.0" encoding="UTF-8"?>
mkristofic@1583
     2
<!--
mkristofic@1583
     3
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
mkristofic@1583
     4
mkristofic@1583
     5
Copyright 2009-2017 Oracle and/or its affiliates. All rights reserved.
mkristofic@1583
     6
mkristofic@1583
     7
Oracle and Java are registered trademarks of Oracle and/or its affiliates.
mkristofic@1583
     8
Other names may be trademarks of their respective owners.
mkristofic@1583
     9
mkristofic@1583
    10
The contents of this file are subject to the terms of either the GNU
mkristofic@1583
    11
General Public License Version 2 only ("GPL") or the Common
mkristofic@1583
    12
Development and Distribution License("CDDL") (collectively, the
mkristofic@1583
    13
"License"). You may not use this file except in compliance with the
mkristofic@1583
    14
License. You can obtain a copy of the License at
mkristofic@1583
    15
http://www.netbeans.org/cddl-gplv2.html
mkristofic@1583
    16
or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
mkristofic@1583
    17
specific language governing permissions and limitations under the
mkristofic@1583
    18
License.  When distributing the software, include this License Header
mkristofic@1583
    19
Notice in each file and include the License file at
mkristofic@1583
    20
nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
mkristofic@1583
    21
particular file as subject to the "Classpath" exception as provided
mkristofic@1583
    22
by Oracle in the GPL Version 2 section of the License file that
mkristofic@1583
    23
accompanied this code. If applicable, add the following below the
mkristofic@1583
    24
License Header, with the fields enclosed by brackets [] replaced by
mkristofic@1583
    25
your own identifying information:
mkristofic@1583
    26
"Portions Copyrighted [year] [name of copyright owner]"
mkristofic@1583
    27
mkristofic@1583
    28
Contributor(s):
mkristofic@1583
    29
mkristofic@1583
    30
The Original Software is NetBeans. The Initial Developer of the Original
mkristofic@1583
    31
Software is Sun Microsystems, Inc. Portions Copyright 2009-2010 Sun
mkristofic@1583
    32
Microsystems, Inc. All Rights Reserved.
mkristofic@1583
    33
mkristofic@1583
    34
If you wish your version of this file to be governed by only the CDDL
mkristofic@1583
    35
or only the GPL Version 2, indicate your decision by adding
mkristofic@1583
    36
"[Contributor] elects to include this software in this distribution
mkristofic@1583
    37
under the [CDDL or GPL Version 2] license." If you do not indicate a
mkristofic@1583
    38
single choice of license, a recipient has the option to distribute
mkristofic@1583
    39
your version of this file under either the CDDL, the GPL Version 2 or
mkristofic@1583
    40
to extend the choice of license to its licensees as provided above.
mkristofic@1583
    41
However, if you add GPL Version 2 code and therefore, elected the GPL
mkristofic@1583
    42
Version 2 license, then the option applies only if the new code is
mkristofic@1583
    43
made subject to such option by the copyright holder.
mkristofic@1583
    44
-->
michaelnazarov@996
    45
michaelnazarov@996
    46
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
michaelnazarov@996
    47
            targetNamespace="http://xml.netbeans.org/schema/JaxbWizTutorial/CreditCoReport"
michaelnazarov@996
    48
            xmlns:tns="http://xml.netbeans.org/schema/JaxbWizTutorial/CreditCoReport"
michaelnazarov@996
    49
            elementFormDefault="qualified">
michaelnazarov@996
    50
    <xsd:element name="CreditInfo">
michaelnazarov@996
    51
        <xsd:complexType>
michaelnazarov@996
    52
            <xsd:sequence>
michaelnazarov@996
    53
                <xsd:element ref="tns:CreditAccount" minOccurs="0" maxOccurs="unbounded"/>
michaelnazarov@996
    54
            </xsd:sequence>
michaelnazarov@996
    55
        </xsd:complexType>
michaelnazarov@996
    56
    </xsd:element>
michaelnazarov@996
    57
    <xsd:element name="CreditAccount">
michaelnazarov@996
    58
        <xsd:complexType>
michaelnazarov@996
    59
            <xsd:sequence>
michaelnazarov@996
    60
                <xsd:element name="AccountName" type="xsd:string"></xsd:element>
michaelnazarov@996
    61
                <xsd:element name="Currency">
michaelnazarov@996
    62
                    <xsd:simpleType>
michaelnazarov@996
    63
                        <xsd:restriction xmlns:xsd="http://www.w3.org/2001/XMLSchema" base="xsd:string">
michaelnazarov@996
    64
                            <xsd:enumeration value = "AUD"/><!-- Australian Dollar -->
michaelnazarov@996
    65
                            <xsd:enumeration value = "BRL"/><!-- Brazilian Real -->
michaelnazarov@996
    66
                            <xsd:enumeration value = "CAD"/><!-- Canadian Dollar -->
michaelnazarov@996
    67
                            <xsd:enumeration value = "CNY"/><!-- Chinese Yen -->
michaelnazarov@996
    68
                            <xsd:enumeration value = "EUR"/><!-- Euro -->
michaelnazarov@996
    69
                            <xsd:enumeration value = "GBP"/><!-- British Pound -->
michaelnazarov@996
    70
                            <xsd:enumeration value = "INR"/><!-- Indian Rupee -->
michaelnazarov@996
    71
                            <xsd:enumeration value = "JPY"/><!-- Japanese Yen -->
michaelnazarov@996
    72
                            <xsd:enumeration value = "RUR"/><!-- Russian Rouble -->
michaelnazarov@996
    73
                            <xsd:enumeration value = "USD"/><!-- US Dollar -->
michaelnazarov@996
    74
                            <xsd:length value = "3"/>
michaelnazarov@996
    75
                        </xsd:restriction>                            
michaelnazarov@996
    76
                    </xsd:simpleType>
michaelnazarov@996
    77
                </xsd:element>
michaelnazarov@996
    78
                <xsd:element name="type">
michaelnazarov@996
    79
                    <xsd:simpleType>
michaelnazarov@996
    80
                        <xsd:restriction xmlns:xsd="http://www.w3.org/2001/XMLSchema" base="xsd:string">
michaelnazarov@996
    81
                            <xsd:enumeration value="IND"/><!-- Individual -->
michaelnazarov@996
    82
                            <xsd:enumeration value="JNT"/><!-- Joint -->
michaelnazarov@996
    83
                        </xsd:restriction>
michaelnazarov@996
    84
                    </xsd:simpleType>
michaelnazarov@996
    85
                </xsd:element>
michaelnazarov@996
    86
                <xsd:element name="DateOpen" type="xsd:date"></xsd:element>
michaelnazarov@996
    87
                <xsd:element name="HighLimit" type="xsd:int"></xsd:element>
michaelnazarov@996
    88
                <xsd:element name="MonthlyPayment" type="xsd:decimal" minOccurs="0"></xsd:element>
michaelnazarov@996
    89
                <xsd:element name="Balance" type="xsd:decimal" minOccurs="0"></xsd:element>
michaelnazarov@996
    90
                <xsd:element name="DateLastPayment" type="xsd:date" minOccurs="0"></xsd:element>
michaelnazarov@996
    91
                <xsd:element name="Status">
michaelnazarov@996
    92
                    <xsd:simpleType>
michaelnazarov@996
    93
                        <xsd:restriction xmlns:xsd="http://www.w3.org/2001/XMLSchema" base="xsd:string">
michaelnazarov@996
    94
                            <xsd:enumeration value="Open"/>
michaelnazarov@996
    95
                            <xsd:enumeration value="Closed"/>
michaelnazarov@996
    96
                            <xsd:enumeration value="Current"/>
michaelnazarov@996
    97
                            <xsd:enumeration value="Dormant"/>
michaelnazarov@996
    98
                        </xsd:restriction>
michaelnazarov@996
    99
                    </xsd:simpleType>
michaelnazarov@996
   100
                </xsd:element>
michaelnazarov@996
   101
                <xsd:element name="AmountPastDue" type="xsd:decimal" minOccurs="0"></xsd:element>
michaelnazarov@996
   102
            </xsd:sequence>
michaelnazarov@996
   103
        </xsd:complexType>
michaelnazarov@996
   104
    </xsd:element>
michaelnazarov@996
   105
    <xsd:element name="CreditEnquiries">
michaelnazarov@996
   106
        <xsd:complexType>
michaelnazarov@996
   107
            <xsd:sequence>
michaelnazarov@996
   108
                <xsd:element ref="tns:CreditEnquiry" minOccurs="0" maxOccurs="unbounded"/>
michaelnazarov@996
   109
            </xsd:sequence>
michaelnazarov@996
   110
        </xsd:complexType>
michaelnazarov@996
   111
    </xsd:element>
michaelnazarov@996
   112
    <xsd:element name="CreditEnquiry">
michaelnazarov@996
   113
        <xsd:complexType>
michaelnazarov@996
   114
            <xsd:sequence>
michaelnazarov@996
   115
                <xsd:element name="Bureau" type="xsd:string"></xsd:element>
michaelnazarov@996
   116
                <xsd:element name="OnDate" type="xsd:date"></xsd:element>
michaelnazarov@996
   117
                <xsd:element name="InquiryDesc" type="xsd:string"></xsd:element>
michaelnazarov@996
   118
            </xsd:sequence>
michaelnazarov@996
   119
        </xsd:complexType>
michaelnazarov@996
   120
    </xsd:element>
michaelnazarov@996
   121
    <xsd:element name="Addresses">
michaelnazarov@996
   122
        <xsd:complexType>
michaelnazarov@996
   123
            <xsd:sequence>
michaelnazarov@996
   124
                <xsd:element ref="tns:Address" maxOccurs="unbounded" minOccurs="0"/>
michaelnazarov@996
   125
            </xsd:sequence>
michaelnazarov@996
   126
        </xsd:complexType>
michaelnazarov@996
   127
    </xsd:element>
michaelnazarov@996
   128
    <xsd:element name="Address">
michaelnazarov@996
   129
        <xsd:complexType>
michaelnazarov@996
   130
            <xsd:sequence>
michaelnazarov@996
   131
                <xsd:element name="Status" minOccurs="0">
michaelnazarov@996
   132
                    <xsd:simpleType>
michaelnazarov@996
   133
                        <xsd:restriction xmlns:xsd="http://www.w3.org/2001/XMLSchema" base="xsd:string">
michaelnazarov@996
   134
                            <xsd:enumeration value="Current"/>
michaelnazarov@996
   135
                            <xsd:enumeration value="Previous"/>
michaelnazarov@996
   136
                        </xsd:restriction>
michaelnazarov@996
   137
                    </xsd:simpleType>
michaelnazarov@996
   138
                </xsd:element>
michaelnazarov@996
   139
                <xsd:element name="AddressLine1" type="xsd:string"></xsd:element>
michaelnazarov@996
   140
                <xsd:element name="AddressLine2" type="xsd:string" minOccurs="0"></xsd:element>
michaelnazarov@996
   141
                <xsd:element name="City" type="xsd:string"></xsd:element>
michaelnazarov@996
   142
                <xsd:element name="State" type="xsd:string"></xsd:element>
michaelnazarov@996
   143
                <xsd:element name="Zip" type="xsd:string"></xsd:element>
michaelnazarov@996
   144
                <xsd:element name="Country" type="xsd:string" minOccurs="0"></xsd:element>
michaelnazarov@996
   145
            </xsd:sequence>
michaelnazarov@996
   146
        </xsd:complexType>
michaelnazarov@996
   147
    </xsd:element>
michaelnazarov@996
   148
    <xsd:element name="EmploymentInfo">
michaelnazarov@996
   149
        <xsd:complexType>
michaelnazarov@996
   150
            <xsd:sequence>
michaelnazarov@996
   151
                <xsd:element ref="tns:Employment" maxOccurs="unbounded" minOccurs="0"/>
michaelnazarov@996
   152
            </xsd:sequence>
michaelnazarov@996
   153
        </xsd:complexType>
michaelnazarov@996
   154
    </xsd:element>
michaelnazarov@996
   155
    <xsd:element name="Employment">
michaelnazarov@996
   156
        <xsd:complexType>
michaelnazarov@996
   157
            <xsd:sequence>
michaelnazarov@996
   158
                <xsd:element name="status" minOccurs="0">
michaelnazarov@996
   159
                    <xsd:simpleType>
michaelnazarov@996
   160
                        <xsd:restriction xmlns:xsd="http://www.w3.org/2001/XMLSchema" base="xsd:string">
michaelnazarov@996
   161
                            <xsd:enumeration value="Current"/>
michaelnazarov@996
   162
                            <xsd:enumeration value="Previous"/>
michaelnazarov@996
   163
                        </xsd:restriction>
michaelnazarov@996
   164
                    </xsd:simpleType>
michaelnazarov@996
   165
                </xsd:element>
michaelnazarov@996
   166
                <xsd:element name="EmployerName" type="xsd:string"></xsd:element>
michaelnazarov@996
   167
                <xsd:element name="StartDate" type="xsd:date" minOccurs="0"></xsd:element>
michaelnazarov@996
   168
                <xsd:element name="EndDate" type="xsd:date" minOccurs="0"></xsd:element>
michaelnazarov@996
   169
            </xsd:sequence>
michaelnazarov@996
   170
        </xsd:complexType>
michaelnazarov@996
   171
    </xsd:element>
michaelnazarov@996
   172
    <xsd:element name="CreditReport">
michaelnazarov@996
   173
        <xsd:complexType>
michaelnazarov@996
   174
            <xsd:sequence>
michaelnazarov@996
   175
                <xsd:element name="FirstName" type="xsd:string"></xsd:element>
michaelnazarov@996
   176
                <xsd:element name="LastName" type="xsd:string"></xsd:element>
michaelnazarov@996
   177
                <xsd:element name="SSN" type="xsd:string"></xsd:element>
michaelnazarov@996
   178
                <xsd:element ref="tns:Addresses"/>
michaelnazarov@996
   179
                <xsd:element ref="tns:CreditInfo"/>
michaelnazarov@996
   180
                <xsd:element ref="tns:CreditEnquiries"/>
michaelnazarov@996
   181
                <xsd:element ref="tns:EmploymentInfo"/>
michaelnazarov@996
   182
            </xsd:sequence>
michaelnazarov@996
   183
        </xsd:complexType>
michaelnazarov@996
   184
    </xsd:element>
michaelnazarov@996
   185
    <xsd:element name="CreditReportRequest">
michaelnazarov@996
   186
        <xsd:complexType>
michaelnazarov@996
   187
            <xsd:sequence>
michaelnazarov@996
   188
                <xsd:element name="FirstName" type="xsd:string"></xsd:element>
michaelnazarov@996
   189
                <xsd:element name="LastName" type="xsd:string"></xsd:element>
michaelnazarov@996
   190
                <xsd:element name="SSN" type="xsd:string"></xsd:element>
michaelnazarov@996
   191
            </xsd:sequence>
michaelnazarov@996
   192
        </xsd:complexType>
michaelnazarov@996
   193
    </xsd:element>
michaelnazarov@996
   194
    <xsd:element name="GetReportFault">
michaelnazarov@996
   195
        <xsd:complexType>
michaelnazarov@996
   196
            <xsd:sequence>
michaelnazarov@996
   197
                <xsd:element name="FaultMessage" type="xsd:string"></xsd:element>
michaelnazarov@996
   198
            </xsd:sequence>
michaelnazarov@996
   199
        </xsd:complexType>
michaelnazarov@996
   200
    </xsd:element>
michaelnazarov@996
   201
</xsd:schema>