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.
- checksums.yaml +4 -4
- data/README.md +16 -5
- data/lib/ubl/builder.rb +2 -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 +31 -2
- 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 -3
@@ -0,0 +1,476 @@
|
|
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-XAdESv132-2.1.xsd
|
7
|
+
Generated on: 2011-02-21 17:20(UTC)
|
8
|
+
|
9
|
+
This is a copy of http://uri.etsi.org/01903/v1.3.2/XAdES.xsd modified
|
10
|
+
only to change the importing URI for the XML DSig schema.
|
11
|
+
-->
|
12
|
+
<xsd:schema targetNamespace="http://uri.etsi.org/01903/v1.3.2#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://uri.etsi.org/01903/v1.3.2#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" elementFormDefault="qualified">
|
13
|
+
<xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="UBL-xmldsig-core-schema-2.1.xsd"/>
|
14
|
+
<!-- Start auxiliary types definitions: AnyType, ObjectIdentifierType,
|
15
|
+
EncapsulatedPKIDataType and containers for time-stamp tokens -->
|
16
|
+
<!-- Start AnyType -->
|
17
|
+
<xsd:element name="Any" type="AnyType"/>
|
18
|
+
<xsd:complexType name="AnyType" mixed="true">
|
19
|
+
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
|
20
|
+
<xsd:any namespace="##any" processContents="lax"/>
|
21
|
+
</xsd:sequence>
|
22
|
+
<xsd:anyAttribute namespace="##any"/>
|
23
|
+
</xsd:complexType>
|
24
|
+
<!-- End AnyType -->
|
25
|
+
<!-- Start ObjectIdentifierType-->
|
26
|
+
<xsd:element name="ObjectIdentifier" type="ObjectIdentifierType"/>
|
27
|
+
<xsd:complexType name="ObjectIdentifierType">
|
28
|
+
<xsd:sequence>
|
29
|
+
<xsd:element name="Identifier" type="IdentifierType"/>
|
30
|
+
<xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
31
|
+
<xsd:element name="DocumentationReferences" type="DocumentationReferencesType" minOccurs="0"/>
|
32
|
+
</xsd:sequence>
|
33
|
+
</xsd:complexType>
|
34
|
+
<xsd:complexType name="IdentifierType">
|
35
|
+
<xsd:simpleContent>
|
36
|
+
<xsd:extension base="xsd:anyURI">
|
37
|
+
<xsd:attribute name="Qualifier" type="QualifierType" use="optional"/>
|
38
|
+
</xsd:extension>
|
39
|
+
</xsd:simpleContent>
|
40
|
+
</xsd:complexType>
|
41
|
+
<xsd:simpleType name="QualifierType">
|
42
|
+
<xsd:restriction base="xsd:string">
|
43
|
+
<xsd:enumeration value="OIDAsURI"/>
|
44
|
+
<xsd:enumeration value="OIDAsURN"/>
|
45
|
+
</xsd:restriction>
|
46
|
+
</xsd:simpleType>
|
47
|
+
<xsd:complexType name="DocumentationReferencesType">
|
48
|
+
<xsd:sequence maxOccurs="unbounded">
|
49
|
+
<xsd:element name="DocumentationReference" type="xsd:anyURI"/>
|
50
|
+
</xsd:sequence>
|
51
|
+
</xsd:complexType>
|
52
|
+
<!-- End ObjectIdentifierType-->
|
53
|
+
<!-- Start EncapsulatedPKIDataType-->
|
54
|
+
<xsd:element name="EncapsulatedPKIData" type="EncapsulatedPKIDataType"/>
|
55
|
+
<xsd:complexType name="EncapsulatedPKIDataType">
|
56
|
+
<xsd:simpleContent>
|
57
|
+
<xsd:extension base="xsd:base64Binary">
|
58
|
+
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
|
59
|
+
<xsd:attribute name="Encoding" type="xsd:anyURI" use="optional"/>
|
60
|
+
</xsd:extension>
|
61
|
+
</xsd:simpleContent>
|
62
|
+
</xsd:complexType>
|
63
|
+
<!-- End EncapsulatedPKIDataType -->
|
64
|
+
<!-- Start time-stamp containers types -->
|
65
|
+
<!-- Start GenericTimeStampType -->
|
66
|
+
<xsd:element name="Include" type="IncludeType"/>
|
67
|
+
<xsd:complexType name="IncludeType">
|
68
|
+
<xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
|
69
|
+
<xsd:attribute name="referencedData" type="xsd:boolean" use="optional"/>
|
70
|
+
</xsd:complexType>
|
71
|
+
<xsd:element name="ReferenceInfo" type="ReferenceInfoType"/>
|
72
|
+
<xsd:complexType name="ReferenceInfoType">
|
73
|
+
<xsd:sequence>
|
74
|
+
<xsd:element ref="ds:DigestMethod"/>
|
75
|
+
<xsd:element ref="ds:DigestValue"/>
|
76
|
+
</xsd:sequence>
|
77
|
+
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
|
78
|
+
<xsd:attribute name="URI" type="xsd:anyURI" use="optional"/>
|
79
|
+
</xsd:complexType>
|
80
|
+
<xsd:complexType name="GenericTimeStampType" abstract="true">
|
81
|
+
<xsd:sequence>
|
82
|
+
<xsd:choice minOccurs="0">
|
83
|
+
<xsd:element ref="Include" minOccurs="0" maxOccurs="unbounded"/>
|
84
|
+
<xsd:element ref="ReferenceInfo" maxOccurs="unbounded"/>
|
85
|
+
</xsd:choice>
|
86
|
+
<xsd:element ref="ds:CanonicalizationMethod" minOccurs="0"/>
|
87
|
+
<xsd:choice maxOccurs="unbounded">
|
88
|
+
<xsd:element name="EncapsulatedTimeStamp" type="EncapsulatedPKIDataType"/>
|
89
|
+
<xsd:element name="XMLTimeStamp" type="AnyType"/>
|
90
|
+
</xsd:choice>
|
91
|
+
</xsd:sequence>
|
92
|
+
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
|
93
|
+
</xsd:complexType>
|
94
|
+
<!-- End GenericTimeStampType -->
|
95
|
+
<!-- Start XAdESTimeStampType -->
|
96
|
+
<xsd:element name="XAdESTimeStamp" type="XAdESTimeStampType"/>
|
97
|
+
<xsd:complexType name="XAdESTimeStampType">
|
98
|
+
<xsd:complexContent>
|
99
|
+
<xsd:restriction base="GenericTimeStampType">
|
100
|
+
<xsd:sequence>
|
101
|
+
<xsd:element ref="Include" minOccurs="0" maxOccurs="unbounded"/>
|
102
|
+
<xsd:element ref="ds:CanonicalizationMethod" minOccurs="0"/>
|
103
|
+
<xsd:choice maxOccurs="unbounded">
|
104
|
+
<xsd:element name="EncapsulatedTimeStamp" type="EncapsulatedPKIDataType"/>
|
105
|
+
<xsd:element name="XMLTimeStamp" type="AnyType"/>
|
106
|
+
</xsd:choice>
|
107
|
+
</xsd:sequence>
|
108
|
+
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
|
109
|
+
</xsd:restriction>
|
110
|
+
</xsd:complexContent>
|
111
|
+
</xsd:complexType>
|
112
|
+
<!-- End XAdESTimeStampType -->
|
113
|
+
<!-- Start OtherTimeStampType -->
|
114
|
+
<xsd:element name="OtherTimeStamp" type="OtherTimeStampType"/>
|
115
|
+
<xsd:complexType name="OtherTimeStampType">
|
116
|
+
<xsd:complexContent>
|
117
|
+
<xsd:restriction base="GenericTimeStampType">
|
118
|
+
<xsd:sequence>
|
119
|
+
<xsd:element ref="ReferenceInfo" maxOccurs="unbounded"/>
|
120
|
+
<xsd:element ref="ds:CanonicalizationMethod" minOccurs="0"/>
|
121
|
+
<xsd:choice>
|
122
|
+
<xsd:element name="EncapsulatedTimeStamp" type="EncapsulatedPKIDataType"/>
|
123
|
+
<xsd:element name="XMLTimeStamp" type="AnyType"/>
|
124
|
+
</xsd:choice>
|
125
|
+
</xsd:sequence>
|
126
|
+
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
|
127
|
+
</xsd:restriction>
|
128
|
+
</xsd:complexContent>
|
129
|
+
</xsd:complexType>
|
130
|
+
<!-- End OtherTimeStampType -->
|
131
|
+
<!-- End time-stamp containers types -->
|
132
|
+
<!-- End auxiliary types definitions-->
|
133
|
+
<!-- Start container types -->
|
134
|
+
<!-- Start QualifyingProperties -->
|
135
|
+
<xsd:element name="QualifyingProperties" type="QualifyingPropertiesType"/>
|
136
|
+
<xsd:complexType name="QualifyingPropertiesType">
|
137
|
+
<xsd:sequence>
|
138
|
+
<xsd:element name="SignedProperties" type="SignedPropertiesType" minOccurs="0"/>
|
139
|
+
<xsd:element name="UnsignedProperties" type="UnsignedPropertiesType" minOccurs="0"/>
|
140
|
+
</xsd:sequence>
|
141
|
+
<xsd:attribute name="Target" type="xsd:anyURI" use="required"/>
|
142
|
+
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
|
143
|
+
</xsd:complexType>
|
144
|
+
<!-- End QualifyingProperties -->
|
145
|
+
<!-- Start SignedProperties-->
|
146
|
+
<xsd:element name="SignedProperties" type="SignedPropertiesType"/>
|
147
|
+
<xsd:complexType name="SignedPropertiesType">
|
148
|
+
<xsd:sequence>
|
149
|
+
<xsd:element name="SignedSignatureProperties" type="SignedSignaturePropertiesType" minOccurs="0"/>
|
150
|
+
<xsd:element name="SignedDataObjectProperties" type="SignedDataObjectPropertiesType" minOccurs="0"/>
|
151
|
+
</xsd:sequence>
|
152
|
+
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
|
153
|
+
</xsd:complexType>
|
154
|
+
<!-- End SignedProperties-->
|
155
|
+
<!-- Start UnsignedProperties-->
|
156
|
+
<xsd:element name="UnsignedProperties" type="UnsignedPropertiesType"/>
|
157
|
+
<xsd:complexType name="UnsignedPropertiesType">
|
158
|
+
<xsd:sequence>
|
159
|
+
<xsd:element name="UnsignedSignatureProperties" type="UnsignedSignaturePropertiesType" minOccurs="0"/>
|
160
|
+
<xsd:element name="UnsignedDataObjectProperties" type="UnsignedDataObjectPropertiesType" minOccurs="0"/>
|
161
|
+
</xsd:sequence>
|
162
|
+
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
|
163
|
+
</xsd:complexType>
|
164
|
+
<!-- End UnsignedProperties-->
|
165
|
+
<!-- Start SignedSignatureProperties-->
|
166
|
+
<xsd:element name="SignedSignatureProperties" type="SignedSignaturePropertiesType"/>
|
167
|
+
<xsd:complexType name="SignedSignaturePropertiesType">
|
168
|
+
<xsd:sequence>
|
169
|
+
<xsd:element name="SigningTime" type="xsd:dateTime" minOccurs="0"/>
|
170
|
+
<xsd:element name="SigningCertificate" type="CertIDListType" minOccurs="0"/>
|
171
|
+
<xsd:element name="SignaturePolicyIdentifier" type="SignaturePolicyIdentifierType" minOccurs="0"/>
|
172
|
+
<xsd:element name="SignatureProductionPlace" type="SignatureProductionPlaceType" minOccurs="0"/>
|
173
|
+
<xsd:element name="SignerRole" type="SignerRoleType" minOccurs="0"/>
|
174
|
+
</xsd:sequence>
|
175
|
+
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
|
176
|
+
</xsd:complexType>
|
177
|
+
<!-- End SignedSignatureProperties-->
|
178
|
+
<!-- Start SignedDataObjectProperties-->
|
179
|
+
<xsd:element name="SignedDataObjectProperties" type="SignedDataObjectPropertiesType"/>
|
180
|
+
<xsd:complexType name="SignedDataObjectPropertiesType">
|
181
|
+
<xsd:sequence>
|
182
|
+
<xsd:element name="DataObjectFormat" type="DataObjectFormatType" minOccurs="0" maxOccurs="unbounded"/>
|
183
|
+
<xsd:element name="CommitmentTypeIndication" type="CommitmentTypeIndicationType" minOccurs="0" maxOccurs="unbounded"/>
|
184
|
+
<xsd:element name="AllDataObjectsTimeStamp" type="XAdESTimeStampType" minOccurs="0" maxOccurs="unbounded"/>
|
185
|
+
<xsd:element name="IndividualDataObjectsTimeStamp" type="XAdESTimeStampType" minOccurs="0" maxOccurs="unbounded"/>
|
186
|
+
</xsd:sequence>
|
187
|
+
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
|
188
|
+
</xsd:complexType>
|
189
|
+
<!-- End SignedDataObjectProperties-->
|
190
|
+
<!-- Start UnsignedSignatureProperties-->
|
191
|
+
<xsd:element name="UnsignedSignatureProperties" type="UnsignedSignaturePropertiesType"/>
|
192
|
+
<xsd:complexType name="UnsignedSignaturePropertiesType">
|
193
|
+
<xsd:choice maxOccurs="unbounded">
|
194
|
+
<xsd:element name="CounterSignature" type="CounterSignatureType"/>
|
195
|
+
<xsd:element name="SignatureTimeStamp" type="XAdESTimeStampType"/>
|
196
|
+
<xsd:element name="CompleteCertificateRefs" type="CompleteCertificateRefsType"/>
|
197
|
+
<xsd:element name="CompleteRevocationRefs" type="CompleteRevocationRefsType"/>
|
198
|
+
<xsd:element name="AttributeCertificateRefs" type="CompleteCertificateRefsType"/>
|
199
|
+
<xsd:element name="AttributeRevocationRefs" type="CompleteRevocationRefsType"/>
|
200
|
+
<xsd:element name="SigAndRefsTimeStamp" type="XAdESTimeStampType"/>
|
201
|
+
<xsd:element name="RefsOnlyTimeStamp" type="XAdESTimeStampType"/>
|
202
|
+
<xsd:element name="CertificateValues" type="CertificateValuesType"/>
|
203
|
+
<xsd:element name="RevocationValues" type="RevocationValuesType"/>
|
204
|
+
<xsd:element name="AttrAuthoritiesCertValues" type="CertificateValuesType"/>
|
205
|
+
<xsd:element name="AttributeRevocationValues" type="RevocationValuesType"/>
|
206
|
+
<xsd:element name="ArchiveTimeStamp" type="XAdESTimeStampType"/>
|
207
|
+
<xsd:any namespace="##other"/>
|
208
|
+
</xsd:choice>
|
209
|
+
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
|
210
|
+
</xsd:complexType>
|
211
|
+
<!-- End UnsignedSignatureProperties-->
|
212
|
+
<!-- Start UnsignedDataObjectProperties-->
|
213
|
+
<xsd:element name="UnsignedDataObjectProperties" type="UnsignedDataObjectPropertiesType"/>
|
214
|
+
<xsd:complexType name="UnsignedDataObjectPropertiesType">
|
215
|
+
<xsd:sequence>
|
216
|
+
<xsd:element name="UnsignedDataObjectProperty" type="AnyType" maxOccurs="unbounded"/>
|
217
|
+
</xsd:sequence>
|
218
|
+
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
|
219
|
+
</xsd:complexType>
|
220
|
+
<!-- End UnsignedDataObjectProperties-->
|
221
|
+
<!-- Start QualifyingPropertiesReference-->
|
222
|
+
<xsd:element name="QualifyingPropertiesReference" type="QualifyingPropertiesReferenceType"/>
|
223
|
+
<xsd:complexType name="QualifyingPropertiesReferenceType">
|
224
|
+
<xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
|
225
|
+
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
|
226
|
+
</xsd:complexType>
|
227
|
+
<!-- End QualifyingPropertiesReference-->
|
228
|
+
<!-- End container types -->
|
229
|
+
<!-- Start SigningTime element -->
|
230
|
+
<xsd:element name="SigningTime" type="xsd:dateTime"/>
|
231
|
+
<!-- End SigningTime element -->
|
232
|
+
<!-- Start SigningCertificate -->
|
233
|
+
<xsd:element name="SigningCertificate" type="CertIDListType"/>
|
234
|
+
<xsd:complexType name="CertIDListType">
|
235
|
+
<xsd:sequence>
|
236
|
+
<xsd:element name="Cert" type="CertIDType" maxOccurs="unbounded"/>
|
237
|
+
</xsd:sequence>
|
238
|
+
</xsd:complexType>
|
239
|
+
<xsd:complexType name="CertIDType">
|
240
|
+
<xsd:sequence>
|
241
|
+
<xsd:element name="CertDigest" type="DigestAlgAndValueType"/>
|
242
|
+
<xsd:element name="IssuerSerial" type="ds:X509IssuerSerialType"/>
|
243
|
+
</xsd:sequence>
|
244
|
+
<xsd:attribute name="URI" type="xsd:anyURI" use="optional"/>
|
245
|
+
</xsd:complexType>
|
246
|
+
<xsd:complexType name="DigestAlgAndValueType">
|
247
|
+
<xsd:sequence>
|
248
|
+
<xsd:element ref="ds:DigestMethod"/>
|
249
|
+
<xsd:element ref="ds:DigestValue"/>
|
250
|
+
</xsd:sequence>
|
251
|
+
</xsd:complexType>
|
252
|
+
<!-- End SigningCertificate -->
|
253
|
+
<!-- Start SignaturePolicyIdentifier -->
|
254
|
+
<xsd:element name="SignaturePolicyIdentifier" type="SignaturePolicyIdentifierType"/>
|
255
|
+
<xsd:complexType name="SignaturePolicyIdentifierType">
|
256
|
+
<xsd:choice>
|
257
|
+
<xsd:element name="SignaturePolicyId" type="SignaturePolicyIdType"/>
|
258
|
+
<xsd:element name="SignaturePolicyImplied"/>
|
259
|
+
</xsd:choice>
|
260
|
+
</xsd:complexType>
|
261
|
+
<xsd:complexType name="SignaturePolicyIdType">
|
262
|
+
<xsd:sequence>
|
263
|
+
<xsd:element name="SigPolicyId" type="ObjectIdentifierType"/>
|
264
|
+
<xsd:element ref="ds:Transforms" minOccurs="0"/>
|
265
|
+
<xsd:element name="SigPolicyHash" type="DigestAlgAndValueType"/>
|
266
|
+
<xsd:element name="SigPolicyQualifiers" type="SigPolicyQualifiersListType" minOccurs="0"/>
|
267
|
+
</xsd:sequence>
|
268
|
+
</xsd:complexType>
|
269
|
+
<xsd:complexType name="SigPolicyQualifiersListType">
|
270
|
+
<xsd:sequence>
|
271
|
+
<xsd:element name="SigPolicyQualifier" type="AnyType" maxOccurs="unbounded"/>
|
272
|
+
</xsd:sequence>
|
273
|
+
</xsd:complexType>
|
274
|
+
<xsd:element name="SPURI" type="xsd:anyURI"/>
|
275
|
+
<xsd:element name="SPUserNotice" type="SPUserNoticeType"/>
|
276
|
+
<xsd:complexType name="SPUserNoticeType">
|
277
|
+
<xsd:sequence>
|
278
|
+
<xsd:element name="NoticeRef" type="NoticeReferenceType" minOccurs="0"/>
|
279
|
+
<xsd:element name="ExplicitText" type="xsd:string" minOccurs="0"/>
|
280
|
+
</xsd:sequence>
|
281
|
+
</xsd:complexType>
|
282
|
+
<xsd:complexType name="NoticeReferenceType">
|
283
|
+
<xsd:sequence>
|
284
|
+
<xsd:element name="Organization" type="xsd:string"/>
|
285
|
+
<xsd:element name="NoticeNumbers" type="IntegerListType"/>
|
286
|
+
</xsd:sequence>
|
287
|
+
</xsd:complexType>
|
288
|
+
<xsd:complexType name="IntegerListType">
|
289
|
+
<xsd:sequence>
|
290
|
+
<xsd:element name="int" type="xsd:integer" minOccurs="0" maxOccurs="unbounded"/>
|
291
|
+
</xsd:sequence>
|
292
|
+
</xsd:complexType>
|
293
|
+
<!-- End SignaturePolicyIdentifier -->
|
294
|
+
<!-- Start CounterSignature -->
|
295
|
+
<xsd:element name="CounterSignature" type="CounterSignatureType"/>
|
296
|
+
<xsd:complexType name="CounterSignatureType">
|
297
|
+
<xsd:sequence>
|
298
|
+
<xsd:element ref="ds:Signature"/>
|
299
|
+
</xsd:sequence>
|
300
|
+
</xsd:complexType>
|
301
|
+
<!-- End CounterSignature -->
|
302
|
+
<!-- Start DataObjectFormat -->
|
303
|
+
<xsd:element name="DataObjectFormat" type="DataObjectFormatType"/>
|
304
|
+
<xsd:complexType name="DataObjectFormatType">
|
305
|
+
<xsd:sequence>
|
306
|
+
<xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
307
|
+
<xsd:element name="ObjectIdentifier" type="ObjectIdentifierType" minOccurs="0"/>
|
308
|
+
<xsd:element name="MimeType" type="xsd:string" minOccurs="0"/>
|
309
|
+
<xsd:element name="Encoding" type="xsd:anyURI" minOccurs="0"/>
|
310
|
+
</xsd:sequence>
|
311
|
+
<xsd:attribute name="ObjectReference" type="xsd:anyURI" use="required"/>
|
312
|
+
</xsd:complexType>
|
313
|
+
<!-- End DataObjectFormat -->
|
314
|
+
<!-- Start CommitmentTypeIndication -->
|
315
|
+
<xsd:element name="CommitmentTypeIndication" type="CommitmentTypeIndicationType"/>
|
316
|
+
<xsd:complexType name="CommitmentTypeIndicationType">
|
317
|
+
<xsd:sequence>
|
318
|
+
<xsd:element name="CommitmentTypeId" type="ObjectIdentifierType"/>
|
319
|
+
<xsd:choice>
|
320
|
+
<xsd:element name="ObjectReference" type="xsd:anyURI" maxOccurs="unbounded"/>
|
321
|
+
<xsd:element name="AllSignedDataObjects"/>
|
322
|
+
</xsd:choice>
|
323
|
+
<xsd:element name="CommitmentTypeQualifiers" type="CommitmentTypeQualifiersListType" minOccurs="0"/>
|
324
|
+
</xsd:sequence>
|
325
|
+
</xsd:complexType>
|
326
|
+
<xsd:complexType name="CommitmentTypeQualifiersListType">
|
327
|
+
<xsd:sequence>
|
328
|
+
<xsd:element name="CommitmentTypeQualifier" type="AnyType" minOccurs="0" maxOccurs="unbounded"/>
|
329
|
+
</xsd:sequence>
|
330
|
+
</xsd:complexType>
|
331
|
+
<!-- End CommitmentTypeIndication -->
|
332
|
+
<!-- Start SignatureProductionPlace -->
|
333
|
+
<xsd:element name="SignatureProductionPlace" type="SignatureProductionPlaceType"/>
|
334
|
+
<xsd:complexType name="SignatureProductionPlaceType">
|
335
|
+
<xsd:sequence>
|
336
|
+
<xsd:element name="City" type="xsd:string" minOccurs="0"/>
|
337
|
+
<xsd:element name="StateOrProvince" type="xsd:string" minOccurs="0"/>
|
338
|
+
<xsd:element name="PostalCode" type="xsd:string" minOccurs="0"/>
|
339
|
+
<xsd:element name="CountryName" type="xsd:string" minOccurs="0"/>
|
340
|
+
</xsd:sequence>
|
341
|
+
</xsd:complexType>
|
342
|
+
<!-- End SignatureProductionPlace -->
|
343
|
+
<!-- Start SignerRole -->
|
344
|
+
<xsd:element name="SignerRole" type="SignerRoleType"/>
|
345
|
+
<xsd:complexType name="SignerRoleType">
|
346
|
+
<xsd:sequence>
|
347
|
+
<xsd:element name="ClaimedRoles" type="ClaimedRolesListType" minOccurs="0"/>
|
348
|
+
<xsd:element name="CertifiedRoles" type="CertifiedRolesListType" minOccurs="0"/>
|
349
|
+
</xsd:sequence>
|
350
|
+
</xsd:complexType>
|
351
|
+
<xsd:complexType name="ClaimedRolesListType">
|
352
|
+
<xsd:sequence>
|
353
|
+
<xsd:element name="ClaimedRole" type="AnyType" maxOccurs="unbounded"/>
|
354
|
+
</xsd:sequence>
|
355
|
+
</xsd:complexType>
|
356
|
+
<xsd:complexType name="CertifiedRolesListType">
|
357
|
+
<xsd:sequence>
|
358
|
+
<xsd:element name="CertifiedRole" type="EncapsulatedPKIDataType" maxOccurs="unbounded"/>
|
359
|
+
</xsd:sequence>
|
360
|
+
</xsd:complexType>
|
361
|
+
<!-- End SignerRole -->
|
362
|
+
<xsd:element name="AllDataObjectsTimeStamp" type="XAdESTimeStampType"/>
|
363
|
+
<xsd:element name="IndividualDataObjectsTimeStamp" type="XAdESTimeStampType"/>
|
364
|
+
<xsd:element name="SignatureTimeStamp" type="XAdESTimeStampType"/>
|
365
|
+
<!-- Start CompleteCertificateRefs -->
|
366
|
+
<xsd:element name="CompleteCertificateRefs" type="CompleteCertificateRefsType"/>
|
367
|
+
<xsd:complexType name="CompleteCertificateRefsType">
|
368
|
+
<xsd:sequence>
|
369
|
+
<xsd:element name="CertRefs" type="CertIDListType"/>
|
370
|
+
</xsd:sequence>
|
371
|
+
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
|
372
|
+
</xsd:complexType>
|
373
|
+
<!-- End CompleteCertificateRefs -->
|
374
|
+
<!-- Start CompleteRevocationRefs-->
|
375
|
+
<xsd:element name="CompleteRevocationRefs" type="CompleteRevocationRefsType"/>
|
376
|
+
<xsd:complexType name="CompleteRevocationRefsType">
|
377
|
+
<xsd:sequence>
|
378
|
+
<xsd:element name="CRLRefs" type="CRLRefsType" minOccurs="0"/>
|
379
|
+
<xsd:element name="OCSPRefs" type="OCSPRefsType" minOccurs="0"/>
|
380
|
+
<xsd:element name="OtherRefs" type="OtherCertStatusRefsType" minOccurs="0"/>
|
381
|
+
</xsd:sequence>
|
382
|
+
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
|
383
|
+
</xsd:complexType>
|
384
|
+
<xsd:complexType name="CRLRefsType">
|
385
|
+
<xsd:sequence>
|
386
|
+
<xsd:element name="CRLRef" type="CRLRefType" maxOccurs="unbounded"/>
|
387
|
+
</xsd:sequence>
|
388
|
+
</xsd:complexType>
|
389
|
+
<xsd:complexType name="CRLRefType">
|
390
|
+
<xsd:sequence>
|
391
|
+
<xsd:element name="DigestAlgAndValue" type="DigestAlgAndValueType"/>
|
392
|
+
<xsd:element name="CRLIdentifier" type="CRLIdentifierType" minOccurs="0"/>
|
393
|
+
</xsd:sequence>
|
394
|
+
</xsd:complexType>
|
395
|
+
<xsd:complexType name="CRLIdentifierType">
|
396
|
+
<xsd:sequence>
|
397
|
+
<xsd:element name="Issuer" type="xsd:string"/>
|
398
|
+
<xsd:element name="IssueTime" type="xsd:dateTime"/>
|
399
|
+
<xsd:element name="Number" type="xsd:integer" minOccurs="0"/>
|
400
|
+
</xsd:sequence>
|
401
|
+
<xsd:attribute name="URI" type="xsd:anyURI" use="optional"/>
|
402
|
+
</xsd:complexType>
|
403
|
+
<xsd:complexType name="OCSPRefsType">
|
404
|
+
<xsd:sequence>
|
405
|
+
<xsd:element name="OCSPRef" type="OCSPRefType" maxOccurs="unbounded"/>
|
406
|
+
</xsd:sequence>
|
407
|
+
</xsd:complexType>
|
408
|
+
<xsd:complexType name="OCSPRefType">
|
409
|
+
<xsd:sequence>
|
410
|
+
<xsd:element name="OCSPIdentifier" type="OCSPIdentifierType"/>
|
411
|
+
<xsd:element name="DigestAlgAndValue" type="DigestAlgAndValueType" minOccurs="0"/>
|
412
|
+
</xsd:sequence>
|
413
|
+
</xsd:complexType>
|
414
|
+
<xsd:complexType name="ResponderIDType">
|
415
|
+
<xsd:choice>
|
416
|
+
<xsd:element name="ByName" type="xsd:string"/>
|
417
|
+
<xsd:element name="ByKey" type="xsd:base64Binary"/>
|
418
|
+
</xsd:choice>
|
419
|
+
</xsd:complexType>
|
420
|
+
<xsd:complexType name="OCSPIdentifierType">
|
421
|
+
<xsd:sequence>
|
422
|
+
<xsd:element name="ResponderID" type="ResponderIDType"/>
|
423
|
+
<xsd:element name="ProducedAt" type="xsd:dateTime"/>
|
424
|
+
</xsd:sequence>
|
425
|
+
<xsd:attribute name="URI" type="xsd:anyURI" use="optional"/>
|
426
|
+
</xsd:complexType>
|
427
|
+
<xsd:complexType name="OtherCertStatusRefsType">
|
428
|
+
<xsd:sequence>
|
429
|
+
<xsd:element name="OtherRef" type="AnyType" maxOccurs="unbounded"/>
|
430
|
+
</xsd:sequence>
|
431
|
+
</xsd:complexType>
|
432
|
+
<!-- End CompleteRevocationRefs-->
|
433
|
+
<xsd:element name="AttributeCertificateRefs" type="CompleteCertificateRefsType"/>
|
434
|
+
<xsd:element name="AttributeRevocationRefs" type="CompleteRevocationRefsType"/>
|
435
|
+
<xsd:element name="SigAndRefsTimeStamp" type="XAdESTimeStampType"/>
|
436
|
+
<xsd:element name="RefsOnlyTimeStamp" type="XAdESTimeStampType"/>
|
437
|
+
<!-- Start CertificateValues -->
|
438
|
+
<xsd:element name="CertificateValues" type="CertificateValuesType"/>
|
439
|
+
<xsd:complexType name="CertificateValuesType">
|
440
|
+
<xsd:choice minOccurs="0" maxOccurs="unbounded">
|
441
|
+
<xsd:element name="EncapsulatedX509Certificate" type="EncapsulatedPKIDataType"/>
|
442
|
+
<xsd:element name="OtherCertificate" type="AnyType"/>
|
443
|
+
</xsd:choice>
|
444
|
+
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
|
445
|
+
</xsd:complexType>
|
446
|
+
<!-- End CertificateValues -->
|
447
|
+
<!-- Start RevocationValues-->
|
448
|
+
<xsd:element name="RevocationValues" type="RevocationValuesType"/>
|
449
|
+
<xsd:complexType name="RevocationValuesType">
|
450
|
+
<xsd:sequence>
|
451
|
+
<xsd:element name="CRLValues" type="CRLValuesType" minOccurs="0"/>
|
452
|
+
<xsd:element name="OCSPValues" type="OCSPValuesType" minOccurs="0"/>
|
453
|
+
<xsd:element name="OtherValues" type="OtherCertStatusValuesType" minOccurs="0"/>
|
454
|
+
</xsd:sequence>
|
455
|
+
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
|
456
|
+
</xsd:complexType>
|
457
|
+
<xsd:complexType name="CRLValuesType">
|
458
|
+
<xsd:sequence>
|
459
|
+
<xsd:element name="EncapsulatedCRLValue" type="EncapsulatedPKIDataType" maxOccurs="unbounded"/>
|
460
|
+
</xsd:sequence>
|
461
|
+
</xsd:complexType>
|
462
|
+
<xsd:complexType name="OCSPValuesType">
|
463
|
+
<xsd:sequence>
|
464
|
+
<xsd:element name="EncapsulatedOCSPValue" type="EncapsulatedPKIDataType" maxOccurs="unbounded"/>
|
465
|
+
</xsd:sequence>
|
466
|
+
</xsd:complexType>
|
467
|
+
<xsd:complexType name="OtherCertStatusValuesType">
|
468
|
+
<xsd:sequence>
|
469
|
+
<xsd:element name="OtherValue" type="AnyType" maxOccurs="unbounded"/>
|
470
|
+
</xsd:sequence>
|
471
|
+
</xsd:complexType>
|
472
|
+
<!-- End RevocationValues-->
|
473
|
+
<xsd:element name="AttrAuthoritiesCertValues" type="CertificateValuesType"/>
|
474
|
+
<xsd:element name="AttributeRevocationValues" type="RevocationValuesType"/>
|
475
|
+
<xsd:element name="ArchiveTimeStamp" type="XAdESTimeStampType"/>
|
476
|
+
</xsd:schema>
|
@@ -0,0 +1,25 @@
|
|
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-XAdESv141-2.1.xsd
|
7
|
+
Generated on: 2011-02-21 17:20(UTC)
|
8
|
+
|
9
|
+
This is a copy of http://uri.etsi.org/01903/v1.4.1/XAdESv141.xsd modified
|
10
|
+
only to change the importing URI for the XAdES v1.3.2 schema.
|
11
|
+
-->
|
12
|
+
<xsd:schema targetNamespace="http://uri.etsi.org/01903/v1.4.1#" xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" elementFormDefault="qualified">
|
13
|
+
<xsd:import namespace="http://uri.etsi.org/01903/v1.3.2#" schemaLocation="UBL-XAdESv132-2.1.xsd"/>
|
14
|
+
<!-- Start CertificateValues -->
|
15
|
+
<xsd:element name="TimeStampValidationData" type="ValidationDataType"/>
|
16
|
+
<xsd:complexType name="ValidationDataType">
|
17
|
+
<xsd:sequence>
|
18
|
+
<xsd:element ref="xades:CertificateValues" minOccurs="0" />
|
19
|
+
<xsd:element ref="xades:RevocationValues" minOccurs="0" />
|
20
|
+
</xsd:sequence>
|
21
|
+
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
|
22
|
+
<xsd:attribute name="UR" type="xsd:anyURI" use="optional"/>
|
23
|
+
</xsd:complexType>
|
24
|
+
<xsd:element name="ArchiveTimeStampV2" type="xades:XAdESTimeStampType"/>
|
25
|
+
</xsd:schema>
|