ubl 0.0.4 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +16 -5
  3. data/lib/ubl/builder.rb +2 -5
  4. data/lib/ubl/constants.rb +6 -0
  5. data/lib/ubl/validate.rb +78 -0
  6. data/lib/ubl/version.rb +1 -1
  7. data/lib/ubl.rb +31 -2
  8. data/xsd/common/CCTS_CCT_SchemaModule-2.1.xsd +731 -0
  9. data/xsd/common/UBL-CommonAggregateComponents-2.1.xsd +39799 -0
  10. data/xsd/common/UBL-CommonBasicComponents-2.1.xsd +5389 -0
  11. data/xsd/common/UBL-CommonExtensionComponents-2.1.xsd +223 -0
  12. data/xsd/common/UBL-CommonSignatureComponents-2.1.xsd +101 -0
  13. data/xsd/common/UBL-CoreComponentParameters-2.1.xsd +63 -0
  14. data/xsd/common/UBL-ExtensionContentDataType-2.1.xsd +89 -0
  15. data/xsd/common/UBL-QualifiedDataTypes-2.1.xsd +69 -0
  16. data/xsd/common/UBL-SignatureAggregateComponents-2.1.xsd +138 -0
  17. data/xsd/common/UBL-SignatureBasicComponents-2.1.xsd +78 -0
  18. data/xsd/common/UBL-UnqualifiedDataTypes-2.1.xsd +553 -0
  19. data/xsd/common/UBL-XAdESv132-2.1.xsd +476 -0
  20. data/xsd/common/UBL-XAdESv141-2.1.xsd +25 -0
  21. data/xsd/common/UBL-xmldsig-core-schema-2.1.xsd +330 -0
  22. data/xsd/maindoc/UBL-ApplicationResponse-2.1.xsd +362 -0
  23. data/xsd/maindoc/UBL-AttachedDocument-2.1.xsd +416 -0
  24. data/xsd/maindoc/UBL-AwardedNotification-2.1.xsd +418 -0
  25. data/xsd/maindoc/UBL-BillOfLading-2.1.xsd +540 -0
  26. data/xsd/maindoc/UBL-CallForTenders-2.1.xsd +513 -0
  27. data/xsd/maindoc/UBL-Catalogue-2.1.xsd +565 -0
  28. data/xsd/maindoc/UBL-CatalogueDeletion-2.1.xsd +465 -0
  29. data/xsd/maindoc/UBL-CatalogueItemSpecificationUpdate-2.1.xsd +533 -0
  30. data/xsd/maindoc/UBL-CataloguePricingUpdate-2.1.xsd +532 -0
  31. data/xsd/maindoc/UBL-CatalogueRequest-2.1.xsd +571 -0
  32. data/xsd/maindoc/UBL-CertificateOfOrigin-2.1.xsd +417 -0
  33. data/xsd/maindoc/UBL-ContractAwardNotice-2.1.xsd +493 -0
  34. data/xsd/maindoc/UBL-ContractNotice-2.1.xsd +459 -0
  35. data/xsd/maindoc/UBL-CreditNote-2.1.xsd +951 -0
  36. data/xsd/maindoc/UBL-DebitNote-2.1.xsd +916 -0
  37. data/xsd/maindoc/UBL-DespatchAdvice-2.1.xsd +482 -0
  38. data/xsd/maindoc/UBL-DocumentStatus-2.1.xsd +350 -0
  39. data/xsd/maindoc/UBL-DocumentStatusRequest-2.1.xsd +348 -0
  40. data/xsd/maindoc/UBL-ExceptionCriteria-2.1.xsd +417 -0
  41. data/xsd/maindoc/UBL-ExceptionNotification-2.1.xsd +403 -0
  42. data/xsd/maindoc/UBL-Forecast-2.1.xsd +454 -0
  43. data/xsd/maindoc/UBL-ForecastRevision-2.1.xsd +453 -0
  44. data/xsd/maindoc/UBL-ForwardingInstructions-2.1.xsd +517 -0
  45. data/xsd/maindoc/UBL-FreightInvoice-2.1.xsd +867 -0
  46. data/xsd/maindoc/UBL-FulfilmentCancellation-2.1.xsd +471 -0
  47. data/xsd/maindoc/UBL-GoodsItemItinerary-2.1.xsd +431 -0
  48. data/xsd/maindoc/UBL-GuaranteeCertificate-2.1.xsd +481 -0
  49. data/xsd/maindoc/UBL-InstructionForReturns-2.1.xsd +383 -0
  50. data/xsd/maindoc/UBL-InventoryReport-2.1.xsd +401 -0
  51. data/xsd/maindoc/UBL-Invoice-2.1.xsd +1002 -0
  52. data/xsd/maindoc/UBL-ItemInformationRequest-2.1.xsd +402 -0
  53. data/xsd/maindoc/UBL-Order-2.1.xsd +891 -0
  54. data/xsd/maindoc/UBL-OrderCancellation-2.1.xsd +416 -0
  55. data/xsd/maindoc/UBL-OrderChange-2.1.xsd +869 -0
  56. data/xsd/maindoc/UBL-OrderResponse-2.1.xsd +956 -0
  57. data/xsd/maindoc/UBL-OrderResponseSimple-2.1.xsd +486 -0
  58. data/xsd/maindoc/UBL-PackingList-2.1.xsd +432 -0
  59. data/xsd/maindoc/UBL-PriorInformationNotice-2.1.xsd +441 -0
  60. data/xsd/maindoc/UBL-ProductActivity-2.1.xsd +387 -0
  61. data/xsd/maindoc/UBL-Quotation-2.1.xsd +583 -0
  62. data/xsd/maindoc/UBL-ReceiptAdvice-2.1.xsd +485 -0
  63. data/xsd/maindoc/UBL-Reminder-2.1.xsd +759 -0
  64. data/xsd/maindoc/UBL-RemittanceAdvice-2.1.xsd +567 -0
  65. data/xsd/maindoc/UBL-RequestForQuotation-2.1.xsd +519 -0
  66. data/xsd/maindoc/UBL-RetailEvent-2.1.xsd +515 -0
  67. data/xsd/maindoc/UBL-SelfBilledCreditNote-2.1.xsd +918 -0
  68. data/xsd/maindoc/UBL-SelfBilledInvoice-2.1.xsd +933 -0
  69. data/xsd/maindoc/UBL-Statement-2.1.xsd +600 -0
  70. data/xsd/maindoc/UBL-StockAvailabilityReport-2.1.xsd +403 -0
  71. data/xsd/maindoc/UBL-Tender-2.1.xsd +464 -0
  72. data/xsd/maindoc/UBL-TenderReceipt-2.1.xsd +398 -0
  73. data/xsd/maindoc/UBL-TendererQualification-2.1.xsd +401 -0
  74. data/xsd/maindoc/UBL-TendererQualificationResponse-2.1.xsd +399 -0
  75. data/xsd/maindoc/UBL-TradeItemLocationProfile-2.1.xsd +415 -0
  76. data/xsd/maindoc/UBL-TransportExecutionPlan-2.1.xsd +769 -0
  77. data/xsd/maindoc/UBL-TransportExecutionPlanRequest-2.1.xsd +696 -0
  78. data/xsd/maindoc/UBL-TransportProgressStatus-2.1.xsd +396 -0
  79. data/xsd/maindoc/UBL-TransportProgressStatusRequest-2.1.xsd +345 -0
  80. data/xsd/maindoc/UBL-TransportServiceDescription-2.1.xsd +430 -0
  81. data/xsd/maindoc/UBL-TransportServiceDescriptionRequest-2.1.xsd +363 -0
  82. data/xsd/maindoc/UBL-TransportationStatus-2.1.xsd +566 -0
  83. data/xsd/maindoc/UBL-TransportationStatusRequest-2.1.xsd +484 -0
  84. data/xsd/maindoc/UBL-UnawardedNotification-2.1.xsd +415 -0
  85. data/xsd/maindoc/UBL-UtilityStatement-2.1.xsd +490 -0
  86. data/xsd/maindoc/UBL-Waybill-2.1.xsd +501 -0
  87. metadata +99 -3
