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,403 @@
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-StockAvailabilityReport-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:StockAvailabilityReport-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:StockAvailabilityReport-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="StockAvailabilityReport" type="StockAvailabilityReportType">
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="StockAvailabilityReportType">
36
+ <xsd:annotation>
37
+ <xsd:documentation>
38
+ <ccts:Component>
39
+ <ccts:ComponentType>ABIE</ccts:ComponentType>
40
+ <ccts:DictionaryEntryName>Stock Availability Report. Details</ccts:DictionaryEntryName>
41
+ <ccts:Definition>A report on the quantities of each item that are, or will be, in stock. This document is sent by a Seller (for example a producer) to a Buyer (for example a retailer).</ccts:Definition>
42
+ <ccts:ObjectClass>Stock Availability Report</ccts:ObjectClass>
43
+ <ccts:AlternativeBusinessTerms>Storage status report.</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>Stock Availability Report. 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>Stock Availability Report</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>Stock Availability Report. 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>Stock Availability Report</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>Stock Availability Report. Profile Identifier. Identifier</ccts:DictionaryEntryName>
93
+ <ccts:Definition>Identifies a user-defined profile of the customization of UBL being used.</ccts:Definition>
94
+ <ccts:Cardinality>0..1</ccts:Cardinality>
95
+ <ccts:ObjectClass>Stock Availability Report</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>Stock Availability Report. 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>Stock Availability Report</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:Examples>BPP-1001</ccts:Examples>
117
+ </ccts:Component>
118
+ </xsd:documentation>
119
+ </xsd:annotation>
120
+ </xsd:element>
121
+ <xsd:element ref="cbc:ID" minOccurs="1" maxOccurs="1">
122
+ <xsd:annotation>
123
+ <xsd:documentation>
124
+ <ccts:Component>
125
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
126
+ <ccts:DictionaryEntryName>Stock Availability Report. Identifier</ccts:DictionaryEntryName>
127
+ <ccts:Definition>An identifier for this document, assigned by the sender.</ccts:Definition>
128
+ <ccts:Cardinality>1</ccts:Cardinality>
129
+ <ccts:ObjectClass>Stock Availability Report</ccts:ObjectClass>
130
+ <ccts:PropertyTerm>Identifier</ccts:PropertyTerm>
131
+ <ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
132
+ <ccts:DataType>Identifier. Type</ccts:DataType>
133
+ <ccts:AlternativeBusinessTerms>Document Number, Inventory Report Number</ccts:AlternativeBusinessTerms>
134
+ </ccts:Component>
135
+ </xsd:documentation>
136
+ </xsd:annotation>
137
+ </xsd:element>
138
+ <xsd:element ref="cbc:CopyIndicator" minOccurs="0" maxOccurs="1">
139
+ <xsd:annotation>
140
+ <xsd:documentation>
141
+ <ccts:Component>
142
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
143
+ <ccts:DictionaryEntryName>Stock Availability Report. Copy_ Indicator. Indicator</ccts:DictionaryEntryName>
144
+ <ccts:Definition>Indicates whether this document is a copy (true) or not (false).</ccts:Definition>
145
+ <ccts:Cardinality>0..1</ccts:Cardinality>
146
+ <ccts:ObjectClass>Stock Availability Report</ccts:ObjectClass>
147
+ <ccts:PropertyTermQualifier>Copy</ccts:PropertyTermQualifier>
148
+ <ccts:PropertyTerm>Indicator</ccts:PropertyTerm>
149
+ <ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm>
150
+ <ccts:DataType>Indicator. Type</ccts:DataType>
151
+ </ccts:Component>
152
+ </xsd:documentation>
153
+ </xsd:annotation>
154
+ </xsd:element>
155
+ <xsd:element ref="cbc:UUID" minOccurs="0" maxOccurs="1">
156
+ <xsd:annotation>
157
+ <xsd:documentation>
158
+ <ccts:Component>
159
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
160
+ <ccts:DictionaryEntryName>Stock Availability Report. UUID. Identifier</ccts:DictionaryEntryName>
161
+ <ccts:Definition>A universally unique identifier for an instance of this document.</ccts:Definition>
162
+ <ccts:Cardinality>0..1</ccts:Cardinality>
163
+ <ccts:ObjectClass>Stock Availability Report</ccts:ObjectClass>
164
+ <ccts:PropertyTerm>UUID</ccts:PropertyTerm>
165
+ <ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
166
+ <ccts:DataType>Identifier. Type</ccts:DataType>
167
+ </ccts:Component>
168
+ </xsd:documentation>
169
+ </xsd:annotation>
170
+ </xsd:element>
171
+ <xsd:element ref="cbc:IssueDate" minOccurs="1" maxOccurs="1">
172
+ <xsd:annotation>
173
+ <xsd:documentation>
174
+ <ccts:Component>
175
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
176
+ <ccts:DictionaryEntryName>Stock Availability Report. Issue Date. Date</ccts:DictionaryEntryName>
177
+ <ccts:Definition>The date, assigned by the sender, on which this document was issued.</ccts:Definition>
178
+ <ccts:Cardinality>1</ccts:Cardinality>
179
+ <ccts:ObjectClass>Stock Availability Report</ccts:ObjectClass>
180
+ <ccts:PropertyTerm>Issue Date</ccts:PropertyTerm>
181
+ <ccts:RepresentationTerm>Date</ccts:RepresentationTerm>
182
+ <ccts:DataType>Date. Type</ccts:DataType>
183
+ </ccts:Component>
184
+ </xsd:documentation>
185
+ </xsd:annotation>
186
+ </xsd:element>
187
+ <xsd:element ref="cbc:IssueTime" minOccurs="0" maxOccurs="1">
188
+ <xsd:annotation>
189
+ <xsd:documentation>
190
+ <ccts:Component>
191
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
192
+ <ccts:DictionaryEntryName>Stock Availability Report. Issue Time. Time</ccts:DictionaryEntryName>
193
+ <ccts:Definition>The time, assigned by the sender, at which this document was issued.</ccts:Definition>
194
+ <ccts:Cardinality>0..1</ccts:Cardinality>
195
+ <ccts:ObjectClass>Stock Availability Report</ccts:ObjectClass>
196
+ <ccts:PropertyTerm>Issue Time</ccts:PropertyTerm>
197
+ <ccts:RepresentationTerm>Time</ccts:RepresentationTerm>
198
+ <ccts:DataType>Time. Type</ccts:DataType>
199
+ </ccts:Component>
200
+ </xsd:documentation>
201
+ </xsd:annotation>
202
+ </xsd:element>
203
+ <xsd:element ref="cbc:Note" minOccurs="0" maxOccurs="unbounded">
204
+ <xsd:annotation>
205
+ <xsd:documentation>
206
+ <ccts:Component>
207
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
208
+ <ccts:DictionaryEntryName>Stock Availability Report. Note. Text</ccts:DictionaryEntryName>
209
+ <ccts:Definition>Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures.</ccts:Definition>
210
+ <ccts:Cardinality>0..n</ccts:Cardinality>
211
+ <ccts:ObjectClass>Stock Availability Report</ccts:ObjectClass>
212
+ <ccts:PropertyTerm>Note</ccts:PropertyTerm>
213
+ <ccts:RepresentationTerm>Text</ccts:RepresentationTerm>
214
+ <ccts:DataType>Text. Type</ccts:DataType>
215
+ </ccts:Component>
216
+ </xsd:documentation>
217
+ </xsd:annotation>
218
+ </xsd:element>
219
+ <xsd:element ref="cbc:DocumentCurrencyCode" minOccurs="0" maxOccurs="1">
220
+ <xsd:annotation>
221
+ <xsd:documentation>
222
+ <ccts:Component>
223
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
224
+ <ccts:DictionaryEntryName>Stock Availability Report. Document_ Currency Code. Code</ccts:DictionaryEntryName>
225
+ <ccts:Definition>A code signifying the default currency for this document.</ccts:Definition>
226
+ <ccts:Cardinality>0..1</ccts:Cardinality>
227
+ <ccts:ObjectClass>Stock Availability Report</ccts:ObjectClass>
228
+ <ccts:PropertyTermQualifier>Document</ccts:PropertyTermQualifier>
229
+ <ccts:PropertyTerm>Currency Code</ccts:PropertyTerm>
230
+ <ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
231
+ <ccts:DataTypeQualifier>Currency</ccts:DataTypeQualifier>
232
+ <ccts:DataType>Currency_ Code. Type</ccts:DataType>
233
+ </ccts:Component>
234
+ </xsd:documentation>
235
+ </xsd:annotation>
236
+ </xsd:element>
237
+ <xsd:element ref="cac:InventoryPeriod" minOccurs="0" maxOccurs="1">
238
+ <xsd:annotation>
239
+ <xsd:documentation>
240
+ <ccts:Component>
241
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
242
+ <ccts:DictionaryEntryName>Stock Availability Report. Inventory_ Period. Period</ccts:DictionaryEntryName>
243
+ <ccts:Definition>The inventory period covered by the Report.</ccts:Definition>
244
+ <ccts:Cardinality>0..1</ccts:Cardinality>
245
+ <ccts:ObjectClass>Stock Availability Report</ccts:ObjectClass>
246
+ <ccts:PropertyTermQualifier>Inventory</ccts:PropertyTermQualifier>
247
+ <ccts:PropertyTerm>Period</ccts:PropertyTerm>
248
+ <ccts:AssociatedObjectClass>Period</ccts:AssociatedObjectClass>
249
+ <ccts:RepresentationTerm>Period</ccts:RepresentationTerm>
250
+ </ccts:Component>
251
+ </xsd:documentation>
252
+ </xsd:annotation>
253
+ </xsd:element>
254
+ <xsd:element ref="cac:DocumentReference" minOccurs="0" maxOccurs="unbounded">
255
+ <xsd:annotation>
256
+ <xsd:documentation>
257
+ <ccts:Component>
258
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
259
+ <ccts:DictionaryEntryName>Stock Availability Report. Document Reference</ccts:DictionaryEntryName>
260
+ <ccts:Definition>A reference to another document associated with this document.</ccts:Definition>
261
+ <ccts:Cardinality>0..n</ccts:Cardinality>
262
+ <ccts:ObjectClass>Stock Availability Report</ccts:ObjectClass>
263
+ <ccts:PropertyTerm>Document Reference</ccts:PropertyTerm>
264
+ <ccts:AssociatedObjectClass>Document Reference</ccts:AssociatedObjectClass>
265
+ <ccts:RepresentationTerm>Document Reference</ccts:RepresentationTerm>
266
+ </ccts:Component>
267
+ </xsd:documentation>
268
+ </xsd:annotation>
269
+ </xsd:element>
270
+ <xsd:element ref="cac:Signature" minOccurs="0" maxOccurs="unbounded">
271
+ <xsd:annotation>
272
+ <xsd:documentation>
273
+ <ccts:Component>
274
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
275
+ <ccts:DictionaryEntryName>Stock Availability Report. Signature</ccts:DictionaryEntryName>
276
+ <ccts:Definition>A signature applied to this document.</ccts:Definition>
277
+ <ccts:Cardinality>0..n</ccts:Cardinality>
278
+ <ccts:ObjectClass>Stock Availability Report</ccts:ObjectClass>
279
+ <ccts:PropertyTerm>Signature</ccts:PropertyTerm>
280
+ <ccts:AssociatedObjectClass>Signature</ccts:AssociatedObjectClass>
281
+ <ccts:RepresentationTerm>Signature</ccts:RepresentationTerm>
282
+ </ccts:Component>
283
+ </xsd:documentation>
284
+ </xsd:annotation>
285
+ </xsd:element>
286
+ <xsd:element ref="cac:SellerSupplierParty" minOccurs="1" maxOccurs="1">
287
+ <xsd:annotation>
288
+ <xsd:documentation>
289
+ <ccts:Component>
290
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
291
+ <ccts:DictionaryEntryName>Stock Availability Report. Seller_ Supplier Party. Supplier Party</ccts:DictionaryEntryName>
292
+ <ccts:Definition>The seller.</ccts:Definition>
293
+ <ccts:Cardinality>1</ccts:Cardinality>
294
+ <ccts:ObjectClass>Stock Availability Report</ccts:ObjectClass>
295
+ <ccts:PropertyTermQualifier>Seller</ccts:PropertyTermQualifier>
296
+ <ccts:PropertyTerm>Supplier Party</ccts:PropertyTerm>
297
+ <ccts:AssociatedObjectClass>Supplier Party</ccts:AssociatedObjectClass>
298
+ <ccts:RepresentationTerm>Supplier Party</ccts:RepresentationTerm>
299
+ </ccts:Component>
300
+ </xsd:documentation>
301
+ </xsd:annotation>
302
+ </xsd:element>
303
+ <xsd:element ref="cac:RetailerCustomerParty" minOccurs="0" maxOccurs="1">
304
+ <xsd:annotation>
305
+ <xsd:documentation>
306
+ <ccts:Component>
307
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
308
+ <ccts:DictionaryEntryName>Stock Availability Report. Retailer_ Customer Party. Customer Party</ccts:DictionaryEntryName>
309
+ <ccts:Definition>The retailer.</ccts:Definition>
310
+ <ccts:Cardinality>0..1</ccts:Cardinality>
311
+ <ccts:ObjectClass>Stock Availability Report</ccts:ObjectClass>
312
+ <ccts:PropertyTermQualifier>Retailer</ccts:PropertyTermQualifier>
313
+ <ccts:PropertyTerm>Customer Party</ccts:PropertyTerm>
314
+ <ccts:AssociatedObjectClass>Customer Party</ccts:AssociatedObjectClass>
315
+ <ccts:RepresentationTerm>Customer Party</ccts:RepresentationTerm>
316
+ </ccts:Component>
317
+ </xsd:documentation>
318
+ </xsd:annotation>
319
+ </xsd:element>
320
+ <xsd:element ref="cac:InventoryReportingParty" minOccurs="1" maxOccurs="1">
321
+ <xsd:annotation>
322
+ <xsd:documentation>
323
+ <ccts:Component>
324
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
325
+ <ccts:DictionaryEntryName>Stock Availability Report. Inventory Reporting_ Party. Party</ccts:DictionaryEntryName>
326
+ <ccts:Definition>The party that will receive and use the Stock Availability Report (normally the branch for which the stock is reported).</ccts:Definition>
327
+ <ccts:Cardinality>1</ccts:Cardinality>
328
+ <ccts:ObjectClass>Stock Availability Report</ccts:ObjectClass>
329
+ <ccts:PropertyTermQualifier>Inventory Reporting</ccts:PropertyTermQualifier>
330
+ <ccts:PropertyTerm>Party</ccts:PropertyTerm>
331
+ <ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass>
332
+ <ccts:RepresentationTerm>Party</ccts:RepresentationTerm>
333
+ </ccts:Component>
334
+ </xsd:documentation>
335
+ </xsd:annotation>
336
+ </xsd:element>
337
+ <xsd:element ref="cac:StockAvailabilityReportLine"
338
+ minOccurs="1"
339
+ maxOccurs="unbounded">
340
+ <xsd:annotation>
341
+ <xsd:documentation>
342
+ <ccts:Component>
343
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
344
+ <ccts:DictionaryEntryName>Stock Availability Report. Stock Availability Report Line</ccts:DictionaryEntryName>
345
+ <ccts:Definition>A line representing a particular item of sale and associated with a line in the Catalogue.</ccts:Definition>
346
+ <ccts:Cardinality>1..n</ccts:Cardinality>
347
+ <ccts:ObjectClass>Stock Availability Report</ccts:ObjectClass>
348
+ <ccts:PropertyTerm>Stock Availability Report Line</ccts:PropertyTerm>
349
+ <ccts:AssociatedObjectClass>Stock Availability Report Line</ccts:AssociatedObjectClass>
350
+ <ccts:RepresentationTerm>Stock Availability Report Line</ccts:RepresentationTerm>
351
+ </ccts:Component>
352
+ </xsd:documentation>
353
+ </xsd:annotation>
354
+ </xsd:element>
355
+ </xsd:sequence>
356
+ </xsd:complexType>
357
+ </xsd:schema>
358
+ <!-- ===== Copyright Notice ===== --><!--
359
+ OASIS takes no position regarding the validity or scope of any
360
+ intellectual property or other rights that might be claimed to pertain
361
+ to the implementation or use of the technology described in this
362
+ document or the extent to which any license under such rights
363
+ might or might not be available; neither does it represent that it has
364
+ made any effort to identify any such rights. Information on OASIS's
365
+ procedures with respect to rights in OASIS specifications can be
366
+ found at the OASIS website. Copies of claims of rights made
367
+ available for publication and any assurances of licenses to be made
368
+ available, or the result of an attempt made to obtain a general
369
+ license or permission for the use of such proprietary rights by
370
+ implementors or users of this specification, can be obtained from
371
+ the OASIS Executive Director.
372
+
373
+ OASIS invites any interested party to bring to its attention any
374
+ copyrights, patents or patent applications, or other proprietary
375
+ rights which may cover technology that may be required to
376
+ implement this specification. Please address the information to the
377
+ OASIS Executive Director.
378
+
379
+ This document and translations of it may be copied and furnished to
380
+ others, and derivative works that comment on or otherwise explain
381
+ it or assist in its implementation may be prepared, copied,
382
+ published and distributed, in whole or in part, without restriction of
383
+ any kind, provided that the above copyright notice and this
384
+ paragraph are included on all such copies and derivative works.
385
+ However, this document itself may not be modified in any way,
386
+ such as by removing the copyright notice or references to OASIS,
387
+ except as needed for the purpose of developing OASIS
388
+ specifications, in which case the procedures for copyrights defined
389
+ in the OASIS Intellectual Property Rights document must be
390
+ followed, or as required to translate it into languages other than
391
+ English.
392
+
393
+ The limited permissions granted above are perpetual and will not be
394
+ revoked by OASIS or its successors or assigns.
395
+
396
+ This document and the information contained herein is provided on
397
+ an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES,
398
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY
399
+ WARRANTY THAT THE USE OF THE INFORMATION HEREIN
400
+ WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
401
+ WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
402
+ PARTICULAR PURPOSE.
403
+ -->