~ubuntu-branches/ubuntu/vivid/jaxb/vivid-proposed

« back to all changes in this revision

Viewing changes to samples/samples-src/ubl/cd-UBL-1.0/xsd/maindoc/UBL-ReceiptAdvice-1.0.xsd

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2014-09-01 14:26:44 UTC
  • Revision ID: package-import@ubuntu.com-20140901142644-nox3y6t2unq2wxjf
Tags: upstream-2.2.5
ImportĀ upstreamĀ versionĀ 2.2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
 
 
3
<!--
 
4
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
5
 
 
6
 Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
 
7
 
 
8
 The contents of this file are subject to the terms of either the GNU
 
9
 General Public License Version 2 only ("GPL") or the Common Development
 
10
 and Distribution License("CDDL") (collectively, the "License").  You
 
11
 may not use this file except in compliance with the License. You can obtain
 
12
 a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
 
13
 or glassfish/bootstrap/legal/LICENSE.txt.  See the License for the specific
 
14
 language governing permissions and limitations under the License.
 
15
 
 
16
 When distributing the software, include this License Header Notice in each
 
17
 file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
 
18
 Sun designates this particular file as subject to the "Classpath" exception
 
19
 as provided by Sun in the GPL Version 2 section of the License file that
 
20
 accompanied this code.  If applicable, add the following below the License
 
21
 Header, with the fields enclosed by brackets [] replaced by your own
 
22
 identifying information: "Portions Copyrighted [year]
 
23
 [name of copyright owner]"
 
24
 
 
25
 Contributor(s):
 
26
 
 
27
 If you wish your version of this file to be governed by only the CDDL or
 
28
 only the GPL Version 2, indicate your decision by adding "[Contributor]
 
29
 elects to include this software in this distribution under the [CDDL or GPL
 
30
 Version 2] license."  If you don't indicate a single choice of license, a
 
31
 recipient has the option to distribute your version of this file under
 
32
 either the CDDL, the GPL Version 2 or to extend the choice of license to
 
33
 its licensees as provided above.  However, if you add GPL Version 2 code
 
34
 and therefore, elected the GPL Version 2 license, then the option applies
 
35
 only if the new code is made subject to such option by the copyright
 
36
 holder.
 
37
-->
 
38
 
 
39
<!--
 
40
  Universal Business Language (UBL) Schema 1.0
 
41
 
 
42
  Copyright (C) OASIS Open (2004). All Rights Reserved.
 
43
 
 
44
  This document and translations of it may be copied and furnished to others, and
 
45
  derivative works that comment on or otherwise explain it or assist in its
 
46
  implementation may be prepared, copied, published and distributed, in whole or
 
47
  in part, without restriction of any kind, provided that the above copyright
 
48
  notice and this paragraph are included on all such copies and derivative works.
 
49
  However, this document itself may not be modified in any way, such as by
 
50
  removing the copyright notice or references to OASIS, except as needed for the
 
51
  purpose of developing OASIS specifications, in which case the procedures for
 
52
  copyrights defined in the OASIS Intellectual Property Rights document must be
 
53
  followed, or as required to translate it into languages other than English.
 
54
 
 
55
  The limited permissions granted above are perpetual and will not be revoked by
 
56
  OASIS or its successors or assigns.
 
57
 
 
58
  This document and the information contained herein is provided on an "AS IS"
 
59
  basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 
60
  LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT
 
61
  INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR
 
62
  A PARTICULAR PURPOSE.
 
63
 
 
64
  ===============================================================================
 
65
 
 
66
  For our absent friend, Michael J. Adcock  - il miglior fabbro
 
67
 
 
68
  ===============================================================================
 
69
 
 
70
  Universal Business Language Specification
 
71
      (http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=ubl)
 
