ubl 0.1.0 → 0.1.2
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.
- checksums.yaml +4 -4
- data/README.md +15 -1
- data/lib/ubl/builder.rb +32 -5
- data/lib/ubl/constants.rb +6 -0
- data/lib/ubl/validate.rb +78 -0
- data/lib/ubl/version.rb +1 -1
- data/lib/ubl.rb +32 -17
- data/xsd/common/CCTS_CCT_SchemaModule-2.1.xsd +731 -0
- data/xsd/common/UBL-CommonAggregateComponents-2.1.xsd +39799 -0
- data/xsd/common/UBL-CommonBasicComponents-2.1.xsd +5389 -0
- data/xsd/common/UBL-CommonExtensionComponents-2.1.xsd +223 -0
- data/xsd/common/UBL-CommonSignatureComponents-2.1.xsd +101 -0
- data/xsd/common/UBL-CoreComponentParameters-2.1.xsd +63 -0
- data/xsd/common/UBL-ExtensionContentDataType-2.1.xsd +89 -0
- data/xsd/common/UBL-QualifiedDataTypes-2.1.xsd +69 -0
- data/xsd/common/UBL-SignatureAggregateComponents-2.1.xsd +138 -0
- data/xsd/common/UBL-SignatureBasicComponents-2.1.xsd +78 -0
- data/xsd/common/UBL-UnqualifiedDataTypes-2.1.xsd +553 -0
- data/xsd/common/UBL-XAdESv132-2.1.xsd +476 -0
- data/xsd/common/UBL-XAdESv141-2.1.xsd +25 -0
- data/xsd/common/UBL-xmldsig-core-schema-2.1.xsd +330 -0
- data/xsd/maindoc/UBL-ApplicationResponse-2.1.xsd +362 -0
- data/xsd/maindoc/UBL-AttachedDocument-2.1.xsd +416 -0
- data/xsd/maindoc/UBL-AwardedNotification-2.1.xsd +418 -0
- data/xsd/maindoc/UBL-BillOfLading-2.1.xsd +540 -0
- data/xsd/maindoc/UBL-CallForTenders-2.1.xsd +513 -0
- data/xsd/maindoc/UBL-Catalogue-2.1.xsd +565 -0
- data/xsd/maindoc/UBL-CatalogueDeletion-2.1.xsd +465 -0
- data/xsd/maindoc/UBL-CatalogueItemSpecificationUpdate-2.1.xsd +533 -0
- data/xsd/maindoc/UBL-CataloguePricingUpdate-2.1.xsd +532 -0
- data/xsd/maindoc/UBL-CatalogueRequest-2.1.xsd +571 -0
- data/xsd/maindoc/UBL-CertificateOfOrigin-2.1.xsd +417 -0
- data/xsd/maindoc/UBL-ContractAwardNotice-2.1.xsd +493 -0
- data/xsd/maindoc/UBL-ContractNotice-2.1.xsd +459 -0
- data/xsd/maindoc/UBL-CreditNote-2.1.xsd +951 -0
- data/xsd/maindoc/UBL-DebitNote-2.1.xsd +916 -0
- data/xsd/maindoc/UBL-DespatchAdvice-2.1.xsd +482 -0
- data/xsd/maindoc/UBL-DocumentStatus-2.1.xsd +350 -0
- data/xsd/maindoc/UBL-DocumentStatusRequest-2.1.xsd +348 -0
- data/xsd/maindoc/UBL-ExceptionCriteria-2.1.xsd +417 -0
- data/xsd/maindoc/UBL-ExceptionNotification-2.1.xsd +403 -0
- data/xsd/maindoc/UBL-Forecast-2.1.xsd +454 -0
- data/xsd/maindoc/UBL-ForecastRevision-2.1.xsd +453 -0
- data/xsd/maindoc/UBL-ForwardingInstructions-2.1.xsd +517 -0
- data/xsd/maindoc/UBL-FreightInvoice-2.1.xsd +867 -0
- data/xsd/maindoc/UBL-FulfilmentCancellation-2.1.xsd +471 -0
- data/xsd/maindoc/UBL-GoodsItemItinerary-2.1.xsd +431 -0
- data/xsd/maindoc/UBL-GuaranteeCertificate-2.1.xsd +481 -0
- data/xsd/maindoc/UBL-InstructionForReturns-2.1.xsd +383 -0
- data/xsd/maindoc/UBL-InventoryReport-2.1.xsd +401 -0
- data/xsd/maindoc/UBL-Invoice-2.1.xsd +1002 -0
- data/xsd/maindoc/UBL-ItemInformationRequest-2.1.xsd +402 -0
- data/xsd/maindoc/UBL-Order-2.1.xsd +891 -0
- data/xsd/maindoc/UBL-OrderCancellation-2.1.xsd +416 -0
- data/xsd/maindoc/UBL-OrderChange-2.1.xsd +869 -0
- data/xsd/maindoc/UBL-OrderResponse-2.1.xsd +956 -0
- data/xsd/maindoc/UBL-OrderResponseSimple-2.1.xsd +486 -0
- data/xsd/maindoc/UBL-PackingList-2.1.xsd +432 -0
- data/xsd/maindoc/UBL-PriorInformationNotice-2.1.xsd +441 -0
- data/xsd/maindoc/UBL-ProductActivity-2.1.xsd +387 -0
- data/xsd/maindoc/UBL-Quotation-2.1.xsd +583 -0
- data/xsd/maindoc/UBL-ReceiptAdvice-2.1.xsd +485 -0
- data/xsd/maindoc/UBL-Reminder-2.1.xsd +759 -0
- data/xsd/maindoc/UBL-RemittanceAdvice-2.1.xsd +567 -0
- data/xsd/maindoc/UBL-RequestForQuotation-2.1.xsd +519 -0
- data/xsd/maindoc/UBL-RetailEvent-2.1.xsd +515 -0
- data/xsd/maindoc/UBL-SelfBilledCreditNote-2.1.xsd +918 -0
- data/xsd/maindoc/UBL-SelfBilledInvoice-2.1.xsd +933 -0
- data/xsd/maindoc/UBL-Statement-2.1.xsd +600 -0
- data/xsd/maindoc/UBL-StockAvailabilityReport-2.1.xsd +403 -0
- data/xsd/maindoc/UBL-Tender-2.1.xsd +464 -0
- data/xsd/maindoc/UBL-TenderReceipt-2.1.xsd +398 -0
- data/xsd/maindoc/UBL-TendererQualification-2.1.xsd +401 -0
- data/xsd/maindoc/UBL-TendererQualificationResponse-2.1.xsd +399 -0
- data/xsd/maindoc/UBL-TradeItemLocationProfile-2.1.xsd +415 -0
- data/xsd/maindoc/UBL-TransportExecutionPlan-2.1.xsd +769 -0
- data/xsd/maindoc/UBL-TransportExecutionPlanRequest-2.1.xsd +696 -0
- data/xsd/maindoc/UBL-TransportProgressStatus-2.1.xsd +396 -0
- data/xsd/maindoc/UBL-TransportProgressStatusRequest-2.1.xsd +345 -0
- data/xsd/maindoc/UBL-TransportServiceDescription-2.1.xsd +430 -0
- data/xsd/maindoc/UBL-TransportServiceDescriptionRequest-2.1.xsd +363 -0
- data/xsd/maindoc/UBL-TransportationStatus-2.1.xsd +566 -0
- data/xsd/maindoc/UBL-TransportationStatusRequest-2.1.xsd +484 -0
- data/xsd/maindoc/UBL-UnawardedNotification-2.1.xsd +415 -0
- data/xsd/maindoc/UBL-UtilityStatement-2.1.xsd +490 -0
- data/xsd/maindoc/UBL-Waybill-2.1.xsd +501 -0
- metadata +99 -4
@@ -0,0 +1,553 @@
|
|
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: UBL-UnqualifiedDataTypes-2.1.xsd
|
7
|
+
Generated on: 2013-04-20 18:40(UTC)
|
8
|
+
Copyright (c) OASIS Open 2013. All Rights Reserved.
|
9
|
+
|
10
|
+
This schema fragment implements UBL unqualified datatypes using core
|
11
|
+
component types with all supplementary components as described in
|
12
|
+
CCTS 2.01 http://www.unece.org/cefact/ebxml/CCTS_V2-01_Final.pdf tables
|
13
|
+
8-1, 8-2 and 8-3.
|
14
|
+
|
15
|
+
Per table 8-3, the graphic, picture, sound and video types are based on
|
16
|
+
"Binary Object. Type" as they are secondary representation terms.
|
17
|
+
|
18
|
+
Per table 8-3, the value, rate and percentage types are based on
|
19
|
+
"Numeric. Type" as they are secondary representation terms.
|
20
|
+
|
21
|
+
Per table 8-3, the name type is based on "Text. Type" as it is a
|
22
|
+
secondary representation term.
|
23
|
+
|
24
|
+
Per XSD lexical constraints, the following unqualified data types
|
25
|
+
corresponding to core component types and secondary representation terms
|
26
|
+
are based on XSD types (accordingly, the supplementary component "format"
|
27
|
+
is not made available for these types):
|
28
|
+
|
29
|
+
Date Time. Type on xsd:dateTime
|
30
|
+
Date. Type on xsd:date
|
31
|
+
Time. Type on xsd:time
|
32
|
+
Indicator. Type on xsd:boolean
|
33
|
+
|
34
|
+
Per UBL 2.0 the following supplementary components are restricted to be
|
35
|
+
required rather than optional:
|
36
|
+
|
37
|
+
Amount. Currency. Identifier as (AmountType)/@currencyID
|
38
|
+
Binary Object. Mime. Code as (BinaryObjectType)/@mimeCode
|
39
|
+
Graphic. Mime. Code as (GraphicType)/@mimeCode
|
40
|
+
Picture. Mime. Code as (PictureType)/@mimeCode
|
41
|
+
Sound. Mime. Code as (SoundType)/@mimeCode
|
42
|
+
Video. Mime. Code as (VideoType)/@mimeCode
|
43
|
+
Measure. Unit. Code as (MeasureType)/@unitCode
|
44
|
+
|
45
|
+
All other unqualified data types inherit the core component types complete
|
46
|
+
with their supplementary components.
|
47
|
+
-->
|
48
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
49
|
+
targetNamespace="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2"
|
50
|
+
xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2"
|
51
|
+
xmlns:ccts="urn:un:unece:uncefact:documentation:2"
|
52
|
+
elementFormDefault="qualified"
|
53
|
+
attributeFormDefault="unqualified"
|
54
|
+
version="2.1">
|
55
|
+
<!-- ===== Imports ===== -->
|
56
|
+
<xsd:import schemaLocation="CCTS_CCT_SchemaModule-2.1.xsd"
|
57
|
+
namespace="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2"/>
|
58
|
+
<!-- ===== Type Definitions ===== -->
|
59
|
+
<xsd:complexType name="AmountType">
|
60
|
+
<xsd:annotation>
|
61
|
+
<xsd:documentation xml:lang="en">
|
62
|
+
<ccts:UniqueID>UBLUDT000001</ccts:UniqueID>
|
63
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
64
|
+
<ccts:DictionaryEntryName>Amount. Type</ccts:DictionaryEntryName>
|
65
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
66
|
+
<ccts:Definition>A number of monetary units specified using a given unit of currency.</ccts:Definition>
|
67
|
+
<ccts:RepresentationTermName>Amount</ccts:RepresentationTermName>
|
68
|
+
</xsd:documentation>
|
69
|
+
</xsd:annotation>
|
70
|
+
<xsd:simpleContent>
|
71
|
+
<xsd:restriction base="ccts-cct:AmountType">
|
72
|
+
<xsd:attribute name="currencyID" type="xsd:normalizedString" use="required">
|
73
|
+
<xsd:annotation>
|
74
|
+
<xsd:documentation xml:lang="en">
|
75
|
+
<ccts:UniqueID>UNDT000001-SC2</ccts:UniqueID>
|
76
|
+
<ccts:CategoryCode>SC</ccts:CategoryCode>
|
77
|
+
<ccts:DictionaryEntryName>Amount. Currency. Identifier</ccts:DictionaryEntryName>
|
78
|
+
<ccts:Definition>The currency of the amount.</ccts:Definition>
|
79
|
+
<ccts:ObjectClass>Amount Currency</ccts:ObjectClass>
|
80
|
+
<ccts:PropertyTermName>Identification</ccts:PropertyTermName>
|
81
|
+
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
|
82
|
+
<ccts:PrimitiveType>string</ccts:PrimitiveType>
|
83
|
+
<ccts:UsageRule>Reference UNECE Rec 9, using 3-letter alphabetic codes.</ccts:UsageRule>
|
84
|
+
</xsd:documentation>
|
85
|
+
</xsd:annotation>
|
86
|
+
</xsd:attribute>
|
87
|
+
</xsd:restriction>
|
88
|
+
</xsd:simpleContent>
|
89
|
+
</xsd:complexType>
|
90
|
+
|
91
|
+
<xsd:complexType name="BinaryObjectType">
|
92
|
+
<xsd:annotation>
|
93
|
+
<xsd:documentation xml:lang="en">
|
94
|
+
<ccts:UniqueID>UBLUDT000002</ccts:UniqueID>
|
95
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
96
|
+
<ccts:DictionaryEntryName>Binary Object. Type</ccts:DictionaryEntryName>
|
97
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
98
|
+
<ccts:Definition>A set of finite-length sequences of binary octets.</ccts:Definition>
|
99
|
+
<ccts:RepresentationTermName>Binary Object</ccts:RepresentationTermName>
|
100
|
+
<ccts:PrimitiveType>binary</ccts:PrimitiveType>
|
101
|
+
</xsd:documentation>
|
102
|
+
</xsd:annotation>
|
103
|
+
<xsd:simpleContent>
|
104
|
+
<xsd:restriction base="ccts-cct:BinaryObjectType">
|
105
|
+
<xsd:attribute name="mimeCode" type="xsd:normalizedString" use="required">
|
106
|
+
<xsd:annotation>
|
107
|
+
<xsd:documentation xml:lang="en">
|
108
|
+
<ccts:UniqueID>UNDT000002-SC3</ccts:UniqueID>
|
109
|
+
<ccts:CategoryCode>SC</ccts:CategoryCode>
|
110
|
+
<ccts:DictionaryEntryName>Binary Object. Mime. Code</ccts:DictionaryEntryName>
|
111
|
+
<ccts:Definition>The mime type of the binary object.</ccts:Definition>
|
112
|
+
<ccts:ObjectClass>Binary Object</ccts:ObjectClass>
|
113
|
+
<ccts:PropertyTermName>Mime</ccts:PropertyTermName>
|
114
|
+
<ccts:RepresentationTermName>Code</ccts:RepresentationTermName>
|
115
|
+
<ccts:PrimitiveType>string</ccts:PrimitiveType>
|
116
|
+
</xsd:documentation>
|
117
|
+
</xsd:annotation>
|
118
|
+
</xsd:attribute>
|
119
|
+
</xsd:restriction>
|
120
|
+
</xsd:simpleContent>
|
121
|
+
</xsd:complexType>
|
122
|
+
|
123
|
+
<xsd:complexType name="GraphicType">
|
124
|
+
<xsd:annotation>
|
125
|
+
<xsd:documentation xml:lang="en">
|
126
|
+
<ccts:UniqueID>UBLUDT000003</ccts:UniqueID>
|
127
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
128
|
+
<ccts:DictionaryEntryName>Graphic. Type</ccts:DictionaryEntryName>
|
129
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
130
|
+
<ccts:Definition>A diagram, graph, mathematical curve, or similar representation.</ccts:Definition>
|
131
|
+
<ccts:RepresentationTermName>Graphic</ccts:RepresentationTermName>
|
132
|
+
<ccts:PrimitiveType>binary</ccts:PrimitiveType>
|
133
|
+
</xsd:documentation>
|
134
|
+
</xsd:annotation>
|
135
|
+
<xsd:simpleContent>
|
136
|
+
<xsd:restriction base="ccts-cct:BinaryObjectType">
|
137
|
+
<xsd:attribute name="mimeCode" type="xsd:normalizedString" use="required">
|
138
|
+
<xsd:annotation>
|
139
|
+
<xsd:documentation xml:lang="en">
|
140
|
+
<ccts:UniqueID>UNDT000003-SC3</ccts:UniqueID>
|
141
|
+
<ccts:CategoryCode>SC</ccts:CategoryCode>
|
142
|
+
<ccts:DictionaryEntryName>Graphic. Mime. Code</ccts:DictionaryEntryName>
|
143
|
+
<ccts:Definition>The mime type of the graphic object.</ccts:Definition>
|
144
|
+
<ccts:ObjectClass>Graphic</ccts:ObjectClass>
|
145
|
+
<ccts:PropertyTermName>Mime</ccts:PropertyTermName>
|
146
|
+
<ccts:RepresentationTermName>Code</ccts:RepresentationTermName>
|
147
|
+
<ccts:PrimitiveType>normalizedString</ccts:PrimitiveType>
|
148
|
+
</xsd:documentation>
|
149
|
+
</xsd:annotation>
|
150
|
+
</xsd:attribute>
|
151
|
+
</xsd:restriction>
|
152
|
+
</xsd:simpleContent>
|
153
|
+
</xsd:complexType>
|
154
|
+
|
155
|
+
<xsd:complexType name="PictureType">
|
156
|
+
<xsd:annotation>
|
157
|
+
<xsd:documentation xml:lang="en">
|
158
|
+
<ccts:UniqueID>UBLUDT000004</ccts:UniqueID>
|
159
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
160
|
+
<ccts:DictionaryEntryName>Picture. Type</ccts:DictionaryEntryName>
|
161
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
162
|
+
<ccts:Definition>A diagram, graph, mathematical curve, or similar representation.</ccts:Definition>
|
163
|
+
<ccts:RepresentationTermName>Picture</ccts:RepresentationTermName>
|
164
|
+
<ccts:PrimitiveType>binary</ccts:PrimitiveType>
|
165
|
+
</xsd:documentation>
|
166
|
+
</xsd:annotation>
|
167
|
+
<xsd:simpleContent>
|
168
|
+
<xsd:restriction base="ccts-cct:BinaryObjectType">
|
169
|
+
<xsd:attribute name="mimeCode" type="xsd:normalizedString" use="required">
|
170
|
+
<xsd:annotation>
|
171
|
+
<xsd:documentation xml:lang="en">
|
172
|
+
<ccts:UniqueID>UNDT000004-SC3</ccts:UniqueID>
|
173
|
+
<ccts:CategoryCode>SC</ccts:CategoryCode>
|
174
|
+
<ccts:DictionaryEntryName>Picture. Mime. Code</ccts:DictionaryEntryName>
|
175
|
+
<ccts:Definition>The mime type of the picture object.</ccts:Definition>
|
176
|
+
<ccts:ObjectClass>Picture</ccts:ObjectClass>
|
177
|
+
<ccts:PropertyTermName>Mime</ccts:PropertyTermName>
|
178
|
+
<ccts:RepresentationTermName>Code</ccts:RepresentationTermName>
|
179
|
+
<ccts:PrimitiveType>normalizedString</ccts:PrimitiveType>
|
180
|
+
</xsd:documentation>
|
181
|
+
</xsd:annotation>
|
182
|
+
</xsd:attribute>
|
183
|
+
</xsd:restriction>
|
184
|
+
</xsd:simpleContent>
|
185
|
+
</xsd:complexType>
|
186
|
+
|
187
|
+
<xsd:complexType name="SoundType">
|
188
|
+
<xsd:annotation>
|
189
|
+
<xsd:documentation xml:lang="en">
|
190
|
+
<ccts:UniqueID>UBLUDT000005</ccts:UniqueID>
|
191
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
192
|
+
<ccts:DictionaryEntryName>Sound. Type</ccts:DictionaryEntryName>
|
193
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
194
|
+
<ccts:Definition>An audio representation.</ccts:Definition>
|
195
|
+
<ccts:RepresentationTermName>Sound</ccts:RepresentationTermName>
|
196
|
+
<ccts:PrimitiveType>binary</ccts:PrimitiveType>
|
197
|
+
</xsd:documentation>
|
198
|
+
</xsd:annotation>
|
199
|
+
<xsd:simpleContent>
|
200
|
+
<xsd:restriction base="ccts-cct:BinaryObjectType">
|
201
|
+
<xsd:attribute name="mimeCode" type="xsd:normalizedString" use="required">
|
202
|
+
<xsd:annotation>
|
203
|
+
<xsd:documentation xml:lang="en">
|
204
|
+
<ccts:UniqueID>UNDT000005-SC3</ccts:UniqueID>
|
205
|
+
<ccts:CategoryCode>SC</ccts:CategoryCode>
|
206
|
+
<ccts:DictionaryEntryName>Sound. Mime. Code</ccts:DictionaryEntryName>
|
207
|
+
<ccts:Definition>The mime type of the sound object.</ccts:Definition>
|
208
|
+
<ccts:ObjectClass>Sound</ccts:ObjectClass>
|
209
|
+
<ccts:PropertyTermName>Mime</ccts:PropertyTermName>
|
210
|
+
<ccts:RepresentationTermName>Code</ccts:RepresentationTermName>
|
211
|
+
<ccts:PrimitiveType>normalizedString</ccts:PrimitiveType>
|
212
|
+
</xsd:documentation>
|
213
|
+
</xsd:annotation>
|
214
|
+
</xsd:attribute>
|
215
|
+
</xsd:restriction>
|
216
|
+
</xsd:simpleContent>
|
217
|
+
</xsd:complexType>
|
218
|
+
|
219
|
+
<xsd:complexType name="VideoType">
|
220
|
+
<xsd:annotation>
|
221
|
+
<xsd:documentation xml:lang="en">
|
222
|
+
<ccts:UniqueID>UBLUDT000006</ccts:UniqueID>
|
223
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
224
|
+
<ccts:DictionaryEntryName>Video. Type</ccts:DictionaryEntryName>
|
225
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
226
|
+
<ccts:Definition>A video representation.</ccts:Definition>
|
227
|
+
<ccts:RepresentationTermName>Video</ccts:RepresentationTermName>
|
228
|
+
<ccts:PrimitiveType>binary</ccts:PrimitiveType>
|
229
|
+
</xsd:documentation>
|
230
|
+
</xsd:annotation>
|
231
|
+
<xsd:simpleContent>
|
232
|
+
<xsd:restriction base="ccts-cct:BinaryObjectType">
|
233
|
+
<xsd:attribute name="mimeCode" type="xsd:normalizedString" use="required">
|
234
|
+
<xsd:annotation>
|
235
|
+
<xsd:documentation xml:lang="en">
|
236
|
+
<ccts:UniqueID>UNDT000006-SC3</ccts:UniqueID>
|
237
|
+
<ccts:CategoryCode>SC</ccts:CategoryCode>
|
238
|
+
<ccts:DictionaryEntryName>Video. Mime. Code</ccts:DictionaryEntryName>
|
239
|
+
<ccts:Definition>The mime type of the video object.</ccts:Definition>
|
240
|
+
<ccts:ObjectClass>Video</ccts:ObjectClass>
|
241
|
+
<ccts:PropertyTermName>Mime</ccts:PropertyTermName>
|
242
|
+
<ccts:RepresentationTermName>Code</ccts:RepresentationTermName>
|
243
|
+
<ccts:PrimitiveType>normalizedString</ccts:PrimitiveType>
|
244
|
+
</xsd:documentation>
|
245
|
+
</xsd:annotation>
|
246
|
+
</xsd:attribute>
|
247
|
+
</xsd:restriction>
|
248
|
+
</xsd:simpleContent>
|
249
|
+
</xsd:complexType>
|
250
|
+
|
251
|
+
<xsd:complexType name="CodeType">
|
252
|
+
<xsd:annotation>
|
253
|
+
<xsd:documentation xml:lang="en">
|
254
|
+
<ccts:UniqueID>UBLUDT000007</ccts:UniqueID>
|
255
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
256
|
+
<ccts:DictionaryEntryName>Code. Type</ccts:DictionaryEntryName>
|
257
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
258
|
+
<ccts:Definition>A character string (letters, figures, or symbols) that for brevity and/or language independence may be used to represent or replace a definitive value or text of an attribute, together with relevant supplementary information.</ccts:Definition>
|
259
|
+
<ccts:RepresentationTermName>Code</ccts:RepresentationTermName>
|
260
|
+
<ccts:PrimitiveType>string</ccts:PrimitiveType>
|
261
|
+
<ccts:UsageRule>Other supplementary components in the CCT are captured as part of the token and name for the schema module containing the code list and thus, are not declared as attributes. </ccts:UsageRule>
|
262
|
+
</xsd:documentation>
|
263
|
+
</xsd:annotation>
|
264
|
+
<xsd:simpleContent>
|
265
|
+
<xsd:extension base="ccts-cct:CodeType"/>
|
266
|
+
</xsd:simpleContent>
|
267
|
+
</xsd:complexType>
|
268
|
+
|
269
|
+
<xsd:complexType name="DateTimeType">
|
270
|
+
<xsd:annotation>
|
271
|
+
<xsd:documentation xml:lang="en">
|
272
|
+
<ccts:UniqueID>UBLUDT000008</ccts:UniqueID>
|
273
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
274
|
+
<ccts:DictionaryEntryName>Date Time. Type</ccts:DictionaryEntryName>
|
275
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
276
|
+
<ccts:Definition>A particular point in the progression of time, together with relevant supplementary information.</ccts:Definition>
|
277
|
+
<ccts:RepresentationTermName>Date Time</ccts:RepresentationTermName>
|
278
|
+
<ccts:PrimitiveType>string</ccts:PrimitiveType>
|
279
|
+
<ccts:UsageRule>Can be used for a date and/or time.</ccts:UsageRule>
|
280
|
+
</xsd:documentation>
|
281
|
+
</xsd:annotation>
|
282
|
+
<xsd:simpleContent>
|
283
|
+
<xsd:extension base="xsd:dateTime"/>
|
284
|
+
</xsd:simpleContent>
|
285
|
+
</xsd:complexType>
|
286
|
+
|
287
|
+
<xsd:complexType name="DateType">
|
288
|
+
<xsd:annotation>
|
289
|
+
<xsd:documentation xml:lang="en">
|
290
|
+
<ccts:UniqueID>UBLUDT000009</ccts:UniqueID>
|
291
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
292
|
+
<ccts:DictionaryEntryName>Date. Type</ccts:DictionaryEntryName>
|
293
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
294
|
+
<ccts:Definition>One calendar day according the Gregorian calendar.</ccts:Definition>
|
295
|
+
<ccts:RepresentationTermName>Date</ccts:RepresentationTermName>
|
296
|
+
<ccts:PrimitiveType>string</ccts:PrimitiveType>
|
297
|
+
</xsd:documentation>
|
298
|
+
</xsd:annotation>
|
299
|
+
<xsd:simpleContent>
|
300
|
+
<xsd:extension base="xsd:date"/>
|
301
|
+
</xsd:simpleContent>
|
302
|
+
</xsd:complexType>
|
303
|
+
|
304
|
+
<xsd:complexType name="TimeType">
|
305
|
+
<xsd:annotation>
|
306
|
+
<xsd:documentation xml:lang="en">
|
307
|
+
<ccts:UniqueID>UBLUDT0000010</ccts:UniqueID>
|
308
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
309
|
+
<ccts:DictionaryEntryName>Time. Type</ccts:DictionaryEntryName>
|
310
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
311
|
+
<ccts:Definition>An instance of time that occurs every day.</ccts:Definition>
|
312
|
+
<ccts:RepresentationTermName>Time</ccts:RepresentationTermName>
|
313
|
+
<ccts:PrimitiveType>string</ccts:PrimitiveType>
|
314
|
+
</xsd:documentation>
|
315
|
+
</xsd:annotation>
|
316
|
+
<xsd:simpleContent>
|
317
|
+
<xsd:extension base="xsd:time"/>
|
318
|
+
</xsd:simpleContent>
|
319
|
+
</xsd:complexType>
|
320
|
+
|
321
|
+
<xsd:complexType name="IdentifierType">
|
322
|
+
<xsd:annotation>
|
323
|
+
<xsd:documentation xml:lang="en">
|
324
|
+
<ccts:UniqueID>UBLUDT0000011</ccts:UniqueID>
|
325
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
326
|
+
<ccts:DictionaryEntryName>Identifier. Type</ccts:DictionaryEntryName>
|
327
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
328
|
+
<ccts:Definition>A character string to identify and uniquely distinguish one instance of an object in an identification scheme from all other objects in the same scheme, together with relevant supplementary information.</ccts:Definition>
|
329
|
+
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
|
330
|
+
<ccts:PrimitiveType>string</ccts:PrimitiveType>
|
331
|
+
<ccts:UsageRule>Other supplementary components in the CCT are captured as part of the token and name for the schema module containing the identifier list and thus, are not declared as attributes. </ccts:UsageRule>
|
332
|
+
</xsd:documentation>
|
333
|
+
</xsd:annotation>
|
334
|
+
<xsd:simpleContent>
|
335
|
+
<xsd:extension base="ccts-cct:IdentifierType"/>
|
336
|
+
</xsd:simpleContent>
|
337
|
+
</xsd:complexType>
|
338
|
+
|
339
|
+
<xsd:complexType name="IndicatorType">
|
340
|
+
<xsd:annotation>
|
341
|
+
<xsd:documentation xml:lang="en">
|
342
|
+
<ccts:UniqueID>UBLUDT0000012</ccts:UniqueID>
|
343
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
344
|
+
<ccts:DictionaryEntryName>Indicator. Type</ccts:DictionaryEntryName>
|
345
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
346
|
+
<ccts:Definition>A list of two mutually exclusive Boolean values that express the only possible states of a property.</ccts:Definition>
|
347
|
+
<ccts:RepresentationTermName>Indicator</ccts:RepresentationTermName>
|
348
|
+
<ccts:PrimitiveType>string</ccts:PrimitiveType>
|
349
|
+
</xsd:documentation>
|
350
|
+
</xsd:annotation>
|
351
|
+
<xsd:simpleContent>
|
352
|
+
<xsd:extension base="xsd:boolean"/>
|
353
|
+
</xsd:simpleContent>
|
354
|
+
</xsd:complexType>
|
355
|
+
|
356
|
+
<xsd:complexType name="MeasureType">
|
357
|
+
<xsd:annotation>
|
358
|
+
<xsd:documentation xml:lang="en">
|
359
|
+
<ccts:UniqueID>UBLUDT0000013</ccts:UniqueID>
|
360
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
361
|
+
<ccts:DictionaryEntryName>Measure. Type</ccts:DictionaryEntryName>
|
362
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
363
|
+
<ccts:Definition>A numeric value determined by measuring an object using a specified unit of measure.</ccts:Definition>
|
364
|
+
<ccts:RepresentationTermName>Measure</ccts:RepresentationTermName>
|
365
|
+
<ccts:PropertyTermName>Type</ccts:PropertyTermName>
|
366
|
+
<ccts:PrimitiveType>decimal</ccts:PrimitiveType>
|
367
|
+
</xsd:documentation>
|
368
|
+
</xsd:annotation>
|
369
|
+
<xsd:simpleContent>
|
370
|
+
<xsd:restriction base="ccts-cct:MeasureType">
|
371
|
+
<xsd:attribute name="unitCode" type="xsd:normalizedString" use="required">
|
372
|
+
<xsd:annotation>
|
373
|
+
<xsd:documentation xml:lang="en">
|
374
|
+
<ccts:UniqueID>UNDT000013-SC2</ccts:UniqueID>
|
375
|
+
<ccts:CategoryCode>SC</ccts:CategoryCode>
|
376
|
+
<ccts:DictionaryEntryName>Measure. Unit. Code</ccts:DictionaryEntryName>
|
377
|
+
<ccts:Definition>The type of unit of measure.</ccts:Definition>
|
378
|
+
<ccts:ObjectClass>Measure Unit</ccts:ObjectClass>
|
379
|
+
<ccts:PropertyTermName>Code</ccts:PropertyTermName>
|
380
|
+
<ccts:RepresentationTermName>Code</ccts:RepresentationTermName>
|
381
|
+
<ccts:PrimitiveType>normalizedString</ccts:PrimitiveType>
|
382
|
+
<ccts:UsageRule>Reference UNECE Rec. 20 and X12 355</ccts:UsageRule>
|
383
|
+
</xsd:documentation>
|
384
|
+
</xsd:annotation>
|
385
|
+
</xsd:attribute>
|
386
|
+
</xsd:restriction>
|
387
|
+
</xsd:simpleContent>
|
388
|
+
</xsd:complexType>
|
389
|
+
|
390
|
+
<xsd:complexType name="NumericType">
|
391
|
+
<xsd:annotation>
|
392
|
+
<xsd:documentation xml:lang="en">
|
393
|
+
<ccts:UniqueID>UBLUDT0000014</ccts:UniqueID>
|
394
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
395
|
+
<ccts:DictionaryEntryName>Numeric. Type</ccts:DictionaryEntryName>
|
396
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
397
|
+
<ccts:Definition>Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure.</ccts:Definition>
|
398
|
+
<ccts:RepresentationTermName>Numeric</ccts:RepresentationTermName>
|
399
|
+
<ccts:PrimitiveType>string</ccts:PrimitiveType>
|
400
|
+
</xsd:documentation>
|
401
|
+
</xsd:annotation>
|
402
|
+
<xsd:simpleContent>
|
403
|
+
<xsd:extension base="ccts-cct:NumericType"/>
|
404
|
+
</xsd:simpleContent>
|
405
|
+
</xsd:complexType>
|
406
|
+
|
407
|
+
<xsd:complexType name="ValueType">
|
408
|
+
<xsd:annotation>
|
409
|
+
<xsd:documentation xml:lang="en">
|
410
|
+
<ccts:UniqueID>UBLUDT0000015</ccts:UniqueID>
|
411
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
412
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
413
|
+
<ccts:DictionaryEntryName>Value. Type</ccts:DictionaryEntryName>
|
414
|
+
<ccts:Definition>Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure.</ccts:Definition>
|
415
|
+
<ccts:RepresentationTermName>Value</ccts:RepresentationTermName>
|
416
|
+
<ccts:PrimitiveType>string</ccts:PrimitiveType>
|
417
|
+
</xsd:documentation>
|
418
|
+
</xsd:annotation>
|
419
|
+
<xsd:simpleContent>
|
420
|
+
<xsd:extension base="ccts-cct:NumericType"/>
|
421
|
+
</xsd:simpleContent>
|
422
|
+
</xsd:complexType>
|
423
|
+
|
424
|
+
<xsd:complexType name="PercentType">
|
425
|
+
<xsd:annotation>
|
426
|
+
<xsd:documentation xml:lang="en">
|
427
|
+
<ccts:UniqueID>UBLUDT0000016</ccts:UniqueID>
|
428
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
429
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
430
|
+
<ccts:DictionaryEntryName>Percent. Type</ccts:DictionaryEntryName>
|
431
|
+
<ccts:Definition>Numeric information that is assigned or is determined by calculation, counting, or sequencing and is expressed as a percentage. It does not require a unit of quantity or unit of measure.</ccts:Definition>
|
432
|
+
<ccts:RepresentationTermName>Percent</ccts:RepresentationTermName>
|
433
|
+
<ccts:PrimitiveType>string</ccts:PrimitiveType>
|
434
|
+
</xsd:documentation>
|
435
|
+
</xsd:annotation>
|
436
|
+
<xsd:simpleContent>
|
437
|
+
<xsd:extension base="ccts-cct:NumericType"/>
|
438
|
+
</xsd:simpleContent>
|
439
|
+
</xsd:complexType>
|
440
|
+
|
441
|
+
<xsd:complexType name="RateType">
|
442
|
+
<xsd:annotation>
|
443
|
+
<xsd:documentation xml:lang="en">
|
444
|
+
<ccts:UniqueID>UBLUDT0000017</ccts:UniqueID>
|
445
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
446
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
447
|
+
<ccts:DictionaryEntryName>Rate. Type</ccts:DictionaryEntryName>
|
448
|
+
<ccts:Definition>A numeric expression of a rate that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure.</ccts:Definition>
|
449
|
+
<ccts:RepresentationTermName>Rate</ccts:RepresentationTermName>
|
450
|
+
<ccts:PrimitiveType>string</ccts:PrimitiveType>
|
451
|
+
</xsd:documentation>
|
452
|
+
</xsd:annotation>
|
453
|
+
<xsd:simpleContent>
|
454
|
+
<xsd:extension base="ccts-cct:NumericType"/>
|
455
|
+
</xsd:simpleContent>
|
456
|
+
</xsd:complexType>
|
457
|
+
|
458
|
+
<xsd:complexType name="QuantityType">
|
459
|
+
<xsd:annotation>
|
460
|
+
<xsd:documentation xml:lang="en">
|
461
|
+
<ccts:UniqueID>UBLUDT0000018</ccts:UniqueID>
|
462
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
463
|
+
<ccts:DictionaryEntryName>Quantity. Type</ccts:DictionaryEntryName>
|
464
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
465
|
+
<ccts:Definition>A counted number of non-monetary units, possibly including a fractional part.</ccts:Definition>
|
466
|
+
<ccts:RepresentationTermName>Quantity</ccts:RepresentationTermName>
|
467
|
+
<ccts:PrimitiveType>decimal</ccts:PrimitiveType>
|
468
|
+
</xsd:documentation>
|
469
|
+
</xsd:annotation>
|
470
|
+
<xsd:simpleContent>
|
471
|
+
<xsd:extension base="ccts-cct:QuantityType"/>
|
472
|
+
</xsd:simpleContent>
|
473
|
+
</xsd:complexType>
|
474
|
+
|
475
|
+
<xsd:complexType name="TextType">
|
476
|
+
<xsd:annotation>
|
477
|
+
<xsd:documentation xml:lang="en">
|
478
|
+
<ccts:UniqueID>UBLUDT0000019</ccts:UniqueID>
|
479
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
480
|
+
<ccts:DictionaryEntryName>Text. Type</ccts:DictionaryEntryName>
|
481
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
482
|
+
<ccts:Definition>A character string (i.e. a finite set of characters), generally in the form of words of a language.</ccts:Definition>
|
483
|
+
<ccts:RepresentationTermName>Text</ccts:RepresentationTermName>
|
484
|
+
<ccts:PrimitiveType>string</ccts:PrimitiveType>
|
485
|
+
</xsd:documentation>
|
486
|
+
</xsd:annotation>
|
487
|
+
<xsd:simpleContent>
|
488
|
+
<xsd:extension base="ccts-cct:TextType"/>
|
489
|
+
</xsd:simpleContent>
|
490
|
+
</xsd:complexType>
|
491
|
+
|
492
|
+
<xsd:complexType name="NameType">
|
493
|
+
<xsd:annotation>
|
494
|
+
<xsd:documentation xml:lang="en">
|
495
|
+
<ccts:UniqueID>UBLUDT0000020</ccts:UniqueID>
|
496
|
+
<ccts:CategoryCode>UDT</ccts:CategoryCode>
|
497
|
+
<ccts:DictionaryEntryName>Name. Type</ccts:DictionaryEntryName>
|
498
|
+
<ccts:VersionID>1.0</ccts:VersionID>
|
499
|
+
<ccts:Definition>A character string that constitutes the distinctive designation of a person, place, thing or concept.</ccts:Definition>
|
500
|
+
<ccts:RepresentationTermName>Name</ccts:RepresentationTermName>
|
501
|
+
<ccts:PrimitiveType>string</ccts:PrimitiveType>
|
502
|
+
</xsd:documentation>
|
503
|
+
</xsd:annotation>
|
504
|
+
<xsd:simpleContent>
|
505
|
+
<xsd:extension base="ccts-cct:TextType"/>
|
506
|
+
</xsd:simpleContent>
|
507
|
+
</xsd:complexType>
|
508
|
+
</xsd:schema><!-- ===== Copyright Notice ===== --><!--
|
509
|
+
OASIS takes no position regarding the validity or scope of any
|
510
|
+
intellectual property or other rights that might be claimed to pertain
|
511
|
+
to the implementation or use of the technology described in this
|
512
|
+
document or the extent to which any license under such rights
|
513
|
+
might or might not be available; neither does it represent that it has
|
514
|
+
made any effort to identify any such rights. Information on OASIS's
|
515
|
+
procedures with respect to rights in OASIS specifications can be
|
516
|
+
found at the OASIS website. Copies of claims of rights made
|
517
|
+
available for publication and any assurances of licenses to be made
|
518
|
+
available, or the result of an attempt made to obtain a general
|
519
|
+
license or permission for the use of such proprietary rights by
|
520
|
+
implementors or users of this specification, can be obtained from
|
521
|
+
the OASIS Executive Director.
|
522
|
+
|
523
|
+
OASIS invites any interested party to bring to its attention any
|
524
|
+
copyrights, patents or patent applications, or other proprietary
|
525
|
+
rights which may cover technology that may be required to
|
526
|
+
implement this specification. Please address the information to the
|
527
|
+
OASIS Executive Director.
|
528
|
+
|
529
|
+
This document and translations of it may be copied and furnished to
|
530
|
+
others, and derivative works that comment on or otherwise explain
|
531
|
+
it or assist in its implementation may be prepared, copied,
|
532
|
+
published and distributed, in whole or in part, without restriction of
|
533
|
+
any kind, provided that the above copyright notice and this
|
534
|
+
paragraph are included on all such copies and derivative works.
|
535
|
+
However, this document itself may not be modified in any way,
|
536
|
+
such as by removing the copyright notice or references to OASIS,
|
537
|
+
except as needed for the purpose of developing OASIS
|
538
|
+
specifications, in which case the procedures for copyrights defined
|
539
|
+
in the OASIS Intellectual Property Rights document must be
|
540
|
+
followed, or as required to translate it into languages other than
|
541
|
+
English.
|
542
|
+
|
543
|
+
The limited permissions granted above are perpetual and will not be
|
544
|
+
revoked by OASIS or its successors or assigns.
|
545
|
+
|
546
|
+
This document and the information contained herein is provided on
|
547
|
+
an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES,
|
548
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY
|
549
|
+
WARRANTY THAT THE USE OF THE INFORMATION HEREIN
|
550
|
+
WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
|
551
|
+
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
|
552
|
+
PARTICULAR PURPOSE.
|
553
|
+
-->
|