ghinfe 0.6.0 → 0.6.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.
- package/.env.example +24 -15
- package/LICENSE +21 -21
- package/README.md +491 -413
- package/docs/developer-guide.html +421 -421
- package/docs/openapi.yaml +428 -428
- package/examples/dce-homologacao.js +141 -0
- package/examples/emitir-nfce.js +51 -51
- package/examples/emitir-nfe.js +83 -83
- package/examples/emitir-nfse.js +46 -46
- package/examples/endpoints-sefaz.js +14 -14
- package/examples/eventos-nfe.js +49 -49
- package/examples/gerar-chave.js +25 -25
- package/examples/gerar-dace.js +59 -0
- package/examples/gerar-danfe.js +75 -75
- package/examples/gerar-dce.js +58 -0
- package/examples/layouts-nfse.js +51 -51
- package/examples/mock-sefaz.js +52 -52
- package/examples/nfse-eventos.js +57 -57
- package/examples/reforma-ibscbs.js +27 -27
- package/examples/reforma-nfe-xml.js +52 -52
- package/examples/status-sefaz.js +12 -12
- package/examples/validar-xsd.js +48 -48
- package/package.json +59 -68
- package/schemas/dce/PL_DCe_100a_NT2024.001/consulta/consSitDCeTiposBasico_v1.00.xsd +123 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/consulta/consSitDCe_v1.00.xsd +10 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/consulta/consStatServDCeTiposBasico_v1.00.xsd +110 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/consulta/consStatServDCe_v1.00.xsd +10 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/consulta/dceTiposBasico_v1.00.xsd +1388 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/consulta/retConsSitDCe_v1.00.xsd +10 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/consulta/retConsStatServDCe_v1.00.xsd +10 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/consulta/tiposGeralDCe_v1.00.xsd +712 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/consulta/xmldsig-core-schema_v1.01.xsd +98 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/dceTiposBasico_v1.00.xsd +1410 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/dce_v1.00.xsd +10 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/evento/evCancDCe_v1.00.xsd +36 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/evento/eventoDCeTiposBasico_v1.00.xsd +283 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/evento/eventoDCe_v1.00.xsd +9 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/evento/procEventoDCe_v1.00.xsd +10 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/evento/retEventoDCe_v1.00.xsd +9 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/evento/tiposGeralDCe_v1.00.xsd +712 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/evento/xmldsig-core-schema_v1.01.xsd +98 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/procDCe_v1.00.xsd +37 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/retDCe_v1.00.xsd +9 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/tiposGeralDCe_v1.00.xsd +712 -0
- package/schemas/dce/PL_DCe_100a_NT2024.001/xmldsig-core-schema_v1.01.xsd +98 -0
- package/schemas/nfe/PL_009_V4/enviNFe_v3.10.xsd +8 -8
- package/schemas/nfe/PL_009_V4/xmldsig-core-schema_v1.01.xsd +97 -97
- package/scripts/download-schemas.js +39 -39
- package/scripts/test-xsd.js +34 -34
- package/src/api/server.js +316 -316
- package/src/constants/sefaz.js +69 -69
- package/src/danfe/DanfeService.js +205 -205
- package/src/danfe/xml-extract.js +69 -69
- package/src/dce/builders/DCeEventoXmlBuilder.js +86 -0
- package/src/dce/builders/DCeXmlBuilder.js +345 -0
- package/src/dce/constants/dce.js +87 -0
- package/src/dce/dace/DaceService.js +356 -0
- package/src/dce/dace/dace-extract.js +114 -0
- package/src/dce/services/DCeService.js +263 -0
- package/src/dce/services/DCeSoapService.js +235 -0
- package/src/dce/services/DCeXmlService.js +67 -0
- package/src/dce/types/DCeDocument.js +106 -0
- package/src/dce/utils/qrcode.utils.js +59 -0
- package/src/errors/GhinfeError.js +13 -13
- package/src/errors/SefazError.js +25 -25
- package/src/errors/XsdValidationError.js +15 -15
- package/src/index.js +84 -60
- package/src/nfce/builders/NFCeXmlBuilder.js +178 -178
- package/src/nfce/constants/qrcode.js +26 -26
- package/src/nfce/services/NFCeService.js +188 -188
- package/src/nfce/services/NFCeXmlService.js +38 -38
- package/src/nfce/types/NFCeDocument.js +42 -42
- package/src/nfce/utils/qrcode.utils.js +92 -92
- package/src/nfe/builders/NFeEventoXmlBuilder.js +110 -110
- package/src/nfe/builders/NFeXmlBuilder.js +215 -215
- package/src/nfe/mocks/sefaz-responses.js +195 -195
- package/src/nfe/services/NFeEventoService.js +95 -95
- package/src/nfe/services/NFeService.js +196 -196
- package/src/nfe/services/NFeSignService.js +127 -111
- package/src/nfe/services/NFeSoapService.js +437 -437
- package/src/nfe/services/NFeXmlService.js +41 -41
- package/src/nfe/services/NFeXsdService.js +56 -56
- package/src/nfe/types/NFeDocument.js +92 -92
- package/src/nfe/types/NFeEvento.js +44 -44
- package/src/nfse/NFSeMunicipioResolver.js +42 -42
- package/src/nfse/builders/NFSeEventoXmlBuilder.js +92 -92
- package/src/nfse/builders/NFSeXmlBuilder.js +16 -16
- package/src/nfse/constants/municipios.js +82 -82
- package/src/nfse/layouts/adapters.js +202 -202
- package/src/nfse/mocks/nfse-responses.js +142 -142
- package/src/nfse/services/NFSeService.js +191 -191
- package/src/nfse/services/NFSeSoapService.js +232 -232
- package/src/nfse/services/NFSeXmlService.js +12 -12
- package/src/nfse/types/NFSeDocument.js +54 -54
- package/src/queue/NFCeQueue.js +63 -63
- package/src/queue/NFSeQueue.js +59 -59
- package/src/queue/NFeQueue.js +76 -76
- package/src/reforma/ibscbs.js +175 -175
- package/src/sefaz/SefazEndpointResolver.js +95 -95
- package/src/sefaz/ca/icp-brasil-raiz-v10.pem +38 -0
- package/src/sefaz/endpoints.registry.js +205 -205
- package/src/sefaz/httpsAgent.js +33 -0
- package/src/shared/fiscal.helpers.js +53 -53
- package/src/utils/certificate.utils.js +69 -47
- package/src/utils/chave.utils.js +205 -117
- package/src/utils/code128.utils.js +67 -0
- package/src/utils/date.utils.js +26 -26
- package/src/utils/xml.utils.js +44 -44
- package/src/validation/XsdValidator.js +133 -114
- package/src/validation/schemas.js +18 -14
|
@@ -0,0 +1,712 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- edited with XMLSpy v2014 rel. 2 (http://www.altova.com) by private (private) -->
|
|
3
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/dce" targetNamespace="http://www.portalfiscal.inf.br/dce" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
|
4
|
+
<xs:simpleType name="TDateTimeUTC">
|
|
5
|
+
<xs:annotation>
|
|
6
|
+
<xs:documentation>Data e Hora, formato UTC (AAAA-MM-DDThh:mm:ssTZD, onde TZD = +hh:mm ou -hh:mm)</xs:documentation>
|
|
7
|
+
</xs:annotation>
|
|
8
|
+
<xs:restriction base="xs:string">
|
|
9
|
+
<xs:whiteSpace value="preserve"/>
|
|
10
|
+
<xs:pattern value="(((20(([02468][048])|([13579][26]))-02-29))|(20[0-9][0-9])-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))-31)|(((0[1,3-9])|(1[0-2]))-(29|30)))))T(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d([\-,\+](0[0-9]|10|11):00|([\+](12):00))"/>
|
|
11
|
+
</xs:restriction>
|
|
12
|
+
</xs:simpleType>
|
|
13
|
+
<xs:simpleType name="TCodUfIBGE">
|
|
14
|
+
<xs:annotation>
|
|
15
|
+
<xs:documentation>Tipo Código da UF da tabela do IBGE</xs:documentation>
|
|
16
|
+
</xs:annotation>
|
|
17
|
+
<xs:restriction base="xs:string">
|
|
18
|
+
<xs:whiteSpace value="preserve"/>
|
|
19
|
+
<xs:enumeration value="11"/>
|
|
20
|
+
<xs:enumeration value="12"/>
|
|
21
|
+
<xs:enumeration value="13"/>
|
|
22
|
+
<xs:enumeration value="14"/>
|
|
23
|
+
<xs:enumeration value="15"/>
|
|
24
|
+
<xs:enumeration value="16"/>
|
|
25
|
+
<xs:enumeration value="17"/>
|
|
26
|
+
<xs:enumeration value="21"/>
|
|
27
|
+
<xs:enumeration value="22"/>
|
|
28
|
+
<xs:enumeration value="23"/>
|
|
29
|
+
<xs:enumeration value="24"/>
|
|
30
|
+
<xs:enumeration value="25"/>
|
|
31
|
+
<xs:enumeration value="26"/>
|
|
32
|
+
<xs:enumeration value="27"/>
|
|
33
|
+
<xs:enumeration value="28"/>
|
|
34
|
+
<xs:enumeration value="29"/>
|
|
35
|
+
<xs:enumeration value="31"/>
|
|
36
|
+
<xs:enumeration value="32"/>
|
|
37
|
+
<xs:enumeration value="33"/>
|
|
38
|
+
<xs:enumeration value="35"/>
|
|
39
|
+
<xs:enumeration value="41"/>
|
|
40
|
+
<xs:enumeration value="42"/>
|
|
41
|
+
<xs:enumeration value="43"/>
|
|
42
|
+
<xs:enumeration value="50"/>
|
|
43
|
+
<xs:enumeration value="51"/>
|
|
44
|
+
<xs:enumeration value="52"/>
|
|
45
|
+
<xs:enumeration value="53"/>
|
|
46
|
+
</xs:restriction>
|
|
47
|
+
</xs:simpleType>
|
|
48
|
+
<xs:simpleType name="TCodMunIBGE">
|
|
49
|
+
<xs:annotation>
|
|
50
|
+
<xs:documentation>Tipo Código do Município da tabela do IBGE</xs:documentation>
|
|
51
|
+
</xs:annotation>
|
|
52
|
+
<xs:restriction base="xs:string">
|
|
53
|
+
<xs:whiteSpace value="preserve"/>
|
|
54
|
+
<xs:pattern value="[0-9]{7}"/>
|
|
55
|
+
</xs:restriction>
|
|
56
|
+
</xs:simpleType>
|
|
57
|
+
<xs:simpleType name="TCOrgaoIBGE">
|
|
58
|
+
<xs:annotation>
|
|
59
|
+
<xs:documentation>Tipo Código de orgão (UF da tabela do IBGE + 90 SUFRAMA + 91 RFB + 92 BRId)</xs:documentation>
|
|
60
|
+
</xs:annotation>
|
|
61
|
+
<xs:restriction base="xs:string">
|
|
62
|
+
<xs:whiteSpace value="preserve"/>
|
|
63
|
+
<xs:enumeration value="11"/>
|
|
64
|
+
<xs:enumeration value="12"/>
|
|
65
|
+
<xs:enumeration value="13"/>
|
|
66
|
+
<xs:enumeration value="14"/>
|
|
67
|
+
<xs:enumeration value="15"/>
|
|
68
|
+
<xs:enumeration value="16"/>
|
|
69
|
+
<xs:enumeration value="17"/>
|
|
70
|
+
<xs:enumeration value="21"/>
|
|
71
|
+
<xs:enumeration value="22"/>
|
|
72
|
+
<xs:enumeration value="23"/>
|
|
73
|
+
<xs:enumeration value="24"/>
|
|
74
|
+
<xs:enumeration value="25"/>
|
|
75
|
+
<xs:enumeration value="26"/>
|
|
76
|
+
<xs:enumeration value="27"/>
|
|
77
|
+
<xs:enumeration value="28"/>
|
|
78
|
+
<xs:enumeration value="29"/>
|
|
79
|
+
<xs:enumeration value="31"/>
|
|
80
|
+
<xs:enumeration value="32"/>
|
|
81
|
+
<xs:enumeration value="33"/>
|
|
82
|
+
<xs:enumeration value="35"/>
|
|
83
|
+
<xs:enumeration value="41"/>
|
|
84
|
+
<xs:enumeration value="42"/>
|
|
85
|
+
<xs:enumeration value="43"/>
|
|
86
|
+
<xs:enumeration value="50"/>
|
|
87
|
+
<xs:enumeration value="51"/>
|
|
88
|
+
<xs:enumeration value="52"/>
|
|
89
|
+
<xs:enumeration value="53"/>
|
|
90
|
+
<xs:enumeration value="90"/>
|
|
91
|
+
<xs:enumeration value="91"/>
|
|
92
|
+
<xs:enumeration value="92"/>
|
|
93
|
+
<xs:enumeration value="93"/>
|
|
94
|
+
</xs:restriction>
|
|
95
|
+
</xs:simpleType>
|
|
96
|
+
<xs:simpleType name="TCodUfIBGE_EX">
|
|
97
|
+
<xs:annotation>
|
|
98
|
+
<xs:documentation>Tipo Código da UF da tabela do IBGE + 99 para Exterior</xs:documentation>
|
|
99
|
+
</xs:annotation>
|
|
100
|
+
<xs:restriction base="xs:string">
|
|
101
|
+
<xs:whiteSpace value="preserve"/>
|
|
102
|
+
<xs:enumeration value="11"/>
|
|
103
|
+
<xs:enumeration value="12"/>
|
|
104
|
+
<xs:enumeration value="13"/>
|
|
105
|
+
<xs:enumeration value="14"/>
|
|
106
|
+
<xs:enumeration value="15"/>
|
|
107
|
+
<xs:enumeration value="16"/>
|
|
108
|
+
<xs:enumeration value="17"/>
|
|
109
|
+
<xs:enumeration value="21"/>
|
|
110
|
+
<xs:enumeration value="22"/>
|
|
111
|
+
<xs:enumeration value="23"/>
|
|
112
|
+
<xs:enumeration value="24"/>
|
|
113
|
+
<xs:enumeration value="25"/>
|
|
114
|
+
<xs:enumeration value="26"/>
|
|
115
|
+
<xs:enumeration value="27"/>
|
|
116
|
+
<xs:enumeration value="28"/>
|
|
117
|
+
<xs:enumeration value="29"/>
|
|
118
|
+
<xs:enumeration value="31"/>
|
|
119
|
+
<xs:enumeration value="32"/>
|
|
120
|
+
<xs:enumeration value="33"/>
|
|
121
|
+
<xs:enumeration value="35"/>
|
|
122
|
+
<xs:enumeration value="41"/>
|
|
123
|
+
<xs:enumeration value="42"/>
|
|
124
|
+
<xs:enumeration value="43"/>
|
|
125
|
+
<xs:enumeration value="50"/>
|
|
126
|
+
<xs:enumeration value="51"/>
|
|
127
|
+
<xs:enumeration value="52"/>
|
|
128
|
+
<xs:enumeration value="53"/>
|
|
129
|
+
<xs:enumeration value="99"/>
|
|
130
|
+
</xs:restriction>
|
|
131
|
+
</xs:simpleType>
|
|
132
|
+
<xs:simpleType name="TChDFe">
|
|
133
|
+
<xs:annotation>
|
|
134
|
+
<xs:documentation>Tipo Chave de Documento Fiscal Eletrônico</xs:documentation>
|
|
135
|
+
</xs:annotation>
|
|
136
|
+
<xs:restriction base="xs:string">
|
|
137
|
+
<xs:whiteSpace value="preserve"/>
|
|
138
|
+
<xs:maxLength value="44"/>
|
|
139
|
+
<xs:pattern value="(1[1-7]{1}|2[1-9]{1}|3[1-3]{1}|3[5]{1}|4[1-3]{1}|5[0-3]{1})[0-9]{42}"/>
|
|
140
|
+
</xs:restriction>
|
|
141
|
+
</xs:simpleType>
|
|
142
|
+
<xs:simpleType name="TProt">
|
|
143
|
+
<xs:annotation>
|
|
144
|
+
<xs:documentation>Tipo Número do Protocolo de Status</xs:documentation>
|
|
145
|
+
</xs:annotation>
|
|
146
|
+
<xs:restriction base="xs:string">
|
|
147
|
+
<xs:whiteSpace value="preserve"/>
|
|
148
|
+
<xs:pattern value="[0-9]{16}"/>
|
|
149
|
+
</xs:restriction>
|
|
150
|
+
</xs:simpleType>
|
|
151
|
+
<xs:simpleType name="TRec">
|
|
152
|
+
<xs:annotation>
|
|
153
|
+
<xs:documentation>Tipo Número do Recibo do envio de lote de DF-e</xs:documentation>
|
|
154
|
+
</xs:annotation>
|
|
155
|
+
<xs:restriction base="xs:string">
|
|
156
|
+
<xs:whiteSpace value="preserve"/>
|
|
157
|
+
<xs:pattern value="[0-9]{16}"/>
|
|
158
|
+
</xs:restriction>
|
|
159
|
+
</xs:simpleType>
|
|
160
|
+
<xs:simpleType name="TStat">
|
|
161
|
+
<xs:annotation>
|
|
162
|
+
<xs:documentation>Tipo Código da Mensagem enviada</xs:documentation>
|
|
163
|
+
</xs:annotation>
|
|
164
|
+
<xs:restriction base="xs:string">
|
|
165
|
+
<xs:whiteSpace value="preserve"/>
|
|
166
|
+
<xs:pattern value="[0-9]{3}"/>
|
|
167
|
+
</xs:restriction>
|
|
168
|
+
</xs:simpleType>
|
|
169
|
+
<xs:simpleType name="TCnpj">
|
|
170
|
+
<xs:annotation>
|
|
171
|
+
<xs:documentation>Tipo Número do CNPJ</xs:documentation>
|
|
172
|
+
</xs:annotation>
|
|
173
|
+
<xs:restriction base="xs:string">
|
|
174
|
+
<xs:whiteSpace value="preserve"/>
|
|
175
|
+
<xs:pattern value="[0-9]{14}"/>
|
|
176
|
+
</xs:restriction>
|
|
177
|
+
</xs:simpleType>
|
|
178
|
+
<xs:simpleType name="TCnpjVar">
|
|
179
|
+
<xs:annotation>
|
|
180
|
+
<xs:documentation>Tipo Número do CNPJ tamanho varíavel (3-14)</xs:documentation>
|
|
181
|
+
</xs:annotation>
|
|
182
|
+
<xs:restriction base="xs:string">
|
|
183
|
+
<xs:whiteSpace value="preserve"/>
|
|
184
|
+
<xs:pattern value="[0-9]{3,14}"/>
|
|
185
|
+
</xs:restriction>
|
|
186
|
+
</xs:simpleType>
|
|
187
|
+
<xs:simpleType name="TCnpjOpc">
|
|
188
|
+
<xs:annotation>
|
|
189
|
+
<xs:documentation>Tipo Número do CNPJ Opcional</xs:documentation>
|
|
190
|
+
</xs:annotation>
|
|
191
|
+
<xs:restriction base="xs:string">
|
|
192
|
+
<xs:whiteSpace value="preserve"/>
|
|
193
|
+
<xs:pattern value="[0-9]{0}|[0-9]{14}"/>
|
|
194
|
+
</xs:restriction>
|
|
195
|
+
</xs:simpleType>
|
|
196
|
+
<xs:simpleType name="TCpf">
|
|
197
|
+
<xs:annotation>
|
|
198
|
+
<xs:documentation>Tipo Número do CPF</xs:documentation>
|
|
199
|
+
</xs:annotation>
|
|
200
|
+
<xs:restriction base="xs:string">
|
|
201
|
+
<xs:whiteSpace value="preserve"/>
|
|
202
|
+
<xs:pattern value="[0-9]{11}"/>
|
|
203
|
+
</xs:restriction>
|
|
204
|
+
</xs:simpleType>
|
|
205
|
+
<xs:simpleType name="TCpfVar">
|
|
206
|
+
<xs:annotation>
|
|
207
|
+
<xs:documentation>Tipo Número do CPF de tamanho variável (3-11)</xs:documentation>
|
|
208
|
+
</xs:annotation>
|
|
209
|
+
<xs:restriction base="xs:string">
|
|
210
|
+
<xs:whiteSpace value="preserve"/>
|
|
211
|
+
<xs:pattern value="[0-9]{3,11}"/>
|
|
212
|
+
</xs:restriction>
|
|
213
|
+
</xs:simpleType>
|
|
214
|
+
<xs:simpleType name="TDec_0302">
|
|
215
|
+
<xs:annotation>
|
|
216
|
+
<xs:documentation>Tipo Decimal com 5 dígitos, sendo 3 inteiros e 2 decimais</xs:documentation>
|
|
217
|
+
</xs:annotation>
|
|
218
|
+
<xs:restriction base="xs:string">
|
|
219
|
+
<xs:whiteSpace value="preserve"/>
|
|
220
|
+
<xs:pattern value="0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,2}(\.[0-9]{2})?"/>
|
|
221
|
+
</xs:restriction>
|
|
222
|
+
</xs:simpleType>
|
|
223
|
+
<xs:simpleType name="TDec_0302Opc">
|
|
224
|
+
<xs:annotation>
|
|
225
|
+
<xs:documentation>Tipo Decimal com 5 dígitos, sendo 3 inteiros e 2 decimais, utilizado em tags opcionais</xs:documentation>
|
|
226
|
+
</xs:annotation>
|
|
227
|
+
<xs:restriction base="xs:string">
|
|
228
|
+
<xs:whiteSpace value="preserve"/>
|
|
229
|
+
<xs:pattern value="0\.[0-9]{2}|[1-9]{1}[0-9]{0,2}(\.[0-9]{2})?"/>
|
|
230
|
+
</xs:restriction>
|
|
231
|
+
</xs:simpleType>
|
|
232
|
+
<xs:simpleType name="TDec_0303">
|
|
233
|
+
<xs:annotation>
|
|
234
|
+
<xs:documentation>Tipo Decimal com 6 dígitos, sendo 3 inteiros e 3 decimais</xs:documentation>
|
|
235
|
+
</xs:annotation>
|
|
236
|
+
<xs:restriction base="xs:string">
|
|
237
|
+
<xs:whiteSpace value="preserve"/>
|
|
238
|
+
<xs:pattern value="0|0\.[0-9]{3}|[1-9]{1}[0-9]{0,2}(\.[0-9]{3})?"/>
|
|
239
|
+
</xs:restriction>
|
|
240
|
+
</xs:simpleType>
|
|
241
|
+
<xs:simpleType name="TDec_0303Opc">
|
|
242
|
+
<xs:annotation>
|
|
243
|
+
<xs:documentation>Tipo Decimal com 6 dígitos, sendo 3 inteiros e 3 decimais usado em tags opcionais</xs:documentation>
|
|
244
|
+
</xs:annotation>
|
|
245
|
+
<xs:restriction base="xs:string">
|
|
246
|
+
<xs:whiteSpace value="preserve"/>
|
|
247
|
+
<xs:pattern value="0\.[0-9]{3}|[1-9]{1}[0-9]{0,2}(\.[0-9]{3})?"/>
|
|
248
|
+
</xs:restriction>
|
|
249
|
+
</xs:simpleType>
|
|
250
|
+
<xs:simpleType name="TDec_0302_0303">
|
|
251
|
+
<xs:annotation>
|
|
252
|
+
<xs:documentation>Tipo Decimal com 6 ou 5 dígitos, sendo 3 inteiros e 3 ou 2 decimais</xs:documentation>
|
|
253
|
+
</xs:annotation>
|
|
254
|
+
<xs:restriction base="xs:string">
|
|
255
|
+
<xs:whiteSpace value="preserve"/>
|
|
256
|
+
<xs:pattern value="[0-9]{1,3}(\.[0-9]{2,3})?"/>
|
|
257
|
+
</xs:restriction>
|
|
258
|
+
</xs:simpleType>
|
|
259
|
+
<xs:simpleType name="TDec_0302a04">
|
|
260
|
+
<xs:annotation>
|
|
261
|
+
<xs:documentation>Tipo Decimal com até 3 dígitos inteiros, podendo ter de 2 até 4 decimais</xs:documentation>
|
|
262
|
+
</xs:annotation>
|
|
263
|
+
<xs:restriction base="xs:string">
|
|
264
|
+
<xs:whiteSpace value="preserve"/>
|
|
265
|
+
<xs:pattern value="0|0\.[0-9]{2,4}|[1-9]{1}[0-9]{0,2}(\.[0-9]{2,4})?"/>
|
|
266
|
+
</xs:restriction>
|
|
267
|
+
</xs:simpleType>
|
|
268
|
+
<xs:simpleType name="TDec_0302a04Opc">
|
|
269
|
+
<xs:annotation>
|
|
270
|
+
<xs:documentation>Tipo Decimal com até 3 dígitos inteiros e 2 até 4 decimais. Utilizados em TAGs opcionais, não aceita valor zero</xs:documentation>
|
|
271
|
+
</xs:annotation>
|
|
272
|
+
<xs:restriction base="xs:string">
|
|
273
|
+
<xs:whiteSpace value="preserve"/>
|
|
274
|
+
<xs:pattern value="0\.[0-9]{2,4}|[1-9]{1}[0-9]{0,2}(\.[0-9]{2,4})?"/>
|
|
275
|
+
</xs:restriction>
|
|
276
|
+
</xs:simpleType>
|
|
277
|
+
<xs:simpleType name="TDec_0302a04Max100">
|
|
278
|
+
<xs:annotation>
|
|
279
|
+
<xs:documentation>Tipo Decimal com 3 inteiros (no máximo 100), com até 4 decimais</xs:documentation>
|
|
280
|
+
</xs:annotation>
|
|
281
|
+
<xs:restriction base="xs:string">
|
|
282
|
+
<xs:whiteSpace value="preserve"/>
|
|
283
|
+
<xs:pattern value="0(\.[0-9]{2,4})?|[1-9]{1}[0-9]{0,1}(\.[0-9]{2,4})?|100(\.0{2,4})?"/>
|
|
284
|
+
</xs:restriction>
|
|
285
|
+
</xs:simpleType>
|
|
286
|
+
<xs:simpleType name="TDec_0402_0408">
|
|
287
|
+
<xs:annotation>
|
|
288
|
+
<xs:documentation>Tipo Decimal com 4 dígitos inteiros e 2 a 8 casas decimais</xs:documentation>
|
|
289
|
+
</xs:annotation>
|
|
290
|
+
<xs:restriction base="xs:string">
|
|
291
|
+
<xs:whiteSpace value="preserve"/>
|
|
292
|
+
<xs:pattern value="[0-9]{1,4}(\.[0-9]{2,8})?"/>
|
|
293
|
+
</xs:restriction>
|
|
294
|
+
</xs:simpleType>
|
|
295
|
+
<xs:simpleType name="TDec_0503">
|
|
296
|
+
<xs:annotation>
|
|
297
|
+
<xs:documentation>Tipo Decimal com 8 dígitos, sendo 5 inteiros e 3 decimais</xs:documentation>
|
|
298
|
+
</xs:annotation>
|
|
299
|
+
<xs:restriction base="xs:string">
|
|
300
|
+
<xs:whiteSpace value="preserve"/>
|
|
301
|
+
<xs:pattern value="0|0\.[0-9]{3}|[1-9]{1}[0-9]{0,4}(\.[0-9]{3})?"/>
|
|
302
|
+
</xs:restriction>
|
|
303
|
+
</xs:simpleType>
|
|
304
|
+
<xs:simpleType name="TDec_0803">
|
|
305
|
+
<xs:annotation>
|
|
306
|
+
<xs:documentation>Tipo Decimal com 11 dígitos, sendo 8 inteiros e 3 decimais</xs:documentation>
|
|
307
|
+
</xs:annotation>
|
|
308
|
+
<xs:restriction base="xs:string">
|
|
309
|
+
<xs:whiteSpace value="preserve"/>
|
|
310
|
+
<xs:pattern value="0|0\.[0-9]{3}|[1-9]{1}[0-9]{0,7}(\.[0-9]{3})?"/>
|
|
311
|
+
</xs:restriction>
|
|
312
|
+
</xs:simpleType>
|
|
313
|
+
<xs:simpleType name="TDec_0803Opc">
|
|
314
|
+
<xs:annotation>
|
|
315
|
+
<xs:documentation>Tipo Decimal com 11 dígitos, sendo 8 inteiros e 3 decimais utilizado em tags opcionais</xs:documentation>
|
|
316
|
+
</xs:annotation>
|
|
317
|
+
<xs:restriction base="xs:string">
|
|
318
|
+
<xs:whiteSpace value="preserve"/>
|
|
319
|
+
<xs:pattern value="0\.[0-9]{3}|[1-9]{1}[0-9]{0,7}(\.[0-9]{3})?"/>
|
|
320
|
+
</xs:restriction>
|
|
321
|
+
</xs:simpleType>
|
|
322
|
+
<xs:simpleType name="TDec_0804">
|
|
323
|
+
<xs:annotation>
|
|
324
|
+
<xs:documentation>Tipo Decimal com 12 dígitos, sendo 8 inteiros e 4 decimais</xs:documentation>
|
|
325
|
+
</xs:annotation>
|
|
326
|
+
<xs:restriction base="xs:string">
|
|
327
|
+
<xs:whiteSpace value="preserve"/>
|
|
328
|
+
<xs:pattern value="0|0\.[0-9]{4}|[1-9]{1}[0-9]{0,7}(\.[0-9]{4})?"/>
|
|
329
|
+
</xs:restriction>
|
|
330
|
+
</xs:simpleType>
|
|
331
|
+
<xs:simpleType name="TDec_0804Opc">
|
|
332
|
+
<xs:annotation>
|
|
333
|
+
<xs:documentation>Tipo Decimal com 12 dígitos, sendo 8 inteiros e 4 decimais, utilizado em tags opcionais</xs:documentation>
|
|
334
|
+
</xs:annotation>
|
|
335
|
+
<xs:restriction base="xs:string">
|
|
336
|
+
<xs:whiteSpace value="preserve"/>
|
|
337
|
+
<xs:pattern value="0\.[0-9]{4}|[1-9]{1}[0-9]{0,7}(\.[0-9]{4})?"/>
|
|
338
|
+
</xs:restriction>
|
|
339
|
+
</xs:simpleType>
|
|
340
|
+
<xs:simpleType name="TDec_0906">
|
|
341
|
+
<xs:annotation>
|
|
342
|
+
<xs:documentation>Tipo Decimal com 15 dígitos, sendo 9 inteiros e 6 decimais</xs:documentation>
|
|
343
|
+
</xs:annotation>
|
|
344
|
+
<xs:restriction base="xs:string">
|
|
345
|
+
<xs:whiteSpace value="preserve"/>
|
|
346
|
+
<xs:pattern value="0|0\.[0-9]{6}|[1-9]{1}[0-9]{0,8}(\.[0-9]{6})?"/>
|
|
347
|
+
</xs:restriction>
|
|
348
|
+
</xs:simpleType>
|
|
349
|
+
<xs:simpleType name="TDec_0906Opc">
|
|
350
|
+
<xs:annotation>
|
|
351
|
+
<xs:documentation>Tipo Decimal com 15 dígitos, sendo 9 inteiros e 6 decimais, utilizado em tags opcionais</xs:documentation>
|
|
352
|
+
</xs:annotation>
|
|
353
|
+
<xs:restriction base="xs:string">
|
|
354
|
+
<xs:whiteSpace value="preserve"/>
|
|
355
|
+
<xs:pattern value="0\.[0-9]{6}|[1-9]{1}[0-9]{0,8}(\.[0-9]{6})?"/>
|
|
356
|
+
</xs:restriction>
|
|
357
|
+
</xs:simpleType>
|
|
358
|
+
<xs:simpleType name="TDec_0908">
|
|
359
|
+
<xs:annotation>
|
|
360
|
+
<xs:documentation>Tipo Decimal com 15 dígitos, sendo 9 inteiros e 8 decimais</xs:documentation>
|
|
361
|
+
</xs:annotation>
|
|
362
|
+
<xs:restriction base="xs:string">
|
|
363
|
+
<xs:whiteSpace value="preserve"/>
|
|
364
|
+
<xs:pattern value="0|0\.[0-9]{8}|[1-9]{1}[0-9]{0,8}(\.[0-9]{8})?"/>
|
|
365
|
+
</xs:restriction>
|
|
366
|
+
</xs:simpleType>
|
|
367
|
+
<xs:simpleType name="TDec_0908Opc">
|
|
368
|
+
<xs:annotation>
|
|
369
|
+
<xs:documentation>Tipo Decimal com 15 dígitos, sendo 9 inteiros e 8 decimais, utilizado em tags opcionais</xs:documentation>
|
|
370
|
+
</xs:annotation>
|
|
371
|
+
<xs:restriction base="xs:string">
|
|
372
|
+
<xs:whiteSpace value="preserve"/>
|
|
373
|
+
<xs:pattern value="0\.[0-9]{8}|[1-9]{1}[0-9]{0,8}(\.[0-9]{8})?"/>
|
|
374
|
+
</xs:restriction>
|
|
375
|
+
</xs:simpleType>
|
|
376
|
+
<xs:simpleType name="TDec_1104">
|
|
377
|
+
<xs:annotation>
|
|
378
|
+
<xs:documentation>Tipo Decimal com 15 dígitos, sendo 11 inteiros e 4 decimais</xs:documentation>
|
|
379
|
+
</xs:annotation>
|
|
380
|
+
<xs:restriction base="xs:string">
|
|
381
|
+
<xs:whiteSpace value="preserve"/>
|
|
382
|
+
<xs:pattern value="0|0\.[0-9]{4}|[1-9]{1}[0-9]{0,10}(\.[0-9]{4})?"/>
|
|
383
|
+
</xs:restriction>
|
|
384
|
+
</xs:simpleType>
|
|
385
|
+
<xs:simpleType name="TDec_1104Opc">
|
|
386
|
+
<xs:annotation>
|
|
387
|
+
<xs:documentation>Tipo Decimal com 15 dígitos, sendo 11 inteiros e 4 decimais, utilizado em tags opcionais</xs:documentation>
|
|
388
|
+
</xs:annotation>
|
|
389
|
+
<xs:restriction base="xs:string">
|
|
390
|
+
<xs:whiteSpace value="preserve"/>
|
|
391
|
+
<xs:pattern value="0\.[0-9]{4}|[1-9]{1}[0-9]{0,10}(\.[0-9]{4})?"/>
|
|
392
|
+
</xs:restriction>
|
|
393
|
+
</xs:simpleType>
|
|
394
|
+
<xs:simpleType name="TDec_1100_1104">
|
|
395
|
+
<xs:annotation>
|
|
396
|
+
<xs:documentation>Tipo Decimal com 11 dígitos inteiros e 0 a 4 casas decimais</xs:documentation>
|
|
397
|
+
</xs:annotation>
|
|
398
|
+
<xs:restriction base="xs:string">
|
|
399
|
+
<xs:whiteSpace value="preserve"/>
|
|
400
|
+
<xs:pattern value="[0-9]{1,11}(\.[0-9]{2,4})?"/>
|
|
401
|
+
</xs:restriction>
|
|
402
|
+
</xs:simpleType>
|
|
403
|
+
<xs:simpleType name="TDec_1203">
|
|
404
|
+
<xs:annotation>
|
|
405
|
+
<xs:documentation>Tipo Decimal com 15 dígitos, sendo 12 inteiros e 3 decimais</xs:documentation>
|
|
406
|
+
</xs:annotation>
|
|
407
|
+
<xs:restriction base="xs:string">
|
|
408
|
+
<xs:whiteSpace value="preserve"/>
|
|
409
|
+
<xs:pattern value="0|0\.[0-9]{3}|[1-9]{1}[0-9]{0,11}(\.[0-9]{3})?"/>
|
|
410
|
+
</xs:restriction>
|
|
411
|
+
</xs:simpleType>
|
|
412
|
+
<xs:simpleType name="TDec_1203Opc">
|
|
413
|
+
<xs:annotation>
|
|
414
|
+
<xs:documentation>Tipo Decimal com 15 dígitos, sendo 12 inteiros e 3 decimais, utilizado em tags opcionais</xs:documentation>
|
|
415
|
+
</xs:annotation>
|
|
416
|
+
<xs:restriction base="xs:string">
|
|
417
|
+
<xs:whiteSpace value="preserve"/>
|
|
418
|
+
<xs:pattern value="0\.[0-9]{3}|[1-9]{1}[0-9]{0,11}(\.[0-9]{3})?"/>
|
|
419
|
+
</xs:restriction>
|
|
420
|
+
</xs:simpleType>
|
|
421
|
+
<xs:simpleType name="TDec_1204">
|
|
422
|
+
<xs:annotation>
|
|
423
|
+
<xs:documentation>Tipo Decimal com 16 dígitos, sendo 12 de corpo e 4 decimais</xs:documentation>
|
|
424
|
+
</xs:annotation>
|
|
425
|
+
<xs:restriction base="xs:string">
|
|
426
|
+
<xs:whiteSpace value="preserve"/>
|
|
427
|
+
<xs:pattern value="0|0\.[0-9]{4}|[1-9]{1}[0-9]{0,11}(\.[0-9]{4})?"/>
|
|
428
|
+
</xs:restriction>
|
|
429
|
+
</xs:simpleType>
|
|
430
|
+
<xs:simpleType name="TDec_1204Opc">
|
|
431
|
+
<xs:annotation>
|
|
432
|
+
<xs:documentation>Tipo Decimal com 16 dígitos, sendo 12 inteiros e 4 decimais, utilizado em tags opcionais</xs:documentation>
|
|
433
|
+
</xs:annotation>
|
|
434
|
+
<xs:restriction base="xs:string">
|
|
435
|
+
<xs:whiteSpace value="preserve"/>
|
|
436
|
+
<xs:pattern value="0\.[0-9]{4}|[1-9]{1}[0-9]{0,11}(\.[0-9]{4})?"/>
|
|
437
|
+
</xs:restriction>
|
|
438
|
+
</xs:simpleType>
|
|
439
|
+
<xs:simpleType name="TDec_1302">
|
|
440
|
+
<xs:annotation>
|
|
441
|
+
<xs:documentation>Tipo Decimal com 15 dígitos, sendo 13 inteiros e 2 decimais</xs:documentation>
|
|
442
|
+
</xs:annotation>
|
|
443
|
+
<xs:restriction base="xs:string">
|
|
444
|
+
<xs:whiteSpace value="preserve"/>
|
|
445
|
+
<xs:pattern value="0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?"/>
|
|
446
|
+
</xs:restriction>
|
|
447
|
+
</xs:simpleType>
|
|
448
|
+
<xs:simpleType name="TDec_1302Opc">
|
|
449
|
+
<xs:annotation>
|
|
450
|
+
<xs:documentation>Tipo Decimal com 15 dígitos, sendo 13 inteiros e 2 decimais, utilizado em tags opcionais</xs:documentation>
|
|
451
|
+
</xs:annotation>
|
|
452
|
+
<xs:restriction base="xs:string">
|
|
453
|
+
<xs:whiteSpace value="preserve"/>
|
|
454
|
+
<xs:pattern value="0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?"/>
|
|
455
|
+
</xs:restriction>
|
|
456
|
+
</xs:simpleType>
|
|
457
|
+
<xs:simpleType name="TDec_1302_1306">
|
|
458
|
+
<xs:annotation>
|
|
459
|
+
<xs:documentation>Tipo Decimal com 13 dígitos inteiros e 2 a 6 casas decimais</xs:documentation>
|
|
460
|
+
</xs:annotation>
|
|
461
|
+
<xs:restriction base="xs:string">
|
|
462
|
+
<xs:whiteSpace value="preserve"/>
|
|
463
|
+
<xs:pattern value="[0-9]{1,13}(\.[0-9]{2,6})?"/>
|
|
464
|
+
</xs:restriction>
|
|
465
|
+
</xs:simpleType>
|
|
466
|
+
<xs:simpleType name="TDec_1302_1308">
|
|
467
|
+
<xs:annotation>
|
|
468
|
+
<xs:documentation>Tipo Decimal com 13 dígitos inteiros e 2 a 8 casas decimais</xs:documentation>
|
|
469
|
+
</xs:annotation>
|
|
470
|
+
<xs:restriction base="xs:string">
|
|
471
|
+
<xs:whiteSpace value="preserve"/>
|
|
472
|
+
<xs:pattern value="[0-9]{1,13}(\.[0-9]{2,8})?"/>
|
|
473
|
+
</xs:restriction>
|
|
474
|
+
</xs:simpleType>
|
|
475
|
+
<xs:simpleType name="TDec_1302_1304">
|
|
476
|
+
<xs:annotation>
|
|
477
|
+
<xs:documentation>Tipo Decimal com 13 dígitos inteiros e 2 a 4 casas decimais</xs:documentation>
|
|
478
|
+
</xs:annotation>
|
|
479
|
+
<xs:restriction base="xs:string">
|
|
480
|
+
<xs:whiteSpace value="preserve"/>
|
|
481
|
+
<xs:pattern value="[0-9]{1,13}(\.[0-9]{2,4})?"/>
|
|
482
|
+
</xs:restriction>
|
|
483
|
+
</xs:simpleType>
|
|
484
|
+
<xs:simpleType name="TIeDest">
|
|
485
|
+
<xs:annotation>
|
|
486
|
+
<xs:documentation>Tipo Inscrição Estadual do Destinatário</xs:documentation>
|
|
487
|
+
</xs:annotation>
|
|
488
|
+
<xs:restriction base="xs:string">
|
|
489
|
+
<xs:whiteSpace value="preserve"/>
|
|
490
|
+
<xs:pattern value="[0-9]{0,14}|ISENTO"/>
|
|
491
|
+
</xs:restriction>
|
|
492
|
+
</xs:simpleType>
|
|
493
|
+
<xs:simpleType name="TModDCe">
|
|
494
|
+
<xs:annotation>
|
|
495
|
+
<xs:documentation>Tipo Modelo DCe</xs:documentation>
|
|
496
|
+
</xs:annotation>
|
|
497
|
+
<xs:restriction base="xs:string">
|
|
498
|
+
<xs:whiteSpace value="preserve"/>
|
|
499
|
+
<xs:enumeration value="99"/>
|
|
500
|
+
</xs:restriction>
|
|
501
|
+
</xs:simpleType>
|
|
502
|
+
<xs:simpleType name="TIe">
|
|
503
|
+
<xs:annotation>
|
|
504
|
+
<xs:documentation>Tipo Inscrição Estadual do Emitente</xs:documentation>
|
|
505
|
+
</xs:annotation>
|
|
506
|
+
<xs:restriction base="xs:string">
|
|
507
|
+
<xs:whiteSpace value="preserve"/>
|
|
508
|
+
<xs:pattern value="[0-9]{2,14}"/>
|
|
509
|
+
</xs:restriction>
|
|
510
|
+
</xs:simpleType>
|
|
511
|
+
<xs:simpleType name="TNF">
|
|
512
|
+
<xs:annotation>
|
|
513
|
+
<xs:documentation>Tipo Número do Documento Fiscal</xs:documentation>
|
|
514
|
+
</xs:annotation>
|
|
515
|
+
<xs:restriction base="xs:string">
|
|
516
|
+
<xs:whiteSpace value="preserve"/>
|
|
517
|
+
<xs:pattern value="[1-9]{1}[0-9]{0,8}"/>
|
|
518
|
+
</xs:restriction>
|
|
519
|
+
</xs:simpleType>
|
|
520
|
+
<xs:simpleType name="TSerie">
|
|
521
|
+
<xs:annotation>
|
|
522
|
+
<xs:documentation>Tipo Série do Documento Fiscal</xs:documentation>
|
|
523
|
+
</xs:annotation>
|
|
524
|
+
<xs:restriction base="xs:string">
|
|
525
|
+
<xs:whiteSpace value="preserve"/>
|
|
526
|
+
<xs:pattern value="0|[1-9]{1}[0-9]{0,2}"/>
|
|
527
|
+
</xs:restriction>
|
|
528
|
+
</xs:simpleType>
|
|
529
|
+
<xs:simpleType name="TUf">
|
|
530
|
+
<xs:annotation>
|
|
531
|
+
<xs:documentation>Tipo Sigla da UF</xs:documentation>
|
|
532
|
+
</xs:annotation>
|
|
533
|
+
<xs:restriction base="xs:string">
|
|
534
|
+
<xs:whiteSpace value="preserve"/>
|
|
535
|
+
<xs:enumeration value="AC"/>
|
|
536
|
+
<xs:enumeration value="AL"/>
|
|
537
|
+
<xs:enumeration value="AM"/>
|
|
538
|
+
<xs:enumeration value="AP"/>
|
|
539
|
+
<xs:enumeration value="BA"/>
|
|
540
|
+
<xs:enumeration value="CE"/>
|
|
541
|
+
<xs:enumeration value="DF"/>
|
|
542
|
+
<xs:enumeration value="ES"/>
|
|
543
|
+
<xs:enumeration value="GO"/>
|
|
544
|
+
<xs:enumeration value="MA"/>
|
|
545
|
+
<xs:enumeration value="MG"/>
|
|
546
|
+
<xs:enumeration value="MS"/>
|
|
547
|
+
<xs:enumeration value="MT"/>
|
|
548
|
+
<xs:enumeration value="PA"/>
|
|
549
|
+
<xs:enumeration value="PB"/>
|
|
550
|
+
<xs:enumeration value="PE"/>
|
|
551
|
+
<xs:enumeration value="PI"/>
|
|
552
|
+
<xs:enumeration value="PR"/>
|
|
553
|
+
<xs:enumeration value="RJ"/>
|
|
554
|
+
<xs:enumeration value="RN"/>
|
|
555
|
+
<xs:enumeration value="RO"/>
|
|
556
|
+
<xs:enumeration value="RR"/>
|
|
557
|
+
<xs:enumeration value="RS"/>
|
|
558
|
+
<xs:enumeration value="SC"/>
|
|
559
|
+
<xs:enumeration value="SE"/>
|
|
560
|
+
<xs:enumeration value="SP"/>
|
|
561
|
+
<xs:enumeration value="TO"/>
|
|
562
|
+
<xs:enumeration value="EX"/>
|
|
563
|
+
</xs:restriction>
|
|
564
|
+
</xs:simpleType>
|
|
565
|
+
<xs:simpleType name="TUf_sem_EX">
|
|
566
|
+
<xs:annotation>
|
|
567
|
+
<xs:documentation>Tipo Sigla da UF - Sem Exterior</xs:documentation>
|
|
568
|
+
</xs:annotation>
|
|
569
|
+
<xs:restriction base="xs:string">
|
|
570
|
+
<xs:whiteSpace value="preserve"/>
|
|
571
|
+
<xs:enumeration value="AC"/>
|
|
572
|
+
<xs:enumeration value="AL"/>
|
|
573
|
+
<xs:enumeration value="AM"/>
|
|
574
|
+
<xs:enumeration value="AP"/>
|
|
575
|
+
<xs:enumeration value="BA"/>
|
|
576
|
+
<xs:enumeration value="CE"/>
|
|
577
|
+
<xs:enumeration value="DF"/>
|
|
578
|
+
<xs:enumeration value="ES"/>
|
|
579
|
+
<xs:enumeration value="GO"/>
|
|
580
|
+
<xs:enumeration value="MA"/>
|
|
581
|
+
<xs:enumeration value="MG"/>
|
|
582
|
+
<xs:enumeration value="MS"/>
|
|
583
|
+
<xs:enumeration value="MT"/>
|
|
584
|
+
<xs:enumeration value="PA"/>
|
|
585
|
+
<xs:enumeration value="PB"/>
|
|
586
|
+
<xs:enumeration value="PE"/>
|
|
587
|
+
<xs:enumeration value="PI"/>
|
|
588
|
+
<xs:enumeration value="PR"/>
|
|
589
|
+
<xs:enumeration value="RJ"/>
|
|
590
|
+
<xs:enumeration value="RN"/>
|
|
591
|
+
<xs:enumeration value="RO"/>
|
|
592
|
+
<xs:enumeration value="RR"/>
|
|
593
|
+
<xs:enumeration value="RS"/>
|
|
594
|
+
<xs:enumeration value="SC"/>
|
|
595
|
+
<xs:enumeration value="SE"/>
|
|
596
|
+
<xs:enumeration value="SP"/>
|
|
597
|
+
<xs:enumeration value="TO"/>
|
|
598
|
+
</xs:restriction>
|
|
599
|
+
</xs:simpleType>
|
|
600
|
+
<xs:simpleType name="TAmb">
|
|
601
|
+
<xs:annotation>
|
|
602
|
+
<xs:documentation>Tipo Ambiente</xs:documentation>
|
|
603
|
+
</xs:annotation>
|
|
604
|
+
<xs:restriction base="xs:string">
|
|
605
|
+
<xs:whiteSpace value="preserve"/>
|
|
606
|
+
<xs:enumeration value="1"/>
|
|
607
|
+
<xs:enumeration value="2"/>
|
|
608
|
+
</xs:restriction>
|
|
609
|
+
</xs:simpleType>
|
|
610
|
+
<xs:simpleType name="TVerAplic">
|
|
611
|
+
<xs:annotation>
|
|
612
|
+
<xs:documentation>Tipo Versão do Aplicativo</xs:documentation>
|
|
613
|
+
</xs:annotation>
|
|
614
|
+
<xs:restriction base="TString">
|
|
615
|
+
<xs:minLength value="1"/>
|
|
616
|
+
<xs:maxLength value="20"/>
|
|
617
|
+
</xs:restriction>
|
|
618
|
+
</xs:simpleType>
|
|
619
|
+
<xs:simpleType name="TMotivo">
|
|
620
|
+
<xs:annotation>
|
|
621
|
+
<xs:documentation>Tipo Motivo</xs:documentation>
|
|
622
|
+
</xs:annotation>
|
|
623
|
+
<xs:restriction base="TString">
|
|
624
|
+
<xs:minLength value="1"/>
|
|
625
|
+
<xs:maxLength value="255"/>
|
|
626
|
+
</xs:restriction>
|
|
627
|
+
</xs:simpleType>
|
|
628
|
+
<xs:simpleType name="TJust">
|
|
629
|
+
<xs:annotation>
|
|
630
|
+
<xs:documentation>Tipo Justificativa</xs:documentation>
|
|
631
|
+
</xs:annotation>
|
|
632
|
+
<xs:restriction base="TString">
|
|
633
|
+
<xs:minLength value="15"/>
|
|
634
|
+
<xs:maxLength value="255"/>
|
|
635
|
+
</xs:restriction>
|
|
636
|
+
</xs:simpleType>
|
|
637
|
+
<xs:simpleType name="TServ">
|
|
638
|
+
<xs:annotation>
|
|
639
|
+
<xs:documentation>Tipo Serviço solicitado</xs:documentation>
|
|
640
|
+
</xs:annotation>
|
|
641
|
+
<xs:restriction base="TString"/>
|
|
642
|
+
</xs:simpleType>
|
|
643
|
+
<xs:simpleType name="Tano">
|
|
644
|
+
<xs:annotation>
|
|
645
|
+
<xs:documentation>Tipo ano</xs:documentation>
|
|
646
|
+
</xs:annotation>
|
|
647
|
+
<xs:restriction base="xs:string">
|
|
648
|
+
<xs:whiteSpace value="preserve"/>
|
|
649
|
+
<xs:pattern value="[0-9]{2}"/>
|
|
650
|
+
</xs:restriction>
|
|
651
|
+
</xs:simpleType>
|
|
652
|
+
<xs:simpleType name="TMed">
|
|
653
|
+
<xs:annotation>
|
|
654
|
+
<xs:documentation>Tipo temp médio em segundos</xs:documentation>
|
|
655
|
+
</xs:annotation>
|
|
656
|
+
<xs:restriction base="xs:string">
|
|
657
|
+
<xs:whiteSpace value="preserve"/>
|
|
658
|
+
<xs:pattern value="[0-9]{1,4}"/>
|
|
659
|
+
</xs:restriction>
|
|
660
|
+
</xs:simpleType>
|
|
661
|
+
<xs:simpleType name="TString">
|
|
662
|
+
<xs:annotation>
|
|
663
|
+
<xs:documentation>Tipo string genérico</xs:documentation>
|
|
664
|
+
</xs:annotation>
|
|
665
|
+
<xs:restriction base="xs:string">
|
|
666
|
+
<xs:whiteSpace value="preserve"/>
|
|
667
|
+
<xs:pattern value="[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1}"/>
|
|
668
|
+
</xs:restriction>
|
|
669
|
+
</xs:simpleType>
|
|
670
|
+
<xs:simpleType name="TData">
|
|
671
|
+
<xs:annotation>
|
|
672
|
+
<xs:documentation>Tipo data AAAA-MM-DD</xs:documentation>
|
|
673
|
+
</xs:annotation>
|
|
674
|
+
<xs:restriction base="xs:string">
|
|
675
|
+
<xs:whiteSpace value="preserve"/>
|
|
676
|
+
<xs:pattern value="((((20|19|18)(([02468][048])|([13579][26]))-02-29))|((20|19|18)[0-9][0-9])-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))-31)|(((0[1,3-9])|(1[0-2]))-(29|30)))))"/>
|
|
677
|
+
</xs:restriction>
|
|
678
|
+
</xs:simpleType>
|
|
679
|
+
<xs:simpleType name="TLatitude">
|
|
680
|
+
<xs:annotation>
|
|
681
|
+
<xs:documentation>Coordenada geográfica Latitude</xs:documentation>
|
|
682
|
+
</xs:annotation>
|
|
683
|
+
<xs:restriction base="TString">
|
|
684
|
+
<xs:pattern value="[0-9]\.[0-9]{6}|[1-8][0-9]\.[0-9]{6}|90\.[0-9]{6}|-[0-9]\.[0-9]{6}|-[1-8][0-9]\.[0-9]{6}|-90\.[0-9]{6}"/>
|
|
685
|
+
</xs:restriction>
|
|
686
|
+
</xs:simpleType>
|
|
687
|
+
<xs:simpleType name="TLongitude">
|
|
688
|
+
<xs:annotation>
|
|
689
|
+
<xs:documentation>Coordenada geográfica Longitude</xs:documentation>
|
|
690
|
+
</xs:annotation>
|
|
691
|
+
<xs:restriction base="TString">
|
|
692
|
+
<xs:pattern value="[0-9]\.[0-9]{6}|[1-9][0-9]\.[0-9]{6}|1[0-7][0-9]\.[0-9]{6}|180\.[0-9]{6}|-[0-9]\.[0-9]{6}|-[1-9][0-9]\.[0-9]{6}|-1[0-7][0-9]\.[0-9]{6}|-180\.[0-9]{6}"/>
|
|
693
|
+
</xs:restriction>
|
|
694
|
+
</xs:simpleType>
|
|
695
|
+
<xs:simpleType name="TNSU">
|
|
696
|
+
<xs:annotation>
|
|
697
|
+
<xs:documentation>Tipo número sequencial único do AN</xs:documentation>
|
|
698
|
+
</xs:annotation>
|
|
699
|
+
<xs:restriction base="xs:string">
|
|
700
|
+
<xs:pattern value="[0-9]{15}"/>
|
|
701
|
+
</xs:restriction>
|
|
702
|
+
</xs:simpleType>
|
|
703
|
+
<xs:simpleType name="TIPv4">
|
|
704
|
+
<xs:annotation>
|
|
705
|
+
<xs:documentation>Tipo IP versão 4</xs:documentation>
|
|
706
|
+
</xs:annotation>
|
|
707
|
+
<xs:restriction base="xs:string">
|
|
708
|
+
<xs:whiteSpace value="preserve"/>
|
|
709
|
+
<xs:pattern value="(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])"/>
|
|
710
|
+
</xs:restriction>
|
|
711
|
+
</xs:simpleType>
|
|
712
|
+
</xs:schema>
|