72
  OASIS Open (http://www.oasis-open.org/)
 
73
 
 
74
 
 
75
  Document Type:     ReceiptAdvice
 
76
  Generated On:      Tue Apr 27 11:34:38 2004
 
77
-->
 
78
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
79
    xmlns="urn:oasis:names:tc:ubl:ReceiptAdvice:1:0"
 
80
    xmlns:ccts="urn:oasis:names:tc:ubl:CoreComponentParameters:1:0"
 
81
    xmlns:cbc="urn:oasis:names:tc:ubl:CommonBasicComponents:1:0"
 
82
    xmlns:cac="urn:oasis:names:tc:ubl:CommonAggregateComponents:1:0"
 
83
    xmlns:udt="urn:oasis:names:tc:ubl:UnspecializedDatatypes:1:0"
 
84
    xmlns:sdt="urn:oasis:names:tc:ubl:SpecializedDatatypes:1:0"
 
85
    xmlns:stat="urn:oasis:names:tc:ubl:codelist:DocumentStatusCode:1:0"
 
86
    targetNamespace="urn:oasis:names:tc:ubl:ReceiptAdvice:1:0"
 
87
    elementFormDefault="qualified"
 
88
    attributeFormDefault="unqualified"
 
89
    version="1:0">
 
90
  <xsd:import namespace="urn:oasis:names:tc:ubl:CoreComponentParameters:1:0" schemaLocation="../common/UBL-CoreComponentParameters-1.0.xsd"/>
 
91
  <xsd:import namespace="urn:oasis:names:tc:ubl:CommonBasicComponents:1:0" schemaLocation="../common/UBL-CommonBasicComponents-1.0.xsd"/>
 
92
  <xsd:import namespace="urn:oasis:names:tc:ubl:CommonAggregateComponents:1:0" schemaLocation="../common/UBL-CommonAggregateComponents-1.0.xsd"/>
 
93
  <xsd:import namespace="urn:oasis:names:tc:ubl:UnspecializedDatatypes:1:0" schemaLocation="../common/UBL-UnspecializedDatatypes-1.0.xsd"/>
 
94
  <xsd:import namespace="urn:oasis:names:tc:ubl:SpecializedDatatypes:1:0" schemaLocation="../common/UBL-SpecializedDatatypes-1.0.xsd"/>
 
95
  <xsd:import namespace="urn:oasis:names:tc:ubl:codelist:DocumentStatusCode:1:0" schemaLocation="../codelist/UBL-CodeList-DocumentStatusCode-1.0.xsd"/>
 
96
  <xsd:element name="ReceiptAdvice" type="ReceiptAdviceType">
 
97
    <xsd:annotation>
 
98
      <xsd:documentation>This element MUST be conveyed as the root element in any instance document based on this Schema expression</xsd:documentation>
 
99
    </xsd:annotation>
 
100
  </xsd:element>
 
101
  <xsd:complexType name="ReceiptAdviceType">
 
102
    <xsd:annotation>
 
103
      <xsd:documentation>
 
104
        <ccts:Component>
 
105
          <ccts:ComponentType>ABIE</ccts:ComponentType>
 
106
          <ccts:DictionaryEntryName>Receipt Advice. Details</ccts:DictionaryEntryName>
 
107
          <ccts:Definition>the document that advises the goods received and accepted by the buyer</ccts:Definition>
 
108
          <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
 
109
        </ccts:Component>
 
110
      </xsd:documentation>
 
111
    </xsd:annotation>
 
112
    <xsd:sequence>
 
113
      <xsd:element name="ID" type="udt:IdentifierType" minOccurs="1" maxOccurs="1">
 
114
        <xsd:annotation>
 
115
          <xsd:documentation>
 
116
            <ccts:Component>
 
117
              <ccts:ComponentType>BBIE</ccts:ComponentType>
 
118
              <ccts:DictionaryEntryName>Receipt Advice. Identifier</ccts:DictionaryEntryName>
 
119
              <ccts:Definition>holds the unique number that identifies the receipt advice, typically according to the buyer&apos;s system that generated the receipt advice</ccts:Definition>
 
120
              <ccts:Cardinality>1</ccts:Cardinality>
 
121
              <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
 
122
              <ccts:PropertyTerm>Identifier</ccts:PropertyTerm>
 
123
              <ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
 
124
              <ccts:DataType>Identifier. Type</ccts:DataType>
 
125
            </ccts:Component>
 
126
          </xsd:documentation>
 
127
        </xsd:annotation>
 
128
      </xsd:element>
 
129
      <xsd:element ref="cbc:CopyIndicator" minOccurs="0" maxOccurs="1">
 
130
        <xsd:annotation>
 
131
          <xsd:documentation>
 
132
            <ccts:Component>
 
133
              <ccts:ComponentType>BBIE</ccts:ComponentType>
 
134
              <ccts:DictionaryEntryName>Receipt Advice. Copy. Indicator</ccts:DictionaryEntryName>
 
135
              <ccts:Definition>Indicates whether a document is a copy (true) or not (false)</ccts:Definition>
 
136
              <ccts:Cardinality>0..1</ccts:Cardinality>
 
137
              <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
 
138
              <ccts:PropertyTerm>Copy</ccts:PropertyTerm>
 
139
              <ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm>
 
140
              <ccts:DataType>Indicator. Type</ccts:DataType>
 
141
            </ccts:Component>
 
142
          </xsd:documentation>
 
143
        </xsd:annotation>
 
144
      </xsd:element>
 
145
      <xsd:element name="GUID" type="udt:IdentifierType" minOccurs="0" maxOccurs="1">
 
146
        <xsd:annotation>
 
147
          <xsd:documentation>
 
148
            <ccts:Component>
 
149
              <ccts:ComponentType>BBIE</ccts:ComponentType>
 
150
              <ccts:DictionaryEntryName>Receipt Advice. Globally Unique_ Identifier. Identifier</ccts:DictionaryEntryName>
 
151
              <ccts:Definition>a computer generated unique identifier for the document, which is guaranteed to be unique</ccts:Definition>
 
152
              <ccts:Cardinality>0..1</ccts:Cardinality>
 
153
              <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
 
154
              <ccts:PropertyTermQualifier>Globally Unique</ccts:PropertyTermQualifier>
 
155
              <ccts:PropertyTerm>Identifier</ccts:PropertyTerm>
 
156
              <ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
 
157
              <ccts:DataType>Identifier. Type</ccts:DataType>
 
158
            </ccts:Component>
 
159
          </xsd:documentation>
 
160
        </xsd:annotation>
 
161
      </xsd:element>
 
162
      <xsd:element ref="cbc:IssueDate" minOccurs="1" maxOccurs="1">
 
163
        <xsd:annotation>
 
164
          <xsd:documentation>
 
165
            <ccts:Component>
 
166
              <ccts:ComponentType>BBIE</ccts:ComponentType>
 
167
              <ccts:DictionaryEntryName>Receipt Advice. Issue Date. Date</ccts:DictionaryEntryName>
 
168
              <ccts:Definition>the date when the receipt advice was issued.</ccts:Definition>
 
169
              <ccts:Cardinality>1</ccts:Cardinality>
 
170
              <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
 
171
              <ccts:PropertyTerm>Issue Date</ccts:PropertyTerm>
 
172
              <ccts:RepresentationTerm>Date</ccts:RepresentationTerm>
 
173
              <ccts:DataType>Date_Date Time. Type</ccts:DataType>
 
174
            </ccts:Component>
 
175
          </xsd:documentation>
 
176
        </xsd:annotation>
 
177
      </xsd:element>
 
178
      <xsd:element name="DocumentStatusCode" type="stat:DocumentStatusCodeType" minOccurs="0" maxOccurs="1">
 
179
        <xsd:annotation>
 
180
          <xsd:documentation>
 
181
            <ccts:Component>
 
182
              <ccts:ComponentType>BBIE</ccts:ComponentType>
 
183
              <ccts:DictionaryEntryName>Receipt Advice. Document Status. Document Status_ Code</ccts:DictionaryEntryName>
 
184
              <ccts:Definition>Identifies the status of the document with regard to its original state.</ccts:Definition>
 
185
              <ccts:Cardinality>0..1</ccts:Cardinality>
 
186
              <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
 
187
              <ccts:PropertyTerm>Document Status</ccts:PropertyTerm>
 
188
              <ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
 
189
              <ccts:DataType>Document Status_ Code. Type</ccts:DataType>
 
190
            </ccts:Component>
 
191
          </xsd:documentation>
 
192
        </xsd:annotation>
 
193
      </xsd:element>
 
194
      <xsd:element ref="cbc:Note" minOccurs="0" maxOccurs="1">
 
195
        <xsd:annotation>
 
196
          <xsd:documentation>
 
197
            <ccts:Component>
 
198
              <ccts:ComponentType>BBIE</ccts:ComponentType>
 
199
              <ccts:DictionaryEntryName>Receipt Advice. Note. Text</ccts:DictionaryEntryName>
 
200
              <ccts:Definition>notes or any other textual information, pertinent to the entire receipt advice, that is not contained explicitly in another structure.</ccts:Definition>
 
201
              <ccts:Cardinality>0..1</ccts:Cardinality>
 
202
              <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
 
203
              <ccts:PropertyTerm>Note</ccts:PropertyTerm>
 
204
              <ccts:RepresentationTerm>Text</ccts:RepresentationTerm>
 
205
              <ccts:DataType>Text. Type</ccts:DataType>
 
206
            </ccts:Component>
 
207
          </xsd:documentation>
 
208
        </xsd:annotation>
 
209
      </xsd:element>
 
210
      <xsd:element ref="cac:OrderReference" minOccurs="0" maxOccurs="unbounded">
 
211
        <xsd:annotation>
 
212
          <xsd:documentation>
 
213
            <ccts:Component>
 
214
              <ccts:ComponentType>ASBIE</ccts:ComponentType>
 
215
              <ccts:DictionaryEntryName>Receipt Advice. Order Reference</ccts:DictionaryEntryName>
 
216
              <ccts:Definition>associates the receipt advice with one or more Orders that it relates to.</ccts:Definition>
 
217
              <ccts:Cardinality>0..n</ccts:Cardinality>
 
218
              <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
 
219
              <ccts:PropertyTerm>Order Reference</ccts:PropertyTerm>
 
220
              <ccts:AssociatedObjectClass>Order Reference</ccts:AssociatedObjectClass>
 
221
            </ccts:Component>
 
222
          </xsd:documentation>
 
223
        </xsd:annotation>
 
224
      </xsd:element>
 
225
      <xsd:element ref="DespatchDocumentReference" minOccurs="0" maxOccurs="unbounded">
 
226
        <xsd:annotation>
 
227
          <xsd:documentation>
 
228
            <ccts:Component>
 
229
              <ccts:ComponentType>ASBIE</ccts:ComponentType>
 
230
              <ccts:DictionaryEntryName>Receipt Advice. Despatch_ Document Reference. Document Reference</ccts:DictionaryEntryName>
 
231
              <ccts:Definition>associates the receipt advice with one or more Despatch advices that it relates to.</ccts:Definition>
 
232
              <ccts:Cardinality>0..n</ccts:Cardinality>
 
233
              <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
 
234
              <ccts:PropertyTermQualifier>Despatch</ccts:PropertyTermQualifier>
 
235
              <ccts:PropertyTerm>Document Reference</ccts:PropertyTerm>
 
236
              <ccts:AssociatedObjectClass>Document Reference</ccts:AssociatedObjectClass>
 
237
            </ccts:Component>
 
238
          </xsd:documentation>
 
239
        </xsd:annotation>
 
240
      </xsd:element>
 
241
      <xsd:element ref="cac:BuyerParty" minOccurs="1" maxOccurs="1">
 
242
        <xsd:annotation>
 
243
          <xsd:documentation>
 
244
            <ccts:Component>
 
245
              <ccts:ComponentType>ASBIE</ccts:ComponentType>
 
246
              <ccts:DictionaryEntryName>Receipt Advice. Buyer Party</ccts:DictionaryEntryName>
 
247
              <ccts:Definition>associates the receipt advice with information about the buyer involved in the transaction.</ccts:Definition>
 
248
              <ccts:Cardinality>1</ccts:Cardinality>
 
249
              <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
 
250
              <ccts:PropertyTerm>Buyer Party</ccts:PropertyTerm>
 
251
              <ccts:AssociatedObjectClass>Buyer Party</ccts:AssociatedObjectClass>
 
252
            </ccts:Component>
 
253
          </xsd:documentation>
 
254
        </xsd:annotation>
 
255
      </xsd:element>
 
256
      <xsd:element ref="cac:SellerParty" minOccurs="1" maxOccurs="1">
 
257
        <xsd:annotation>
 
258
          <xsd:documentation>
 
259
            <ccts:Component>
 
260
              <ccts:ComponentType>ASBIE</ccts:ComponentType>
 
261
              <ccts:DictionaryEntryName>Receipt Advice. Seller Party</ccts:DictionaryEntryName>
 
262
              <ccts:Definition>associates the receipt advice with information about the seller involved in the transaction.</ccts:Definition>
 
263
              <ccts:Cardinality>1</ccts:Cardinality>
 
264
              <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
 
265
              <ccts:PropertyTerm>Seller Party</ccts:PropertyTerm>
 
266
              <ccts:AssociatedObjectClass>Seller Party</ccts:AssociatedObjectClass>
 
267
            </ccts:Component>
 
268
          </xsd:documentation>
 
269
        </xsd:annotation>
 
270
      </xsd:element>
 
271
      <xsd:element ref="FreightForwarderParty" minOccurs="0" maxOccurs="1">
 
272
        <xsd:annotation>
 
273
          <xsd:documentation>
 
274
            <ccts:Component>
 
275
              <ccts:ComponentType>ASBIE</ccts:ComponentType>
 
276
              <ccts:DictionaryEntryName>Receipt Advice. Freight Forwarder_ Party. Party</ccts:DictionaryEntryName>
 
277
              <ccts:Definition>associates the receipt advice with information about the freight forwarder involved in the transaction.</ccts:Definition>
 
278
              <ccts:Cardinality>0..1</ccts:Cardinality>
 
279
              <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
 
280
              <ccts:PropertyTermQualifier>Freight Forwarder</ccts:PropertyTermQualifier>
 
281
              <ccts:PropertyTerm>Party</ccts:PropertyTerm>
 
282
              <ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass>
 
283
            </ccts:Component>
 
284
          </xsd:documentation>
 
285
        </xsd:annotation>
 
286
      </xsd:element>
 
287
      <xsd:element ref="cac:Delivery" minOccurs="0" maxOccurs="unbounded">
 
288
        <xsd:annotation>
 
289
          <xsd:documentation>
 
290
            <ccts:Component>
 
291
              <ccts:ComponentType>ASBIE</ccts:ComponentType>
 
292
              <ccts:DictionaryEntryName>Receipt Advice. Delivery</ccts:DictionaryEntryName>
 
293
              <ccts:Definition>associates the receipt advice with a delivery  (or deliveries).</ccts:Definition>
 
294
              <ccts:Cardinality>0..n</ccts:Cardinality>
 
295
              <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
 
296
              <ccts:PropertyTerm>Delivery</ccts:PropertyTerm>
 
297
              <ccts:AssociatedObjectClass>Delivery</ccts:AssociatedObjectClass>
 
298
            </ccts:Component>
 
299
          </xsd:documentation>
 
300
        </xsd:annotation>
 
301
      </xsd:element>
 
302
      <xsd:element ref="ReceivedTransportHandlingUnit" minOccurs="0" maxOccurs="unbounded">
 
303
        <xsd:annotation>
 
304
          <xsd:documentation>
 
305
            <ccts:Component>
 
306
              <ccts:ComponentType>ASBIE</ccts:ComponentType>
 
307
              <ccts:DictionaryEntryName>Receipt Advice. Received_ Transport Handling Unit. Transport Handling Unit</ccts:DictionaryEntryName>
 
308
              <ccts:Definition>associates the receipt advice with zero or more transport handling units (THU). The advice may be organised in this way with receipt &apos;lines&apos; within each THU.</ccts:Definition>
 
309
              <ccts:Cardinality>0..n</ccts:Cardinality>
 
310
              <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
 
311
              <ccts:PropertyTermQualifier>Received</ccts:PropertyTermQualifier>
 
312
              <ccts:PropertyTerm>Transport Handling Unit</ccts:PropertyTerm>
 
313
              <ccts:AssociatedObjectClass>Transport Handling Unit</ccts:AssociatedObjectClass>
 
314
            </ccts:Component>
 
315
          </xsd:documentation>
 
316
        </xsd:annotation>
 
317
      </xsd:element>
 
318
      <xsd:element ref="cac:ReceiptLine" minOccurs="1" maxOccurs="unbounded">
 
319
        <xsd:annotation>
 
320
          <xsd:documentation>
 
321
            <ccts:Component>
 
322
              <ccts:ComponentType>ASBIE</ccts:ComponentType>
 
323
              <ccts:DictionaryEntryName>Receipt Advice. Receipt Line</ccts:DictionaryEntryName>
 
324
              <ccts:Definition>receipt &apos;line(s)&apos;, annotated to show which transport handling units (THU) each line is within. If THUs are not used, there is just a series of receipt &apos;lines&apos; with no THU annotation.</ccts:Definition>
 
325
              <ccts:Cardinality>1..n</ccts:Cardinality>
 
326
              <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
 
327
              <ccts:PropertyTerm>Receipt Line</ccts:PropertyTerm>
 
328
              <ccts:AssociatedObjectClass>Receipt Line</ccts:AssociatedObjectClass>
 
329
            </ccts:Component>
 
330
          </xsd:documentation>
 
331
        </xsd:annotation>
 
332
      </xsd:element>
 
333
    </xsd:sequence>
 
334
  </xsd:complexType>
 
335
  <xsd:element name="DespatchDocumentReference" type="cac:DocumentReferenceType"/>
 
336
  <xsd:element name="FreightForwarderParty" type="cac:PartyType"/>
 
337
  <xsd:element name="ReceivedTransportHandlingUnit" type="cac:TransportHandlingUnitType"/>
 
338
</xsd:schema>