@@ -0,0 +1,485 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Library: OASIS Universal Business Language (UBL) 2.1 OS
4
+ http://docs.oasis-open.org/ubl/os-UBL-2.1/
5
+ Release Date: 04 November 2013
6
+ Module: xsd/maindoc/UBL-ReceiptAdvice-2.1.xsd
7
+ Generated on: 2013-10-31 17:17z
8
+ Copyright (c) OASIS Open 2013. All Rights Reserved.
9
+ -->
10
+ <xsd:schema xmlns="urn:oasis:names:specification:ubl:schema:xsd:ReceiptAdvice-2"
11
+ xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
12
+ xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
13
+ xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
14
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
15
+ xmlns:ccts="urn:un:unece:uncefact:documentation:2"
16
+ targetNamespace="urn:oasis:names:specification:ubl:schema:xsd:ReceiptAdvice-2"
17
+ elementFormDefault="qualified"
18
+ attributeFormDefault="unqualified"
19
+ version="2.1">
20
+ <!-- ===== Imports ===== -->
21
+ <xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
22
+ schemaLocation="../common/UBL-CommonAggregateComponents-2.1.xsd"/>
23
+ <xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
24
+ schemaLocation="../common/UBL-CommonBasicComponents-2.1.xsd"/>
25
+ <xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
26
+ schemaLocation="../common/UBL-CommonExtensionComponents-2.1.xsd"/>
27
+ <!-- ===== Element Declarations ===== -->
28
+ <xsd:element name="ReceiptAdvice" type="ReceiptAdviceType">
29
+ <xsd:annotation>
30
+ <xsd:documentation>This element MUST be conveyed as the root element in any instance document based on this Schema expression</xsd:documentation>
31
+ </xsd:annotation>
32
+ </xsd:element>
33
+ <!-- ===== Type Definitions ===== -->
34
+ <!-- ===== Aggregate Business Information Entity Type Definitions ===== -->
35
+ <xsd:complexType name="ReceiptAdviceType">
36
+ <xsd:annotation>
37
+ <xsd:documentation>
38
+ <ccts:Component>
39
+ <ccts:ComponentType>ABIE</ccts:ComponentType>
40
+ <ccts:DictionaryEntryName>Receipt Advice. Details</ccts:DictionaryEntryName>
41
+ <ccts:Definition>A document used to describe the receipt of goods and services.</ccts:Definition>
42
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
43
+ <ccts:AlternativeBusinessTerms>Receipt, Delivery Acknowledgement</ccts:AlternativeBusinessTerms>
44
+ </ccts:Component>
45
+ </xsd:documentation>
46
+ </xsd:annotation>
47
+ <xsd:sequence>
48
+ <xsd:element ref="ext:UBLExtensions" minOccurs="0" maxOccurs="1">
49
+ <xsd:annotation>
50
+ <xsd:documentation>A container for all extensions present in the document.</xsd:documentation>
51
+ </xsd:annotation>
52
+ </xsd:element>
53
+ <xsd:element ref="cbc:UBLVersionID" minOccurs="0" maxOccurs="1">
54
+ <xsd:annotation>
55
+ <xsd:documentation>
56
+ <ccts:Component>
57
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
58
+ <ccts:DictionaryEntryName>Receipt Advice. UBL Version Identifier. Identifier</ccts:DictionaryEntryName>
59
+ <ccts:Definition>Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance.</ccts:Definition>
60
+ <ccts:Cardinality>0..1</ccts:Cardinality>
61
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
62
+ <ccts:PropertyTerm>UBL Version Identifier</ccts:PropertyTerm>
63
+ <ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
64
+ <ccts:DataType>Identifier. Type</ccts:DataType>
65
+ <ccts:Examples>2.0.5</ccts:Examples>
66
+ </ccts:Component>
67
+ </xsd:documentation>
68
+ </xsd:annotation>
69
+ </xsd:element>
70
+ <xsd:element ref="cbc:CustomizationID" minOccurs="0" maxOccurs="1">
71
+ <xsd:annotation>
72
+ <xsd:documentation>
73
+ <ccts:Component>
74
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
75
+ <ccts:DictionaryEntryName>Receipt Advice. Customization Identifier. Identifier</ccts:DictionaryEntryName>
76
+ <ccts:Definition>Identifies a user-defined customization of UBL for a specific use.</ccts:Definition>
77
+ <ccts:Cardinality>0..1</ccts:Cardinality>
78
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
79
+ <ccts:PropertyTerm>Customization Identifier</ccts:PropertyTerm>
80
+ <ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
81
+ <ccts:DataType>Identifier. Type</ccts:DataType>
82
+ <ccts:Examples>NES</ccts:Examples>
83
+ </ccts:Component>
84
+ </xsd:documentation>
85
+ </xsd:annotation>
86
+ </xsd:element>
87
+ <xsd:element ref="cbc:ProfileID" minOccurs="0" maxOccurs="1">
88
+ <xsd:annotation>
89
+ <xsd:documentation>
90
+ <ccts:Component>
91
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
92
+ <ccts:DictionaryEntryName>Receipt Advice. Profile Identifier. Identifier</ccts:DictionaryEntryName>
93
+ <ccts:Definition>Identifies a user-defined profile of the subset of UBL being used.</ccts:Definition>
94
+ <ccts:Cardinality>0..1</ccts:Cardinality>
95
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
96
+ <ccts:PropertyTerm>Profile Identifier</ccts:PropertyTerm>
97
+ <ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
98
+ <ccts:DataType>Identifier. Type</ccts:DataType>
99
+ <ccts:Examples>BasicProcurementProcess</ccts:Examples>
100
+ </ccts:Component>
101
+ </xsd:documentation>
102
+ </xsd:annotation>
103
+ </xsd:element>
104
+ <xsd:element ref="cbc:ProfileExecutionID" minOccurs="0" maxOccurs="1">
105
+ <xsd:annotation>
106
+ <xsd:documentation>
107
+ <ccts:Component>
108
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
109
+ <ccts:DictionaryEntryName>Receipt Advice. Profile Execution Identifier. Identifier</ccts:DictionaryEntryName>
110
+ <ccts:Definition>Identifies an instance of executing a profile, to associate all transactions in a collaboration.</ccts:Definition>
111
+ <ccts:Cardinality>0..1</ccts:Cardinality>
112
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
113
+ <ccts:PropertyTerm>Profile Execution Identifier</ccts:PropertyTerm>
114
+ <ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
115
+ <ccts:DataType>Identifier. Type</ccts:DataType>
116
+ </ccts:Component>
117
+ </xsd:documentation>
118
+ </xsd:annotation>
119
+ </xsd:element>
120
+ <xsd:element ref="cbc:ID" minOccurs="1" maxOccurs="1">
121
+ <xsd:annotation>
122
+ <xsd:documentation>
123
+ <ccts:Component>
124
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
125
+ <ccts:DictionaryEntryName>Receipt Advice. Identifier</ccts:DictionaryEntryName>
126
+ <ccts:Definition>An identifier for this document, assigned by the sender.</ccts:Definition>
127
+ <ccts:Cardinality>1</ccts:Cardinality>
128
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
129
+ <ccts:PropertyTerm>Identifier</ccts:PropertyTerm>
130
+ <ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
131
+ <ccts:DataType>Identifier. Type</ccts:DataType>
132
+ </ccts:Component>
133
+ </xsd:documentation>
134
+ </xsd:annotation>
135
+ </xsd:element>
136
+ <xsd:element ref="cbc:CopyIndicator" minOccurs="0" maxOccurs="1">
137
+ <xsd:annotation>
138
+ <xsd:documentation>
139
+ <ccts:Component>
140
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
141
+ <ccts:DictionaryEntryName>Receipt Advice. Copy_ Indicator. Indicator</ccts:DictionaryEntryName>
142
+ <ccts:Definition>Indicates whether this document is a copy (true) or not (false).</ccts:Definition>
143
+ <ccts:Cardinality>0..1</ccts:Cardinality>
144
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
145
+ <ccts:PropertyTermQualifier>Copy</ccts:PropertyTermQualifier>
146
+ <ccts:PropertyTerm>Indicator</ccts:PropertyTerm>
147
+ <ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm>
148
+ <ccts:DataType>Indicator. Type</ccts:DataType>
149
+ </ccts:Component>
150
+ </xsd:documentation>
151
+ </xsd:annotation>
152
+ </xsd:element>
153
+ <xsd:element ref="cbc:UUID" minOccurs="0" maxOccurs="1">
154
+ <xsd:annotation>
155
+ <xsd:documentation>
156
+ <ccts:Component>
157
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
158
+ <ccts:DictionaryEntryName>Receipt Advice. UUID. Identifier</ccts:DictionaryEntryName>
159
+ <ccts:Definition>A universally unique identifier for an instance of this document.</ccts:Definition>
160
+ <ccts:Cardinality>0..1</ccts:Cardinality>
161
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
162
+ <ccts:PropertyTerm>UUID</ccts:PropertyTerm>
163
+ <ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
164
+ <ccts:DataType>Identifier. Type</ccts:DataType>
165
+ </ccts:Component>
166
+ </xsd:documentation>
167
+ </xsd:annotation>
168
+ </xsd:element>
169
+ <xsd:element ref="cbc:IssueDate" minOccurs="1" maxOccurs="1">
170
+ <xsd:annotation>
171
+ <xsd:documentation>
172
+ <ccts:Component>
173
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
174
+ <ccts:DictionaryEntryName>Receipt Advice. Issue Date. Date</ccts:DictionaryEntryName>
175
+ <ccts:Definition>The date, assigned by the sender, on which this document was issued.</ccts:Definition>
176
+ <ccts:Cardinality>1</ccts:Cardinality>
177
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
178
+ <ccts:PropertyTerm>Issue Date</ccts:PropertyTerm>
179
+ <ccts:RepresentationTerm>Date</ccts:RepresentationTerm>
180
+ <ccts:DataType>Date. Type</ccts:DataType>
181
+ </ccts:Component>
182
+ </xsd:documentation>
183
+ </xsd:annotation>
184
+ </xsd:element>
185
+ <xsd:element ref="cbc:IssueTime" minOccurs="0" maxOccurs="1">
186
+ <xsd:annotation>
187
+ <xsd:documentation>
188
+ <ccts:Component>
189
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
190
+ <ccts:DictionaryEntryName>Receipt Advice. Issue Time. Time</ccts:DictionaryEntryName>
191
+ <ccts:Definition>The time, assigned by the sender, at which this document was issued.</ccts:Definition>
192
+ <ccts:Cardinality>0..1</ccts:Cardinality>
193
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
194
+ <ccts:PropertyTerm>Issue Time</ccts:PropertyTerm>
195
+ <ccts:RepresentationTerm>Time</ccts:RepresentationTerm>
196
+ <ccts:DataType>Time. Type</ccts:DataType>
197
+ </ccts:Component>
198
+ </xsd:documentation>
199
+ </xsd:annotation>
200
+ </xsd:element>
201
+ <xsd:element ref="cbc:DocumentStatusCode" minOccurs="0" maxOccurs="1">
202
+ <xsd:annotation>
203
+ <xsd:documentation>
204
+ <ccts:Component>
205
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
206
+ <ccts:DictionaryEntryName>Receipt Advice. Document Status Code. Code</ccts:DictionaryEntryName>
207
+ <ccts:Definition>A code signifying the status of the Receipt Advice with respect to its original state. This code may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancellation or revision.</ccts:Definition>
208
+ <ccts:Cardinality>0..1</ccts:Cardinality>
209
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
210
+ <ccts:PropertyTerm>Document Status Code</ccts:PropertyTerm>
211
+ <ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
212
+ <ccts:DataTypeQualifier>Document Status</ccts:DataTypeQualifier>
213
+ <ccts:DataType>Document Status_ Code. Type</ccts:DataType>
214
+ </ccts:Component>
215
+ </xsd:documentation>
216
+ </xsd:annotation>
217
+ </xsd:element>
218
+ <xsd:element ref="cbc:ReceiptAdviceTypeCode" minOccurs="0" maxOccurs="1">
219
+ <xsd:annotation>
220
+ <xsd:documentation>
221
+ <ccts:Component>
222
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
223
+ <ccts:DictionaryEntryName>Receipt Advice. Receipt Advice Type Code. Code</ccts:DictionaryEntryName>
224
+ <ccts:Definition>A code signifying the type of the Receipt Advice.</ccts:Definition>
225
+ <ccts:Cardinality>0..1</ccts:Cardinality>
226
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
227
+ <ccts:PropertyTerm>Receipt Advice Type Code</ccts:PropertyTerm>
228
+ <ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
229
+ <ccts:DataTypeQualifier>Receipt Advice Type</ccts:DataTypeQualifier>
230
+ <ccts:DataType>Receipt Advice Type_ Code. Type</ccts:DataType>
231
+ </ccts:Component>
232
+ </xsd:documentation>
233
+ </xsd:annotation>
234
+ </xsd:element>
235
+ <xsd:element ref="cbc:Note" minOccurs="0" maxOccurs="unbounded">
236
+ <xsd:annotation>
237
+ <xsd:documentation>
238
+ <ccts:Component>
239
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
240
+ <ccts:DictionaryEntryName>Receipt Advice. Note. Text</ccts:DictionaryEntryName>
241
+ <ccts:Definition>Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures.</ccts:Definition>
242
+ <ccts:Cardinality>0..n</ccts:Cardinality>
243
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
244
+ <ccts:PropertyTerm>Note</ccts:PropertyTerm>
245
+ <ccts:RepresentationTerm>Text</ccts:RepresentationTerm>
246
+ <ccts:DataType>Text. Type</ccts:DataType>
247
+ </ccts:Component>
248
+ </xsd:documentation>
249
+ </xsd:annotation>
250
+ </xsd:element>
251
+ <xsd:element ref="cbc:LineCountNumeric" minOccurs="0" maxOccurs="1">
252
+ <xsd:annotation>
253
+ <xsd:documentation>
254
+ <ccts:Component>
255
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
256
+ <ccts:DictionaryEntryName>Receipt Advice. Line Count. Numeric</ccts:DictionaryEntryName>
257
+ <ccts:Definition>The number of Receipt Lines in this document.</ccts:Definition>
258
+ <ccts:Cardinality>0..1</ccts:Cardinality>
259
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
260
+ <ccts:PropertyTerm>Line Count</ccts:PropertyTerm>
261
+ <ccts:RepresentationTerm>Numeric</ccts:RepresentationTerm>
262
+ <ccts:DataType>Numeric. Type</ccts:DataType>
263
+ </ccts:Component>
264
+ </xsd:documentation>
265
+ </xsd:annotation>
266
+ </xsd:element>
267
+ <xsd:element ref="cac:OrderReference" minOccurs="0" maxOccurs="unbounded">
268
+ <xsd:annotation>
269
+ <xsd:documentation>
270
+ <ccts:Component>
271
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
272
+ <ccts:DictionaryEntryName>Receipt Advice. Order Reference</ccts:DictionaryEntryName>
273
+ <ccts:Definition>A reference to an Order associated with this Receipt Advice.</ccts:Definition>
274
+ <ccts:Cardinality>0..n</ccts:Cardinality>
275
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
276
+ <ccts:PropertyTerm>Order Reference</ccts:PropertyTerm>
277
+ <ccts:AssociatedObjectClass>Order Reference</ccts:AssociatedObjectClass>
278
+ <ccts:RepresentationTerm>Order Reference</ccts:RepresentationTerm>
279
+ </ccts:Component>
280
+ </xsd:documentation>
281
+ </xsd:annotation>
282
+ </xsd:element>
283
+ <xsd:element ref="cac:DespatchDocumentReference"
284
+ minOccurs="0"
285
+ maxOccurs="unbounded">
286
+ <xsd:annotation>
287
+ <xsd:documentation>
288
+ <ccts:Component>
289
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
290
+ <ccts:DictionaryEntryName>Receipt Advice. Despatch_ Document Reference. Document Reference</ccts:DictionaryEntryName>
291
+ <ccts:Definition>A reference to a Despatch Advice associated with this document.</ccts:Definition>
292
+ <ccts:Cardinality>0..n</ccts:Cardinality>
293
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
294
+ <ccts:PropertyTermQualifier>Despatch</ccts:PropertyTermQualifier>
295
+ <ccts:PropertyTerm>Document Reference</ccts:PropertyTerm>
296
+ <ccts:AssociatedObjectClass>Document Reference</ccts:AssociatedObjectClass>
297
+ <ccts:RepresentationTerm>Document Reference</ccts:RepresentationTerm>
298
+ </ccts:Component>
299
+ </xsd:documentation>
300
+ </xsd:annotation>
301
+ </xsd:element>
302
+ <xsd:element ref="cac:AdditionalDocumentReference"
303
+ minOccurs="0"
304
+ maxOccurs="unbounded">
305
+ <xsd:annotation>
306
+ <xsd:documentation>
307
+ <ccts:Component>
308
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
309
+ <ccts:DictionaryEntryName>Receipt Advice. Additional_ Document Reference. Document Reference</ccts:DictionaryEntryName>
310
+ <ccts:Definition>A reference to an additional document associated with this document.</ccts:Definition>
311
+ <ccts:Cardinality>0..n</ccts:Cardinality>
312
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
313
+ <ccts:PropertyTermQualifier>Additional</ccts:PropertyTermQualifier>
314
+ <ccts:PropertyTerm>Document Reference</ccts:PropertyTerm>
315
+ <ccts:AssociatedObjectClass>Document Reference</ccts:AssociatedObjectClass>
316
+ <ccts:RepresentationTerm>Document Reference</ccts:RepresentationTerm>
317
+ </ccts:Component>
318
+ </xsd:documentation>
319
+ </xsd:annotation>
320
+ </xsd:element>
321
+ <xsd:element ref="cac:Signature" minOccurs="0" maxOccurs="unbounded">
322
+ <xsd:annotation>
323
+ <xsd:documentation>
324
+ <ccts:Component>
325
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
326
+ <ccts:DictionaryEntryName>Receipt Advice. Signature</ccts:DictionaryEntryName>
327
+ <ccts:Definition>A signature applied to this document.</ccts:Definition>
328
+ <ccts:Cardinality>0..n</ccts:Cardinality>
329
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
330
+ <ccts:PropertyTerm>Signature</ccts:PropertyTerm>
331
+ <ccts:AssociatedObjectClass>Signature</ccts:AssociatedObjectClass>
332
+ <ccts:RepresentationTerm>Signature</ccts:RepresentationTerm>
333
+ </ccts:Component>
334
+ </xsd:documentation>
335
+ </xsd:annotation>
336
+ </xsd:element>
337
+ <xsd:element ref="cac:DeliveryCustomerParty" minOccurs="1" maxOccurs="1">
338
+ <xsd:annotation>
339
+ <xsd:documentation>
340
+ <ccts:Component>
341
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
342
+ <ccts:DictionaryEntryName>Receipt Advice. Delivery_ Customer Party. Customer Party</ccts:DictionaryEntryName>
343
+ <ccts:Definition>The customer party.</ccts:Definition>
344
+ <ccts:Cardinality>1</ccts:Cardinality>
345
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
346
+ <ccts:PropertyTermQualifier>Delivery</ccts:PropertyTermQualifier>
347
+ <ccts:PropertyTerm>Customer Party</ccts:PropertyTerm>
348
+ <ccts:AssociatedObjectClass>Customer Party</ccts:AssociatedObjectClass>
349
+ <ccts:RepresentationTerm>Customer Party</ccts:RepresentationTerm>
350
+ </ccts:Component>
351
+ </xsd:documentation>
352
+ </xsd:annotation>
353
+ </xsd:element>
354
+ <xsd:element ref="cac:DespatchSupplierParty" minOccurs="1" maxOccurs="1">
355
+ <xsd:annotation>
356
+ <xsd:documentation>
357
+ <ccts:Component>
358
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
359
+ <ccts:DictionaryEntryName>Receipt Advice. Despatch_ Supplier Party. Supplier Party</ccts:DictionaryEntryName>
360
+ <ccts:Definition>The supplier party.</ccts:Definition>
361
+ <ccts:Cardinality>1</ccts:Cardinality>
362
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
363
+ <ccts:PropertyTermQualifier>Despatch</ccts:PropertyTermQualifier>
364
+ <ccts:PropertyTerm>Supplier Party</ccts:PropertyTerm>
365
+ <ccts:AssociatedObjectClass>Supplier Party</ccts:AssociatedObjectClass>
366
+ <ccts:RepresentationTerm>Supplier Party</ccts:RepresentationTerm>
367
+ </ccts:Component>
368
+ </xsd:documentation>
369
+ </xsd:annotation>
370
+ </xsd:element>
371
+ <xsd:element ref="cac:BuyerCustomerParty" minOccurs="0" maxOccurs="1">
372
+ <xsd:annotation>
373
+ <xsd:documentation>
374
+ <ccts:Component>
375
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
376
+ <ccts:DictionaryEntryName>Receipt Advice. Buyer_ Customer Party. Customer Party</ccts:DictionaryEntryName>
377
+ <ccts:Definition>The buyer.</ccts:Definition>
378
+ <ccts:Cardinality>0..1</ccts:Cardinality>
379
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
380
+ <ccts:PropertyTermQualifier>Buyer</ccts:PropertyTermQualifier>
381
+ <ccts:PropertyTerm>Customer Party</ccts:PropertyTerm>
382
+ <ccts:AssociatedObjectClass>Customer Party</ccts:AssociatedObjectClass>
383
+ <ccts:RepresentationTerm>Customer Party</ccts:RepresentationTerm>
384
+ </ccts:Component>
385
+ </xsd:documentation>
386
+ </xsd:annotation>
387
+ </xsd:element>
388
+ <xsd:element ref="cac:SellerSupplierParty" minOccurs="0" maxOccurs="1">
389
+ <xsd:annotation>
390
+ <xsd:documentation>
391
+ <ccts:Component>
392
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
393
+ <ccts:DictionaryEntryName>Receipt Advice. Seller_ Supplier Party. Supplier Party</ccts:DictionaryEntryName>
394
+ <ccts:Definition>The seller.</ccts:Definition>
395
+ <ccts:Cardinality>0..1</ccts:Cardinality>
396
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
397
+ <ccts:PropertyTermQualifier>Seller</ccts:PropertyTermQualifier>
398
+ <ccts:PropertyTerm>Supplier Party</ccts:PropertyTerm>
399
+ <ccts:AssociatedObjectClass>Supplier Party</ccts:AssociatedObjectClass>
400
+ <ccts:RepresentationTerm>Supplier Party</ccts:RepresentationTerm>
401
+ </ccts:Component>
402
+ </xsd:documentation>
403
+ </xsd:annotation>
404
+ </xsd:element>
405
+ <xsd:element ref="cac:Shipment" minOccurs="0" maxOccurs="1">
406
+ <xsd:annotation>
407
+ <xsd:documentation>
408
+ <ccts:Component>
409
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
410
+ <ccts:DictionaryEntryName>Receipt Advice. Shipment</ccts:DictionaryEntryName>
411
+ <ccts:Definition>Details about the Shipment.</ccts:Definition>
412
+ <ccts:Cardinality>0..1</ccts:Cardinality>
413
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
414
+ <ccts:PropertyTerm>Shipment</ccts:PropertyTerm>
415
+ <ccts:AssociatedObjectClass>Shipment</ccts:AssociatedObjectClass>
416
+ <ccts:RepresentationTerm>Shipment</ccts:RepresentationTerm>
417
+ </ccts:Component>
418
+ </xsd:documentation>
419
+ </xsd:annotation>
420
+ </xsd:element>
421
+ <xsd:element ref="cac:ReceiptLine" minOccurs="1" maxOccurs="unbounded">
422
+ <xsd:annotation>
423
+ <xsd:documentation>
424
+ <ccts:Component>
425
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
426
+ <ccts:DictionaryEntryName>Receipt Advice. Receipt Line</ccts:DictionaryEntryName>
427
+ <ccts:Definition>A line detailing a kind of item received.</ccts:Definition>
428
+ <ccts:Cardinality>1..n</ccts:Cardinality>
429
+ <ccts:ObjectClass>Receipt Advice</ccts:ObjectClass>
430
+ <ccts:PropertyTerm>Receipt Line</ccts:PropertyTerm>
431
+ <ccts:AssociatedObjectClass>Receipt Line</ccts:AssociatedObjectClass>
432
+ <ccts:RepresentationTerm>Receipt Line</ccts:RepresentationTerm>
433
+ </ccts:Component>
434
+ </xsd:documentation>
435
+ </xsd:annotation>
436
+ </xsd:element>
437
+ </xsd:sequence>
438
+ </xsd:complexType>
439
+ </xsd:schema>
440
+ <!-- ===== Copyright Notice ===== --><!--
441
+ OASIS takes no position regarding the validity or scope of any
442
+ intellectual property or other rights that might be claimed to pertain
443
+ to the implementation or use of the technology described in this
444
+ document or the extent to which any license under such rights
445
+ might or might not be available; neither does it represent that it has
446
+ made any effort to identify any such rights. Information on OASIS's
447
+ procedures with respect to rights in OASIS specifications can be
448
+ found at the OASIS website. Copies of claims of rights made
449
+ available for publication and any assurances of licenses to be made
450
+ available, or the result of an attempt made to obtain a general
451
+ license or permission for the use of such proprietary rights by
452
+ implementors or users of this specification, can be obtained from
453
+ the OASIS Executive Director.
454
+
455
+ OASIS invites any interested party to bring to its attention any
456
+ copyrights, patents or patent applications, or other proprietary
457
+ rights which may cover technology that may be required to
458
+ implement this specification. Please address the information to the
459
+ OASIS Executive Director.
460
+
461
+ This document and translations of it may be copied and furnished to
462
+ others, and derivative works that comment on or otherwise explain
463
+ it or assist in its implementation may be prepared, copied,
464
+ published and distributed, in whole or in part, without restriction of
465
+ any kind, provided that the above copyright notice and this
466
+ paragraph are included on all such copies and derivative works.
467
+ However, this document itself may not be modified in any way,
468
+ such as by removing the copyright notice or references to OASIS,
469
+ except as needed for the purpose of developing OASIS
470
+ specifications, in which case the procedures for copyrights defined
471
+ in the OASIS Intellectual Property Rights document must be
472
+ followed, or as required to translate it into languages other than
473
+ English.
474
+
475
+ The limited permissions granted above are perpetual and will not be
476
+ revoked by OASIS or its successors or assigns.
477
+
478
+ This document and the information contained herein is provided on
479
+ an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES,
480
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY
481
+ WARRANTY THAT THE USE OF THE INFORMATION HEREIN
482
+ WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
483
+ WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
484
+ PARTICULAR PURPOSE.
485
+ -->