ubl 0.1.0 → 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 +14 -0
  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 +29 -0
  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 +96 -1
@@ -0,0 +1,453 @@
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-ForecastRevision-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:ForecastRevision-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:ForecastRevision-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="ForecastRevision" type="ForecastRevisionType">
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="ForecastRevisionType">
36
+ <xsd:annotation>
37
+ <xsd:documentation>
38
+ <ccts:Component>
39
+ <ccts:ComponentType>ABIE</ccts:ComponentType>
40
+ <ccts:DictionaryEntryName>Forecast Revision. Details</ccts:DictionaryEntryName>
41
+ <ccts:Definition>A document used to revise a Forecast.</ccts:Definition>
42
+ <ccts:ObjectClass>Forecast Revision</ccts:ObjectClass>
43
+ <ccts:AlternativeBusinessTerms>Forecast Revision</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 Revision. 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 Revision</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 Revision. 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 Revision</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 Revision. 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 Revision</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 Revision. 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 Revision</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 Revision. 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 Revision</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 Revision 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 Revision. 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 Revision</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 Revision. 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 Revision</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 Revision. 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 Revision</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 Revision. 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 Revision</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 Revision. 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 Revision</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:SequenceNumberID" minOccurs="1" maxOccurs="1">
221
+ <xsd:annotation>
222
+ <xsd:documentation>
223
+ <ccts:Component>
224
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
225
+ <ccts:DictionaryEntryName>Forecast Revision. Sequence Number. Identifier</ccts:DictionaryEntryName>
226
+ <ccts:Definition>A sequence number, to ensure the proper sequencing of revisions.</ccts:Definition>
227
+ <ccts:Cardinality>1</ccts:Cardinality>
228
+ <ccts:ObjectClass>Forecast Revision</ccts:ObjectClass>
229
+ <ccts:PropertyTerm>Sequence Number</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:RevisionStatusCode" minOccurs="0" maxOccurs="1">
237
+ <xsd:annotation>
238
+ <xsd:documentation>
239
+ <ccts:Component>
240
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
241
+ <ccts:DictionaryEntryName>Forecast Revision. Revision_ Status Code. Code</ccts:DictionaryEntryName>
242
+ <ccts:Definition>Indicates the revision status of this Forecast Revision.</ccts:Definition>
243
+ <ccts:Cardinality>0..1</ccts:Cardinality>
244
+ <ccts:ObjectClass>Forecast Revision</ccts:ObjectClass>
245
+ <ccts:PropertyTermQualifier>Revision</ccts:PropertyTermQualifier>
246
+ <ccts:PropertyTerm>Status Code</ccts:PropertyTerm>
247
+ <ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
248
+ <ccts:DataType>Code. Type</ccts:DataType>
249
+ </ccts:Component>
250
+ </xsd:documentation>
251
+ </xsd:annotation>
252
+ </xsd:element>
253
+ <xsd:element ref="cbc:PurposeCode" minOccurs="0" maxOccurs="1">
254
+ <xsd:annotation>
255
+ <xsd:documentation>
256
+ <ccts:Component>
257
+ <ccts:ComponentType>BBIE</ccts:ComponentType>
258
+ <ccts:DictionaryEntryName>Forecast Revision. Purpose Code. Code</ccts:DictionaryEntryName>
259
+ <ccts:Definition>Indicates the purpose of the revision.</ccts:Definition>
260
+ <ccts:Cardinality>0..1</ccts:Cardinality>
261
+ <ccts:ObjectClass>Forecast Revision</ccts:ObjectClass>
262
+ <ccts:PropertyTerm>Purpose Code</ccts:PropertyTerm>
263
+ <ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
264
+ <ccts:DataType>Code. Type</ccts:DataType>
265
+ </ccts:Component>
266
+ </xsd:documentation>
267
+ </xsd:annotation>
268
+ </xsd:element>
269
+ <xsd:element ref="cac:ForecastPeriod" minOccurs="1" maxOccurs="1">
270
+ <xsd:annotation>
271
+ <xsd:documentation>
272
+ <ccts:Component>
273
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
274
+ <ccts:DictionaryEntryName>Forecast Revision. Forecast_ Period. Period</ccts:DictionaryEntryName>
275
+ <ccts:Definition>The period to which the Forecast applies.</ccts:Definition>
276
+ <ccts:Cardinality>1</ccts:Cardinality>
277
+ <ccts:ObjectClass>Forecast Revision</ccts:ObjectClass>
278
+ <ccts:PropertyTermQualifier>Forecast</ccts:PropertyTermQualifier>
279
+ <ccts:PropertyTerm>Period</ccts:PropertyTerm>
280
+ <ccts:AssociatedObjectClass>Period</ccts:AssociatedObjectClass>
281
+ <ccts:RepresentationTerm>Period</ccts:RepresentationTerm>
282
+ </ccts:Component>
283
+ </xsd:documentation>
284
+ </xsd:annotation>
285
+ </xsd:element>
286
+ <xsd:element ref="cac:OriginalDocumentReference"
287
+ minOccurs="0"
288
+ maxOccurs="unbounded">
289
+ <xsd:annotation>
290
+ <xsd:documentation>
291
+ <ccts:Component>
292
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
293
+ <ccts:DictionaryEntryName>Forecast Revision. Original_ Document Reference. Document Reference</ccts:DictionaryEntryName>
294
+ <ccts:Definition>The Forecast document being revised.</ccts:Definition>
295
+ <ccts:Cardinality>0..n</ccts:Cardinality>
296
+ <ccts:ObjectClass>Forecast Revision</ccts:ObjectClass>
297
+ <ccts:PropertyTermQualifier>Original</ccts:PropertyTermQualifier>
298
+ <ccts:PropertyTerm>Document Reference</ccts:PropertyTerm>
299
+ <ccts:AssociatedObjectClass>Document Reference</ccts:AssociatedObjectClass>
300
+ <ccts:RepresentationTerm>Document Reference</ccts:RepresentationTerm>
301
+ </ccts:Component>
302
+ </xsd:documentation>
303
+ </xsd:annotation>
304
+ </xsd:element>
305
+ <xsd:element ref="cac:Signature" minOccurs="0" maxOccurs="unbounded">
306
+ <xsd:annotation>
307
+ <xsd:documentation>
308
+ <ccts:Component>
309
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
310
+ <ccts:DictionaryEntryName>Forecast Revision. Signature</ccts:DictionaryEntryName>
311
+ <ccts:Definition>A signature applied to this document.</ccts:Definition>
312
+ <ccts:Cardinality>0..n</ccts:Cardinality>
313
+ <ccts:ObjectClass>Forecast Revision</ccts:ObjectClass>
314
+ <ccts:PropertyTerm>Signature</ccts:PropertyTerm>
315
+ <ccts:AssociatedObjectClass>Signature</ccts:AssociatedObjectClass>
316
+ <ccts:RepresentationTerm>Signature</ccts:RepresentationTerm>
317
+ </ccts:Component>
318
+ </xsd:documentation>
319
+ </xsd:annotation>
320
+ </xsd:element>
321
+ <xsd:element ref="cac:SenderParty" minOccurs="1" maxOccurs="1">
322
+ <xsd:annotation>
323
+ <xsd:documentation>
324
+ <ccts:Component>
325
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
326
+ <ccts:DictionaryEntryName>Forecast Revision. Sender_ Party. Party</ccts:DictionaryEntryName>
327
+ <ccts:Definition>The party sending this document.</ccts:Definition>
328
+ <ccts:Cardinality>1</ccts:Cardinality>
329
+ <ccts:ObjectClass>Forecast Revision</ccts:ObjectClass>
330
+ <ccts:PropertyTermQualifier>Sender</ccts:PropertyTermQualifier>
331
+ <ccts:PropertyTerm>Party</ccts:PropertyTerm>
332
+ <ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass>
333
+ <ccts:RepresentationTerm>Party</ccts:RepresentationTerm>
334
+ </ccts:Component>
335
+ </xsd:documentation>
336
+ </xsd:annotation>
337
+ </xsd:element>
338
+ <xsd:element ref="cac:ReceiverParty" minOccurs="1" maxOccurs="1">
339
+ <xsd:annotation>
340
+ <xsd:documentation>
341
+ <ccts:Component>
342
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
343
+ <ccts:DictionaryEntryName>Forecast Revision. Receiver_ Party. Party</ccts:DictionaryEntryName>
344
+ <ccts:Definition>The party receiving this document.</ccts:Definition>
345
+ <ccts:Cardinality>1</ccts:Cardinality>
346
+ <ccts:ObjectClass>Forecast Revision</ccts:ObjectClass>
347
+ <ccts:PropertyTermQualifier>Receiver</ccts:PropertyTermQualifier>
348
+ <ccts:PropertyTerm>Party</ccts:PropertyTerm>
349
+ <ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass>
350
+ <ccts:RepresentationTerm>Party</ccts:RepresentationTerm>
351
+ </ccts:Component>
352
+ </xsd:documentation>
353
+ </xsd:annotation>
354
+ </xsd:element>
355
+ <xsd:element ref="cac:BuyerCustomerParty" minOccurs="0" maxOccurs="1">
356
+ <xsd:annotation>
357
+ <xsd:documentation>
358
+ <ccts:Component>
359
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
360
+ <ccts:DictionaryEntryName>Forecast Revision. Buyer_ Customer Party. Customer Party</ccts:DictionaryEntryName>
361
+ <ccts:Definition>The buyer.</ccts:Definition>
362
+ <ccts:Cardinality>0..1</ccts:Cardinality>
363
+ <ccts:ObjectClass>Forecast Revision</ccts:ObjectClass>
364
+ <ccts:PropertyTermQualifier>Buyer</ccts:PropertyTermQualifier>
365
+ <ccts:PropertyTerm>Customer Party</ccts:PropertyTerm>
366
+ <ccts:AssociatedObjectClass>Customer Party</ccts:AssociatedObjectClass>
367
+ <ccts:RepresentationTerm>Customer Party</ccts:RepresentationTerm>
368
+ </ccts:Component>
369
+ </xsd:documentation>
370
+ </xsd:annotation>
371
+ </xsd:element>
372
+ <xsd:element ref="cac:SellerSupplierParty" minOccurs="0" maxOccurs="1">
373
+ <xsd:annotation>
374
+ <xsd:documentation>
375
+ <ccts:Component>
376
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
377
+ <ccts:DictionaryEntryName>Forecast Revision. Seller_ Supplier Party. Supplier Party</ccts:DictionaryEntryName>
378
+ <ccts:Definition>The seller.</ccts:Definition>
379
+ <ccts:Cardinality>0..1</ccts:Cardinality>
380
+ <ccts:ObjectClass>Forecast Revision</ccts:ObjectClass>
381
+ <ccts:PropertyTermQualifier>Seller</ccts:PropertyTermQualifier>
382
+ <ccts:PropertyTerm>Supplier Party</ccts:PropertyTerm>
383
+ <ccts:AssociatedObjectClass>Supplier Party</ccts:AssociatedObjectClass>
384
+ <ccts:RepresentationTerm>Supplier Party</ccts:RepresentationTerm>
385
+ </ccts:Component>
386
+ </xsd:documentation>
387
+ </xsd:annotation>
388
+ </xsd:element>
389
+ <xsd:element ref="cac:ForecastRevisionLine" minOccurs="1" maxOccurs="unbounded">
390
+ <xsd:annotation>
391
+ <xsd:documentation>
392
+ <ccts:Component>
393
+ <ccts:ComponentType>ASBIE</ccts:ComponentType>
394
+ <ccts:DictionaryEntryName>Forecast Revision. Forecast Revision Line</ccts:DictionaryEntryName>
395
+ <ccts:Definition>A line that revises a line in the Forecast.</ccts:Definition>
396
+ <ccts:Cardinality>1..n</ccts:Cardinality>
397
+ <ccts:ObjectClass>Forecast Revision</ccts:ObjectClass>
398
+ <ccts:PropertyTerm>Forecast Revision Line</ccts:PropertyTerm>
399
+ <ccts:AssociatedObjectClass>Forecast Revision Line</ccts:AssociatedObjectClass>
400
+ <ccts:RepresentationTerm>Forecast Revision Line</ccts:RepresentationTerm>
401
+ </ccts:Component>
402
+ </xsd:documentation>
403
+ </xsd:annotation>
404
+ </xsd:element>
405
+ </xsd:sequence>
406
+ </xsd:complexType>
407
+ </xsd:schema>
408
+ <!-- ===== Copyright Notice ===== --><!--
409
+ OASIS takes no position regarding the validity or scope of any
410
+ intellectual property or other rights that might be claimed to pertain
411
+ to the implementation or use of the technology described in this
412
+ document or the extent to which any license under such rights
413
+ might or might not be available; neither does it represent that it has
414
+ made any effort to identify any such rights. Information on OASIS's
415
+ procedures with respect to rights in OASIS specifications can be
416
+ found at the OASIS website. Copies of claims of rights made
417
+ available for publication and any assurances of licenses to be made
418
+ available, or the result of an attempt made to obtain a general
419
+ license or permission for the use of such proprietary rights by
420
+ implementors or users of this specification, can be obtained from
421
+ the OASIS Executive Director.
422
+
423
+ OASIS invites any interested party to bring to its attention any
424
+ copyrights, patents or patent applications, or other proprietary
425
+ rights which may cover technology that may be required to
426
+ implement this specification. Please address the information to the
427
+ OASIS Executive Director.
428
+
429
+ This document and translations of it may be copied and furnished to
430
+ others, and derivative works that comment on or otherwise explain
431
+ it or assist in its implementation may be prepared, copied,
432
+ published and distributed, in whole or in part, without restriction of
433
+ any kind, provided that the above copyright notice and this
434
+ paragraph are included on all such copies and derivative works.
435
+ However, this document itself may not be modified in any way,
436
+ such as by removing the copyright notice or references to OASIS,
437
+ except as needed for the purpose of developing OASIS
438
+ specifications, in which case the procedures for copyrights defined
439
+ in the OASIS Intellectual Property Rights document must be
440
+ followed, or as required to translate it into languages other than
441
+ English.
442
+
443
+ The limited permissions granted above are perpetual and will not be
444
+ revoked by OASIS or its successors or assigns.
445
+
446
+ This document and the information contained herein is provided on
447
+ an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES,
448
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY
449
+ WARRANTY THAT THE USE OF THE INFORMATION HEREIN
450
+ WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
451
+ WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
452
+ PARTICULAR PURPOSE.
453
+ -->