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,454 @@
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-Forecast-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:Forecast-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:Forecast-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="Forecast" type="ForecastType">
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="ForecastType">
36
+ <xsd:annotation>
37
+ <xsd:documentation>
38
+ <ccts:Component>
39
+ <ccts:ComponentType>ABIE</ccts:ComponentType>
40
+ <ccts:DictionaryEntryName>Forecast. Details</ccts:DictionaryEntryName>
41
+ <ccts:Definition>A document used to forecast sales or orders.</ccts:Definition>
42
+ <ccts:ObjectClass>Forecast</ccts:ObjectClass>
43
+ <ccts:AlternativeBusinessTerms>Forecast</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>Forecast. 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>Forecast</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>Forecast. 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>Forecast</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>Forecast. 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>Forecast</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>Forecast. 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>Forecast</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>Forecast. 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>Forecast</ccts:ObjectClass>
130
+ <ccts:PropertyTerm>Identifier</ccts:PropertyTerm>
131
+ <ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
132
+ <ccts:DataType>Identifier. Type</ccts:DataType>
133
+ <ccts:AlternativeBusinessTerms>Forecast 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>Forecast. 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>Forecast</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>Forecast. 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>Forecast</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>Forecast. 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>Forecast</ccts:ObjectClass>
180
+ <ccts:PropertyTerm>Issue Date</ccts:PropertyTerm>
181
+ <ccts:RepresentationTerm>Date</ccts:RepresentationTerm>
182
+ <ccts:DataType>Date. Type</ccts:DataType>
183
+ <ccts:AlternativeBusinessTerms>Forecast Date</ccts:AlternativeBusinessTerms>
184
+ </ccts:Component>
185
+ </xsd:documentation>
186
+ </xsd:annotation>
187
+ </xsd:element>
188
+ <xsd:element ref="cbc:IssueTime" minOccurs="0" maxOccurs="1">
189
+ <xsd:annotation>
190
+ <xsd:documentation>
191
+ <ccts:Component>
192
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
193
+ <ccts:DictionaryEntryName>Forecast. Issue Time. Time</ccts:DictionaryEntryName>
194
+ <ccts:Definition>The time, assigned by the sender, at which this document was issued.</ccts:Definition>
195
+ <ccts:Cardinality>0..1</ccts:Cardinality>
196
+ <ccts:ObjectClass>Forecast</ccts:ObjectClass>
197
+ <ccts:PropertyTerm>Issue Time</ccts:PropertyTerm>
198
+ <ccts:RepresentationTerm>Time</ccts:RepresentationTerm>
199
+ <ccts:DataType>Time. Type</ccts:DataType>
200
+ </ccts:Component>
201
+ </xsd:documentation>
202
+ </xsd:annotation>
203
+ </xsd:element>
204
+ <xsd:element ref="cbc:Note" minOccurs="0" maxOccurs="unbounded">
205
+ <xsd:annotation>
206
+ <xsd:documentation>
207
+ <ccts:Component>
208
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
209
+ <ccts:DictionaryEntryName>Forecast. Note. Text</ccts:DictionaryEntryName>
210
+ <ccts:Definition>Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures.</ccts:Definition>
211
+ <ccts:Cardinality>0..n</ccts:Cardinality>
212
+ <ccts:ObjectClass>Forecast</ccts:ObjectClass>
213
+ <ccts:PropertyTerm>Note</ccts:PropertyTerm>
214
+ <ccts:RepresentationTerm>Text</ccts:RepresentationTerm>
215
+ <ccts:DataType>Text. Type</ccts:DataType>
216
+ </ccts:Component>
217
+ </xsd:documentation>
218
+ </xsd:annotation>
219
+ </xsd:element>
220
+ <xsd:element ref="cbc:VersionID" minOccurs="0" maxOccurs="1">
221
+ <xsd:annotation>
222
+ <xsd:documentation>
223
+ <ccts:Component>
224
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
225
+ <ccts:DictionaryEntryName>Forecast. Version. Identifier</ccts:DictionaryEntryName>
226
+ <ccts:Definition>Identifies the current version of this document.</ccts:Definition>
227
+ <ccts:Cardinality>0..1</ccts:Cardinality>
228
+ <ccts:ObjectClass>Forecast</ccts:ObjectClass>
229
+ <ccts:PropertyTerm>Version</ccts:PropertyTerm>
230
+ <ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
231
+ <ccts:DataType>Identifier. Type</ccts:DataType>
232
+ </ccts:Component>
233
+ </xsd:documentation>
234
+ </xsd:annotation>
235
+ </xsd:element>
236
+ <xsd:element ref="cbc:BasedOnConsensusIndicator" minOccurs="0" maxOccurs="1">
237
+ <xsd:annotation>
238
+ <xsd:documentation>
239
+ <ccts:Component>
240
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
241
+ <ccts:DictionaryEntryName>Forecast. Based On Consensus_ Indicator. Indicator</ccts:DictionaryEntryName>
242
+ <ccts:Definition>Indicates whether the Forecast is based on consensus (true) or not (false).</ccts:Definition>
243
+ <ccts:Cardinality>0..1</ccts:Cardinality>
244
+ <ccts:ObjectClass>Forecast</ccts:ObjectClass>
245
+ <ccts:PropertyTermQualifier>Based On Consensus</ccts:PropertyTermQualifier>
246
+ <ccts:PropertyTerm>Indicator</ccts:PropertyTerm>
247
+ <ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm>
248
+ <ccts:DataType>Indicator. Type</ccts:DataType>
249
+ </ccts:Component>
250
+ </xsd:documentation>
251
+ </xsd:annotation>
252
+ </xsd:element>
253
+ <xsd:element ref="cbc:ForecastPurposeCode" minOccurs="1" maxOccurs="1">
254
+ <xsd:annotation>
255
+ <xsd:documentation>
256
+ <ccts:Component>
257
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
258
+ <ccts:DictionaryEntryName>Forecast. Forecast_ Purpose Code. Code</ccts:DictionaryEntryName>
259
+ <ccts:Definition>A code signifying the purpose of the Forecast document.</ccts:Definition>
260
+ <ccts:Cardinality>1</ccts:Cardinality>
261
+ <ccts:ObjectClass>Forecast</ccts:ObjectClass>
262
+ <ccts:PropertyTermQualifier>Forecast</ccts:PropertyTermQualifier>
263
+ <ccts:PropertyTerm>Purpose Code</ccts:PropertyTerm>
264
+ <ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
265
+ <ccts:DataType>Code. Type</ccts:DataType>
266
+ </ccts:Component>
267
+ </xsd:documentation>
268
+ </xsd:annotation>
269
+ </xsd:element>
270
+ <xsd:element ref="cac:ForecastPeriod" minOccurs="1" maxOccurs="1">
271
+ <xsd:annotation>
272
+ <xsd:documentation>
273
+ <ccts:Component>
274
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
275
+ <ccts:DictionaryEntryName>Forecast. Forecast_ Period. Period</ccts:DictionaryEntryName>
276
+ <ccts:Definition>The period to which the Forecast applies.</ccts:Definition>
277
+ <ccts:Cardinality>1</ccts:Cardinality>
278
+ <ccts:ObjectClass>Forecast</ccts:ObjectClass>
279
+ <ccts:PropertyTermQualifier>Forecast</ccts:PropertyTermQualifier>
280
+ <ccts:PropertyTerm>Period</ccts:PropertyTerm>
281
+ <ccts:AssociatedObjectClass>Period</ccts:AssociatedObjectClass>
282
+ <ccts:RepresentationTerm>Period</ccts:RepresentationTerm>
283
+ </ccts:Component>
284
+ </xsd:documentation>
285
+ </xsd:annotation>
286
+ </xsd:element>
287
+ <xsd:element ref="cac:AdditionalDocumentReference"
288
+ minOccurs="0"
289
+ maxOccurs="unbounded">
290
+ <xsd:annotation>
291
+ <xsd:documentation>
292
+ <ccts:Component>
293
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
294
+ <ccts:DictionaryEntryName>Forecast. Additional_ Document Reference. Document Reference</ccts:DictionaryEntryName>
295
+ <ccts:Definition>A reference to an additional document associated with this document.</ccts:Definition>
296
+ <ccts:Cardinality>0..n</ccts:Cardinality>
297
+ <ccts:ObjectClass>Forecast</ccts:ObjectClass>
298
+ <ccts:PropertyTermQualifier>Additional</ccts:PropertyTermQualifier>
299
+ <ccts:PropertyTerm>Document Reference</ccts:PropertyTerm>
300
+ <ccts:AssociatedObjectClass>Document Reference</ccts:AssociatedObjectClass>
301
+ <ccts:RepresentationTerm>Document Reference</ccts:RepresentationTerm>
302
+ </ccts:Component>
303
+ </xsd:documentation>
304
+ </xsd:annotation>
305
+ </xsd:element>
306
+ <xsd:element ref="cac:Signature" minOccurs="0" maxOccurs="unbounded">
307
+ <xsd:annotation>
308
+ <xsd:documentation>
309
+ <ccts:Component>
310
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
311
+ <ccts:DictionaryEntryName>Forecast. Signature</ccts:DictionaryEntryName>
312
+ <ccts:Definition>A signature applied to this document.</ccts:Definition>
313
+ <ccts:Cardinality>0..n</ccts:Cardinality>
314
+ <ccts:ObjectClass>Forecast</ccts:ObjectClass>
315
+ <ccts:PropertyTerm>Signature</ccts:PropertyTerm>
316
+ <ccts:AssociatedObjectClass>Signature</ccts:AssociatedObjectClass>
317
+ <ccts:RepresentationTerm>Signature</ccts:RepresentationTerm>
318
+ </ccts:Component>
319
+ </xsd:documentation>
320
+ </xsd:annotation>
321
+ </xsd:element>
322
+ <xsd:element ref="cac:SenderParty" minOccurs="1" maxOccurs="1">
323
+ <xsd:annotation>
324
+ <xsd:documentation>
325
+ <ccts:Component>
326
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
327
+ <ccts:DictionaryEntryName>Forecast. Sender_ Party. Party</ccts:DictionaryEntryName>
328
+ <ccts:Definition>The party sending this document.</ccts:Definition>
329
+ <ccts:Cardinality>1</ccts:Cardinality>
330
+ <ccts:ObjectClass>Forecast</ccts:ObjectClass>
331
+ <ccts:PropertyTermQualifier>Sender</ccts:PropertyTermQualifier>
332
+ <ccts:PropertyTerm>Party</ccts:PropertyTerm>
333
+ <ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass>
334
+ <ccts:RepresentationTerm>Party</ccts:RepresentationTerm>
335
+ </ccts:Component>
336
+ </xsd:documentation>
337
+ </xsd:annotation>
338
+ </xsd:element>
339
+ <xsd:element ref="cac:ReceiverParty" minOccurs="1" maxOccurs="1">
340
+ <xsd:annotation>
341
+ <xsd:documentation>
342
+ <ccts:Component>
343
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
344
+ <ccts:DictionaryEntryName>Forecast. Receiver_ Party. Party</ccts:DictionaryEntryName>
345
+ <ccts:Definition>The party receiving this document.</ccts:Definition>
346
+ <ccts:Cardinality>1</ccts:Cardinality>
347
+ <ccts:ObjectClass>Forecast</ccts:ObjectClass>
348
+ <ccts:PropertyTermQualifier>Receiver</ccts:PropertyTermQualifier>
349
+ <ccts:PropertyTerm>Party</ccts:PropertyTerm>
350
+ <ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass>
351
+ <ccts:RepresentationTerm>Party</ccts:RepresentationTerm>
352
+ </ccts:Component>
353
+ </xsd:documentation>
354
+ </xsd:annotation>
355
+ </xsd:element>
356
+ <xsd:element ref="cac:BuyerCustomerParty" minOccurs="0" maxOccurs="1">
357
+ <xsd:annotation>
358
+ <xsd:documentation>
359
+ <ccts:Component>
360
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
361
+ <ccts:DictionaryEntryName>Forecast. Buyer_ Customer Party. Customer Party</ccts:DictionaryEntryName>
362
+ <ccts:Definition>The buyer.</ccts:Definition>
363
+ <ccts:Cardinality>0..1</ccts:Cardinality>
364
+ <ccts:ObjectClass>Forecast</ccts:ObjectClass>
365
+ <ccts:PropertyTermQualifier>Buyer</ccts:PropertyTermQualifier>
366
+ <ccts:PropertyTerm>Customer Party</ccts:PropertyTerm>
367
+ <ccts:AssociatedObjectClass>Customer Party</ccts:AssociatedObjectClass>
368
+ <ccts:RepresentationTerm>Customer Party</ccts:RepresentationTerm>
369
+ </ccts:Component>
370
+ </xsd:documentation>
371
+ </xsd:annotation>
372
+ </xsd:element>
373
+ <xsd:element ref="cac:SellerSupplierParty" minOccurs="0" maxOccurs="1">
374
+ <xsd:annotation>
375
+ <xsd:documentation>
376
+ <ccts:Component>
377
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
378
+ <ccts:DictionaryEntryName>Forecast. Seller_ Supplier Party. Supplier Party</ccts:DictionaryEntryName>
379
+ <ccts:Definition>The seller.</ccts:Definition>
380
+ <ccts:Cardinality>0..1</ccts:Cardinality>
381
+ <ccts:ObjectClass>Forecast</ccts:ObjectClass>
382
+ <ccts:PropertyTermQualifier>Seller</ccts:PropertyTermQualifier>
383
+ <ccts:PropertyTerm>Supplier Party</ccts:PropertyTerm>
384
+ <ccts:AssociatedObjectClass>Supplier Party</ccts:AssociatedObjectClass>
385
+ <ccts:RepresentationTerm>Supplier Party</ccts:RepresentationTerm>
386
+ </ccts:Component>
387
+ </xsd:documentation>
388
+ </xsd:annotation>
389
+ </xsd:element>
390
+ <xsd:element ref="cac:ForecastLine" minOccurs="1" maxOccurs="unbounded">
391
+ <xsd:annotation>
392
+ <xsd:documentation>
393
+ <ccts:Component>
394
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
395
+ <ccts:DictionaryEntryName>Forecast. Forecast Line</ccts:DictionaryEntryName>
396
+ <ccts:Definition>A Forecast Line.</ccts:Definition>
397
+ <ccts:Cardinality>1..n</ccts:Cardinality>
398
+ <ccts:ObjectClass>Forecast</ccts:ObjectClass>
399
+ <ccts:PropertyTerm>Forecast Line</ccts:PropertyTerm>
400
+ <ccts:AssociatedObjectClass>Forecast Line</ccts:AssociatedObjectClass>
401
+ <ccts:RepresentationTerm>Forecast Line</ccts:RepresentationTerm>
402
+ </ccts:Component>
403
+ </xsd:documentation>
404
+ </xsd:annotation>
405
+ </xsd:element>
406
+ </xsd:sequence>
407
+ </xsd:complexType>
408
+ </xsd:schema>
409
+ <!-- ===== Copyright Notice ===== --><!--
410
+ OASIS takes no position regarding the validity or scope of any
411
+ intellectual property or other rights that might be claimed to pertain
412
+ to the implementation or use of the technology described in this
413
+ document or the extent to which any license under such rights
414
+ might or might not be available; neither does it represent that it has
415
+ made any effort to identify any such rights. Information on OASIS's
416
+ procedures with respect to rights in OASIS specifications can be
417
+ found at the OASIS website. Copies of claims of rights made
418
+ available for publication and any assurances of licenses to be made
419
+ available, or the result of an attempt made to obtain a general
420
+ license or permission for the use of such proprietary rights by
421
+ implementors or users of this specification, can be obtained from
422
+ the OASIS Executive Director.
423
+
424
+ OASIS invites any interested party to bring to its attention any
425
+ copyrights, patents or patent applications, or other proprietary
426
+ rights which may cover technology that may be required to
427
+ implement this specification. Please address the information to the
428
+ OASIS Executive Director.
429
+
430
+ This document and translations of it may be copied and furnished to
431
+ others, and derivative works that comment on or otherwise explain
432
+ it or assist in its implementation may be prepared, copied,
433
+ published and distributed, in whole or in part, without restriction of
434
+ any kind, provided that the above copyright notice and this
435
+ paragraph are included on all such copies and derivative works.
436
+ However, this document itself may not be modified in any way,
437
+ such as by removing the copyright notice or references to OASIS,
438
+ except as needed for the purpose of developing OASIS
439
+ specifications, in which case the procedures for copyrights defined
440
+ in the OASIS Intellectual Property Rights document must be
441
+ followed, or as required to translate it into languages other than
442
+ English.
443
+
444
+ The limited permissions granted above are perpetual and will not be
445
+ revoked by OASIS or its successors or assigns.
446
+
447
+ This document and the information contained herein is provided on
448
+ an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES,
449
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY
450
+ WARRANTY THAT THE USE OF THE INFORMATION HEREIN
451
+ WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
452
+ WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
453
+ PARTICULAR PURPOSE.
454
+ -->