Rev 182 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- PL_008 - 30/07/2013- NT 2013/005 --> |
||
| 3 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:nfe="http://www.portalfiscal.inf.br/nfe" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified"> |
||
| 4 | <xs:simpleType name="TCodUfIBGE"> |
||
| 5 | <xs:annotation> |
||
| 6 | <xs:documentation>Tipo Código da UF da tabela do IBGE</xs:documentation> |
||
| 7 | </xs:annotation> |
||
| 8 | <xs:restriction base="xs:string"> |
||
| 9 | <xs:whiteSpace value="preserve"/> |
||
| 10 | <xs:enumeration value="11"/> |
||
| 11 | <xs:enumeration value="12"/> |
||
| 12 | <xs:enumeration value="13"/> |
||
| 13 | <xs:enumeration value="14"/> |
||
| 14 | <xs:enumeration value="15"/> |
||
| 15 | <xs:enumeration value="16"/> |
||
| 16 | <xs:enumeration value="17"/> |
||
| 17 | <xs:enumeration value="21"/> |
||
| 18 | <xs:enumeration value="22"/> |
||
| 19 | <xs:enumeration value="23"/> |
||
| 20 | <xs:enumeration value="24"/> |
||
| 21 | <xs:enumeration value="25"/> |
||
| 22 | <xs:enumeration value="26"/> |
||
| 23 | <xs:enumeration value="27"/> |
||
| 24 | <xs:enumeration value="28"/> |
||
| 25 | <xs:enumeration value="29"/> |
||
| 26 | <xs:enumeration value="31"/> |
||
| 27 | <xs:enumeration value="32"/> |
||
| 28 | <xs:enumeration value="33"/> |
||
| 29 | <xs:enumeration value="35"/> |
||
| 30 | <xs:enumeration value="41"/> |
||
| 31 | <xs:enumeration value="42"/> |
||
| 32 | <xs:enumeration value="43"/> |
||
| 33 | <xs:enumeration value="50"/> |
||
| 34 | <xs:enumeration value="51"/> |
||
| 35 | <xs:enumeration value="52"/> |
||
| 36 | <xs:enumeration value="53"/> |
||
| 37 | </xs:restriction> |
||
| 38 | </xs:simpleType> |
||
| 39 | <xs:simpleType name="TCodMunIBGE"> |
||
| 40 | <xs:annotation> |
||
| 41 | <xs:documentation>Tipo Código do Município da tabela do IBGE</xs:documentation> |
||
| 42 | </xs:annotation> |
||
| 43 | <xs:restriction base="xs:string"> |
||
| 44 | <xs:whiteSpace value="preserve"/> |
||
| 45 | <xs:pattern value="[0-9]{7}"/> |
||
| 46 | </xs:restriction> |
||
| 47 | </xs:simpleType> |
||
| 48 | <xs:simpleType name="TChNFe"> |
||
| 49 | <xs:annotation> |
||
| 50 | <xs:documentation>Tipo Chave da Nota Fiscal Eletrônica</xs:documentation> |
||
| 51 | </xs:annotation> |
||
| 52 | <xs:restriction base="xs:string"> |
||
| 53 | <xs:whiteSpace value="preserve"/> |
||
| 54 | <xs:maxLength value="44"/> |
||
| 55 | <xs:pattern value="[0-9]{44}"/> |
||
| 56 | </xs:restriction> |
||
| 57 | </xs:simpleType> |
||
| 58 | <xs:simpleType name="TProt"> |
||
| 59 | <xs:annotation> |
||
| 60 | <xs:documentation>Tipo Número do Protocolo de Status</xs:documentation> |
||
| 61 | </xs:annotation> |
||
| 62 | <xs:restriction base="xs:string"> |
||
| 63 | <xs:whiteSpace value="preserve"/> |
||
| 64 | <xs:maxLength value="15"/> |
||
| 65 | <xs:pattern value="[0-9]{15}"/> |
||
| 66 | </xs:restriction> |
||
| 67 | </xs:simpleType> |
||
| 68 | <xs:simpleType name="TRec"> |
||
| 69 | <xs:annotation> |
||
| 70 | <xs:documentation>Tipo Número do Recibo do envio de lote de NF-e</xs:documentation> |
||
| 71 | </xs:annotation> |
||
| 72 | <xs:restriction base="xs:string"> |
||
| 73 | <xs:whiteSpace value="preserve"/> |
||
| 74 | <xs:maxLength value="15"/> |
||
| 75 | <xs:pattern value="[0-9]{15}"/> |
||
| 76 | </xs:restriction> |
||
| 77 | </xs:simpleType> |
||
| 78 | <xs:simpleType name="TStat"> |
||
| 79 | <xs:annotation> |
||
| 80 | <xs:documentation>Tipo Código da Mensagem enviada</xs:documentation> |
||
| 81 | </xs:annotation> |
||
| 82 | <xs:restriction base="xs:string"> |
||
| 83 | <xs:whiteSpace value="preserve"/> |
||
| 84 | <xs:maxLength value="3"/> |
||
| 85 | <xs:pattern value="[0-9]{3}"/> |
||
| 86 | </xs:restriction> |
||
| 87 | </xs:simpleType> |
||
| 88 | <xs:simpleType name="TCnpj"> |
||
| 89 | <xs:annotation> |
||
| 90 | <xs:documentation>Tipo Número do CNPJ</xs:documentation> |
||
| 91 | </xs:annotation> |
||
| 92 | <xs:restriction base="xs:string"> |
||
| 93 | <xs:whiteSpace value="preserve"/> |
||
| 94 | <xs:maxLength value="14"/> |
||
| 95 | <xs:pattern value="[0-9]{14}"/> |
||
| 96 | </xs:restriction> |
||
| 97 | </xs:simpleType> |
||
| 98 | <xs:simpleType name="TCnpjVar"> |
||
| 99 | <xs:annotation> |
||
| 100 | <xs:documentation>Tipo Número do CNPJ tmanho varíavel (3-14)</xs:documentation> |
||
| 101 | </xs:annotation> |
||
| 102 | <xs:restriction base="xs:string"> |
||
| 103 | <xs:whiteSpace value="preserve"/> |
||
| 104 | <xs:maxLength value="14"/> |
||
| 105 | <xs:pattern value="[0-9]{3,14}"/> |
||
| 106 | </xs:restriction> |
||
| 107 | </xs:simpleType> |
||
| 108 | <xs:simpleType name="TCnpjOpc"> |
||
| 109 | <xs:annotation> |
||
| 110 | <xs:documentation>Tipo Número do CNPJ Opcional</xs:documentation> |
||
| 111 | </xs:annotation> |
||
| 112 | <xs:restriction base="xs:string"> |
||
| 113 | <xs:whiteSpace value="preserve"/> |
||
| 114 | <xs:maxLength value="14"/> |
||
| 115 | <xs:pattern value="[0-9]{0}|[0-9]{14}"/> |
||
| 116 | </xs:restriction> |
||
| 117 | </xs:simpleType> |
||
| 118 | <xs:simpleType name="TCpf"> |
||
| 119 | <xs:annotation> |
||
| 120 | <xs:documentation>Tipo Número do CPF</xs:documentation> |
||
| 121 | </xs:annotation> |
||
| 122 | <xs:restriction base="xs:string"> |
||
| 123 | <xs:whiteSpace value="preserve"/> |
||
| 124 | <xs:maxLength value="11"/> |
||
| 125 | <xs:pattern value="[0-9]{11}"/> |
||
| 126 | </xs:restriction> |
||
| 127 | </xs:simpleType> |
||
| 128 | <xs:simpleType name="TCpfVar"> |
||
| 129 | <xs:annotation> |
||
| 130 | <xs:documentation>Tipo Número do CPF de tamanho variável (3-11)</xs:documentation> |
||
| 131 | </xs:annotation> |
||
| 132 | <xs:restriction base="xs:string"> |
||
| 133 | <xs:whiteSpace value="preserve"/> |
||
| 134 | <xs:maxLength value="11"/> |
||
| 135 | <xs:pattern value="[0-9]{3,11}"/> |
||
| 136 | </xs:restriction> |
||
| 137 | </xs:simpleType> |
||
| 138 | <xs:simpleType name="TDec_0204v"> |
||
| 139 | <xs:annotation> |
||
| 140 | <xs:documentation>Tipo Decimal com até 2 dígitos inteiros, podendo ter de 1 até 4 decimais</xs:documentation> |
||
| 141 | </xs:annotation> |
||
| 142 | <xs:restriction base="xs:string"> |
||
| 143 | <xs:whiteSpace value="preserve"/> |
||
| 144 | <xs:pattern value="0|0\.[0-9]{1,4}|[1-9]{1}[0-9]{0,1}(\.[0-9]{1,4})?"/> |
||
| 145 | </xs:restriction> |
||
| 146 | </xs:simpleType> |
||
| 147 | <xs:simpleType name="TDec_0302a04"> |
||
| 148 | <xs:annotation> |
||
| 149 | <xs:documentation>Tipo Decimal com até 3 dígitos inteiros, podendo ter de 2 até 4 decimais</xs:documentation> |
||
| 150 | </xs:annotation> |
||
| 151 | <xs:restriction base="xs:string"> |
||
| 152 | <xs:whiteSpace value="preserve"/> |
||
| 153 | <xs:pattern value="0|0\.[0-9]{2,4}|[1-9]{1}[0-9]{0,2}(\.[0-9]{2,4})?"/> |
||
| 154 | </xs:restriction> |
||
| 155 | </xs:simpleType> |
||
| 156 | <xs:simpleType name="TDec_0302a04Opc"> |
||
| 157 | <xs:annotation> |
||
| 158 | <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> |
||
| 159 | </xs:annotation> |
||
| 160 | <xs:restriction base="xs:string"> |
||
| 161 | <xs:whiteSpace value="preserve"/> |
||
| 162 | <xs:pattern value="0\.[0-9]{2,4}|[1-9]{1}[0-9]{0,2}(\.[0-9]{2,4})?"/> |
||
| 163 | </xs:restriction> |
||
| 164 | </xs:simpleType> |
||
| 165 | <xs:simpleType name="TDec_0302Max100"> |
||
| 166 | <xs:annotation> |
||
| 167 | <xs:documentation>Tipo Decimal com 3 inteiros (no máximo 100), com 2 decimais</xs:documentation> |
||
| 168 | </xs:annotation> |
||
| 169 | <xs:restriction base="xs:string"> |
||
| 170 | <xs:whiteSpace value="preserve"/> |
||
| 171 | <xs:pattern value="0(\.[0-9]{2})?|100(\.00)?|[1-9]{1}[0-9]{0,1}(\.[0-9]{2})?"/> |
||
| 172 | </xs:restriction> |
||
| 173 | </xs:simpleType> |
||
| 174 | <xs:simpleType name="TDec_0302a04Max100"> |
||
| 175 | <xs:annotation> |
||
| 176 | <xs:documentation>Tipo Decimal com 3 inteiros (no máximo 100), com até 4 decimais</xs:documentation> |
||
| 177 | </xs:annotation> |
||
| 178 | <xs:restriction base="xs:string"> |
||
| 179 | <xs:whiteSpace value="preserve"/> |
||
| 180 | <xs:pattern value="[1-9]{1}(\.[0-9]{2,4})?|[1-9]{1}[0-9]{1}(\.[0-9]{2,4})?|100(\.0{2,4})?"/> |
||
| 181 | </xs:restriction> |
||
| 182 | </xs:simpleType> |
||
| 183 | <xs:simpleType name="TDec_0803v"> |
||
| 184 | <xs:annotation> |
||
| 185 | <xs:documentation>Tipo Decimal com 8 inteiros, podendo ter de 1 até 3 decimais</xs:documentation> |
||
| 186 | </xs:annotation> |
||
| 187 | <xs:restriction base="xs:string"> |
||
| 188 | <xs:whiteSpace value="preserve"/> |
||
| 189 | <xs:pattern value="0|0\.[0-9]{3}|[1-9]{1}[0-9]{0,7}(\.[0-9]{1,3})?"/> |
||
| 190 | </xs:restriction> |
||
| 191 | </xs:simpleType> |
||
| 192 | <xs:simpleType name="TDec_1104"> |
||
| 193 | <xs:annotation> |
||
| 194 | <xs:documentation>Tipo Decimal com 11 inteiros, podendo ter 4 decimais</xs:documentation> |
||
| 195 | </xs:annotation> |
||
| 196 | <xs:restriction base="xs:string"> |
||
| 197 | <xs:whiteSpace value="preserve"/> |
||
| 198 | <xs:pattern value="0|0\.[0-9]{4}|[1-9]{1}[0-9]{0,10}(\.[0-9]{4})?"/> |
||
| 199 | </xs:restriction> |
||
| 200 | </xs:simpleType> |
||
| 201 | <xs:simpleType name="TDec_1104v"> |
||
| 202 | <xs:annotation> |
||
| 203 | <xs:documentation>Tipo Decimal com 11 inteiros, podendo ter de 1 até 4 decimais</xs:documentation> |
||
| 204 | </xs:annotation> |
||
| 205 | <xs:restriction base="xs:string"> |
||
| 206 | <xs:whiteSpace value="preserve"/> |
||
| 207 | <xs:pattern value="0|0\.[0-9]{1,4}|[1-9]{1}[0-9]{0,10}|[1-9]{1}[0-9]{0,10}(\.[0-9]{1,4})?"/> |
||
| 208 | </xs:restriction> |
||
| 209 | </xs:simpleType> |
||
| 210 | <xs:simpleType name="TDec_1104Opc"> |
||
| 211 | <xs:annotation> |
||
| 212 | <xs:documentation>Tipo Decimal com 11 inteiros, podendo ter 4 decimais (utilizado em tags opcionais)</xs:documentation> |
||
| 213 | </xs:annotation> |
||
| 214 | <xs:restriction base="xs:string"> |
||
| 215 | <xs:whiteSpace value="preserve"/> |
||
| 216 | <xs:pattern value="0\.[1-9]{1}[0-9]{3}|0\.[0-9]{3}[1-9]{1}|0\.[0-9]{2}[1-9]{1}[0-9]{1}|0\.[0-9]{1}[1-9]{1}[0-9]{2}|[1-9]{1}[0-9]{0,10}(\.[0-9]{4})?"/> |
||
| 217 | </xs:restriction> |
||
| 218 | </xs:simpleType> |
||
| 219 | <xs:simpleType name="TDec_1110v"> |
||
| 220 | <xs:annotation> |
||
| 221 | <xs:documentation>Tipo Decimal com 11 inteiros, podendo ter de 1 até 10 decimais</xs:documentation> |
||
| 222 | </xs:annotation> |
||
| 223 | <xs:restriction base="xs:string"> |
||
| 224 | <xs:whiteSpace value="preserve"/> |
||
| 225 | <xs:pattern value="0|0\.[0-9]{1,10}|[1-9]{1}[0-9]{0,10}|[1-9]{1}[0-9]{0,10}(\.[0-9]{1,10})?"/> |
||
| 226 | </xs:restriction> |
||
| 227 | </xs:simpleType> |
||
| 228 | <xs:simpleType name="TDec_1203"> |
||
| 229 | <xs:annotation> |
||
| 230 | <xs:documentation>Tipo Decimal com 12 inteiros, podendo ter 3 decimais</xs:documentation> |
||
| 231 | </xs:annotation> |
||
| 232 | <xs:restriction base="xs:string"> |
||
| 233 | <xs:whiteSpace value="preserve"/> |
||
| 234 | <xs:pattern value="0|0\.[0-9]{3}|[1-9]{1}[0-9]{0,11}(\.[0-9]{3})?"/> |
||
| 235 | </xs:restriction> |
||
| 236 | </xs:simpleType> |
||
| 237 | <xs:simpleType name="TDec_1204"> |
||
| 238 | <xs:annotation> |
||
| 239 | <xs:documentation>Tipo Decimal com 12 inteiros e 4 decimais</xs:documentation> |
||
| 240 | </xs:annotation> |
||
| 241 | <xs:restriction base="xs:string"> |
||
| 242 | <xs:whiteSpace value="preserve"/> |
||
| 243 | <xs:pattern value="0|0\.[0-9]{1,4}|[1-9]{1}[0-9]{0,11}|[1-9]{1}[0-9]{0,11}(\.[0-9]{4})?"/> |
||
| 244 | </xs:restriction> |
||
| 245 | </xs:simpleType> |
||
| 246 | <xs:simpleType name="TDec_1204v"> |
||
| 247 | <xs:annotation> |
||
| 248 | <xs:documentation>Tipo Decimal com 12 inteiros de 1 até 4 decimais</xs:documentation> |
||
| 249 | </xs:annotation> |
||
| 250 | <xs:restriction base="xs:string"> |
||
| 251 | <xs:whiteSpace value="preserve"/> |
||
| 252 | <xs:pattern value="0|0\.[0-9]{1,4}|[1-9]{1}[0-9]{0,11}|[1-9]{1}[0-9]{0,11}(\.[0-9]{1,4})?"/> |
||
| 253 | </xs:restriction> |
||
| 254 | </xs:simpleType> |
||
| 255 | <xs:simpleType name="TDec_1204Opc"> |
||
| 256 | <xs:annotation> |
||
| 257 | <xs:documentation>Tipo Decimal com 12 inteiros com 1 até 4 decimais</xs:documentation> |
||
| 258 | </xs:annotation> |
||
| 259 | <xs:restriction base="xs:string"> |
||
| 260 | <xs:whiteSpace value="preserve"/> |
||
| 261 | <xs:pattern value="0\.[0-9]{1,4}|[1-9]{1}[0-9]{0,11}|[1-9]{1}[0-9]{0,11}(\.[0-9]{1,4})?"/> |
||
| 262 | </xs:restriction> |
||
| 263 | </xs:simpleType> |
||
| 264 | <xs:simpleType name="TDec_1204temperatura"> |
||
| 265 | <xs:annotation> |
||
| 266 | <xs:documentation>Tipo Decimal com 12 inteiros, 1 a 4 decimais</xs:documentation> |
||
| 267 | </xs:annotation> |
||
| 268 | <xs:restriction base="xs:string"> |
||
| 269 | <xs:whiteSpace value="preserve"/> |
||
| 270 | <xs:pattern value="0\.[1-9]{1}[0-9]{3}|0\.[0-9]{3}[1-9]{1}|0\.[0-9]{2}[1-9]{1}[0-9]{1}|0\.[0-9]{1}[1-9]{1}[0-9]{2}|[1-9]{1}[0-9]{0,11}(\.[0-9]{4})?"/> |
||
| 271 | </xs:restriction> |
||
| 272 | </xs:simpleType> |
||
| 273 | <xs:simpleType name="TDec_1302"> |
||
| 274 | <xs:annotation> |
||
| 275 | <xs:documentation>Tipo Decimal com 15 dígitos, sendo 13 de corpo e 2 decimais</xs:documentation> |
||
| 276 | </xs:annotation> |
||
| 277 | <xs:restriction base="xs:string"> |
||
| 278 | <xs:whiteSpace value="preserve"/> |
||
| 279 | <xs:pattern value="0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?"/> |
||
| 280 | </xs:restriction> |
||
| 281 | </xs:simpleType> |
||
| 282 | <xs:simpleType name="TDec_1302Opc"> |
||
| 283 | <xs:annotation> |
||
| 284 | <xs:documentation>Tipo Decimal com 15 dígitos, sendo 13 de corpo e 2 decimais, utilizado em tags opcionais</xs:documentation> |
||
| 285 | </xs:annotation> |
||
| 286 | <xs:restriction base="xs:string"> |
||
| 287 | <xs:whiteSpace value="preserve"/> |
||
| 288 | <xs:pattern value="0\.[0-9]{1}[1-9]{1}|0\.[1-9]{1}[0-9]{1}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?"/> |
||
| 289 | </xs:restriction> |
||
| 290 | </xs:simpleType> |
||
| 291 | <xs:simpleType name="TIeDest"> |
||
| 292 | <xs:annotation> |
||
| 293 | <xs:documentation>Tipo Inscrição Estadual do Destinatário // alterado para aceitar vazio ou ISENTO - maio/2010 v2.0</xs:documentation> |
||
| 294 | </xs:annotation> |
||
| 295 | <xs:restriction base="xs:string"> |
||
| 296 | <xs:whiteSpace value="preserve"/> |
||
| 297 | <xs:maxLength value="14"/> |
||
| 298 | <xs:pattern value="ISENTO|[0-9]{2,14}"/> |
||
| 299 | </xs:restriction> |
||
| 300 | </xs:simpleType> |
||
| 301 | <xs:simpleType name="TIeDestNaoIsento"> |
||
| 302 | <xs:annotation> |
||
| 303 | <xs:documentation>Tipo Inscrição Estadual do Destinatário // alterado para aceitar vazio ou ISENTO - maio/2010 v2.0</xs:documentation> |
||
| 304 | </xs:annotation> |
||
| 305 | <xs:restriction base="xs:string"> |
||
| 306 | <xs:whiteSpace value="preserve"/> |
||
| 307 | <xs:maxLength value="14"/> |
||
| 308 | <xs:pattern value="[0-9]{2,14}"/> |
||
| 309 | </xs:restriction> |
||
| 310 | </xs:simpleType> |
||
| 311 | <xs:simpleType name="TIeST"> |
||
| 312 | <xs:annotation> |
||
| 313 | <xs:documentation>Tipo Inscrição Estadual do ST // acrescentado EM 24/10/08</xs:documentation> |
||
| 314 | </xs:annotation> |
||
| 315 | <xs:restriction base="xs:string"> |
||
| 316 | <xs:whiteSpace value="preserve"/> |
||
| 317 | <xs:maxLength value="14"/> |
||
| 318 | <xs:pattern value="[0-9]{2,14}"/> |
||
| 319 | </xs:restriction> |
||
| 320 | </xs:simpleType> |
||
| 321 | <xs:simpleType name="TIe"> |
||
| 322 | <xs:annotation> |
||
| 323 | <xs:documentation>Tipo Inscrição Estadual do Emitente // alterado EM 24/10/08 para aceitar ISENTO</xs:documentation> |
||
| 324 | </xs:annotation> |
||
| 325 | <xs:restriction base="xs:string"> |
||
| 326 | <xs:whiteSpace value="preserve"/> |
||
| 327 | <xs:maxLength value="14"/> |
||
| 328 | <xs:pattern value="[0-9]{2,14}|ISENTO"/> |
||
| 329 | </xs:restriction> |
||
| 330 | </xs:simpleType> |
||
| 331 | <xs:simpleType name="TMod"> |
||
| 332 | <xs:annotation> |
||
| 333 | <xs:documentation>Tipo Modelo Documento Fiscal</xs:documentation> |
||
| 334 | </xs:annotation> |
||
| 335 | <xs:restriction base="xs:string"> |
||
| 336 | <xs:whiteSpace value="preserve"/> |
||
| 337 | <xs:enumeration value="55"/> |
||
| 338 | <xs:enumeration value="65"/> |
||
| 339 | </xs:restriction> |
||
| 340 | </xs:simpleType> |
||
| 341 | <xs:simpleType name="TNF"> |
||
| 342 | <xs:annotation> |
||
| 343 | <xs:documentation>Tipo Número do Documento Fiscal</xs:documentation> |
||
| 344 | </xs:annotation> |
||
| 345 | <xs:restriction base="xs:string"> |
||
| 346 | <xs:whiteSpace value="preserve"/> |
||
| 347 | <xs:pattern value="[1-9]{1}[0-9]{0,8}"/> |
||
| 348 | </xs:restriction> |
||
| 349 | </xs:simpleType> |
||
| 350 | <xs:simpleType name="TSerie"> |
||
| 351 | <xs:annotation> |
||
| 352 | <xs:documentation>Tipo Série do Documento Fiscal </xs:documentation> |
||
| 353 | </xs:annotation> |
||
| 354 | <xs:restriction base="xs:string"> |
||
| 355 | <xs:whiteSpace value="preserve"/> |
||
| 356 | <xs:pattern value="0|[1-9]{1}[0-9]{0,2}"/> |
||
| 357 | </xs:restriction> |
||
| 358 | </xs:simpleType> |
||
| 359 | <xs:simpleType name="TUf"> |
||
| 360 | <xs:annotation> |
||
| 361 | <xs:documentation>Tipo Sigla da UF</xs:documentation> |
||
| 362 | </xs:annotation> |
||
| 363 | <xs:restriction base="xs:string"> |
||
| 364 | <xs:whiteSpace value="preserve"/> |
||
| 365 | <xs:enumeration value="AC"/> |
||
| 366 | <xs:enumeration value="AL"/> |
||
| 367 | <xs:enumeration value="AM"/> |
||
| 368 | <xs:enumeration value="AP"/> |
||
| 369 | <xs:enumeration value="BA"/> |
||
| 370 | <xs:enumeration value="CE"/> |
||
| 371 | <xs:enumeration value="DF"/> |
||
| 372 | <xs:enumeration value="ES"/> |
||
| 373 | <xs:enumeration value="GO"/> |
||
| 374 | <xs:enumeration value="MA"/> |
||
| 375 | <xs:enumeration value="MG"/> |
||
| 376 | <xs:enumeration value="MS"/> |
||
| 377 | <xs:enumeration value="MT"/> |
||
| 378 | <xs:enumeration value="PA"/> |
||
| 379 | <xs:enumeration value="PB"/> |
||
| 380 | <xs:enumeration value="PE"/> |
||
| 381 | <xs:enumeration value="PI"/> |
||
| 382 | <xs:enumeration value="PR"/> |
||
| 383 | <xs:enumeration value="RJ"/> |
||
| 384 | <xs:enumeration value="RN"/> |
||
| 385 | <xs:enumeration value="RO"/> |
||
| 386 | <xs:enumeration value="RR"/> |
||
| 387 | <xs:enumeration value="RS"/> |
||
| 388 | <xs:enumeration value="SC"/> |
||
| 389 | <xs:enumeration value="SE"/> |
||
| 390 | <xs:enumeration value="SP"/> |
||
| 391 | <xs:enumeration value="TO"/> |
||
| 392 | <xs:enumeration value="EX"/> |
||
| 393 | </xs:restriction> |
||
| 394 | </xs:simpleType> |
||
| 395 | <xs:simpleType name="TUfEmi"> |
||
| 396 | <xs:annotation> |
||
| 397 | <xs:documentation>Tipo Sigla da UF de emissor // acrescentado em 24/10/08 </xs:documentation> |
||
| 398 | </xs:annotation> |
||
| 399 | <xs:restriction base="xs:string"> |
||
| 400 | <xs:whiteSpace value="preserve"/> |
||
| 401 | <xs:enumeration value="AC"/> |
||
| 402 | <xs:enumeration value="AL"/> |
||
| 403 | <xs:enumeration value="AM"/> |
||
| 404 | <xs:enumeration value="AP"/> |
||
| 405 | <xs:enumeration value="BA"/> |
||
| 406 | <xs:enumeration value="CE"/> |
||
| 407 | <xs:enumeration value="DF"/> |
||
| 408 | <xs:enumeration value="ES"/> |
||
| 409 | <xs:enumeration value="GO"/> |
||
| 410 | <xs:enumeration value="MA"/> |
||
| 411 | <xs:enumeration value="MG"/> |
||
| 412 | <xs:enumeration value="MS"/> |
||
| 413 | <xs:enumeration value="MT"/> |
||
| 414 | <xs:enumeration value="PA"/> |
||
| 415 | <xs:enumeration value="PB"/> |
||
| 416 | <xs:enumeration value="PE"/> |
||
| 417 | <xs:enumeration value="PI"/> |
||
| 418 | <xs:enumeration value="PR"/> |
||
| 419 | <xs:enumeration value="RJ"/> |
||
| 420 | <xs:enumeration value="RN"/> |
||
| 421 | <xs:enumeration value="RO"/> |
||
| 422 | <xs:enumeration value="RR"/> |
||
| 423 | <xs:enumeration value="RS"/> |
||
| 424 | <xs:enumeration value="SC"/> |
||
| 425 | <xs:enumeration value="SE"/> |
||
| 426 | <xs:enumeration value="SP"/> |
||
| 427 | <xs:enumeration value="TO"/> |
||
| 428 | </xs:restriction> |
||
| 429 | </xs:simpleType> |
||
| 430 | <xs:simpleType name="TAmb"> |
||
| 431 | <xs:annotation> |
||
| 432 | <xs:documentation>Tipo Ambiente</xs:documentation> |
||
| 433 | </xs:annotation> |
||
| 434 | <xs:restriction base="xs:string"> |
||
| 435 | <xs:whiteSpace value="preserve"/> |
||
| 436 | <xs:enumeration value="1"/> |
||
| 437 | <xs:enumeration value="2"/> |
||
| 438 | </xs:restriction> |
||
| 439 | </xs:simpleType> |
||
| 440 | <xs:simpleType name="TVerAplic"> |
||
| 441 | <xs:annotation> |
||
| 442 | <xs:documentation>Tipo Versão do Aplicativo</xs:documentation> |
||
| 443 | </xs:annotation> |
||
| 444 | <xs:restriction base="nfe:TString"> |
||
| 445 | <xs:minLength value="1"/> |
||
| 446 | <xs:maxLength value="20"/> |
||
| 447 | </xs:restriction> |
||
| 448 | </xs:simpleType> |
||
| 449 | <xs:simpleType name="TMotivo"> |
||
| 450 | <xs:annotation> |
||
| 451 | <xs:documentation>Tipo Motivo</xs:documentation> |
||
| 452 | </xs:annotation> |
||
| 453 | <xs:restriction base="nfe:TString"> |
||
| 454 | <xs:maxLength value="255"/> |
||
| 455 | <xs:minLength value="1"/> |
||
| 456 | </xs:restriction> |
||
| 457 | </xs:simpleType> |
||
| 458 | <xs:simpleType name="TJust"> |
||
| 459 | <xs:annotation> |
||
| 460 | <xs:documentation>Tipo Justificativa</xs:documentation> |
||
| 461 | </xs:annotation> |
||
| 462 | <xs:restriction base="nfe:TString"> |
||
| 463 | <xs:minLength value="15"/> |
||
| 464 | <xs:maxLength value="255"/> |
||
| 465 | </xs:restriction> |
||
| 466 | </xs:simpleType> |
||
| 467 | <xs:simpleType name="TServ"> |
||
| 468 | <xs:annotation> |
||
| 469 | <xs:documentation>Tipo Serviço solicitado</xs:documentation> |
||
| 470 | </xs:annotation> |
||
| 471 | <xs:restriction base="nfe:TString"/> |
||
| 472 | </xs:simpleType> |
||
| 473 | <xs:simpleType name="Tano"> |
||
| 474 | <xs:annotation> |
||
| 475 | <xs:documentation> Tipo ano</xs:documentation> |
||
| 476 | </xs:annotation> |
||
| 477 | <xs:restriction base="xs:string"> |
||
| 478 | <xs:whiteSpace value="preserve"/> |
||
| 479 | <xs:pattern value="[0-9]{2}"/> |
||
| 480 | </xs:restriction> |
||
| 481 | </xs:simpleType> |
||
| 482 | <xs:simpleType name="TMed"> |
||
| 483 | <xs:annotation> |
||
| 484 | <xs:documentation> Tipo temp médio em segundos</xs:documentation> |
||
| 485 | </xs:annotation> |
||
| 486 | <xs:restriction base="xs:string"> |
||
| 487 | <xs:whiteSpace value="preserve"/> |
||
| 488 | <xs:pattern value="[0-9]{1,4}"/> |
||
| 489 | </xs:restriction> |
||
| 490 | </xs:simpleType> |
||
| 491 | <xs:simpleType name="TString"> |
||
| 492 | <xs:annotation> |
||
| 493 | <xs:documentation> Tipo string genérico</xs:documentation> |
||
| 494 | </xs:annotation> |
||
| 495 | <xs:restriction base="xs:string"> |
||
| 496 | <xs:whiteSpace value="preserve"/> |
||
| 497 | <xs:pattern value="[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1}"/> |
||
| 498 | </xs:restriction> |
||
| 499 | </xs:simpleType> |
||
| 500 | <xs:simpleType name="TData"> |
||
| 501 | <xs:annotation> |
||
| 502 | <xs:documentation> Tipo data AAAA-MM-DD</xs:documentation> |
||
| 503 | </xs:annotation> |
||
| 504 | <xs:restriction base="xs:string"> |
||
| 505 | <xs:whiteSpace value="preserve"/> |
||
| 506 | <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)))))"/> |
||
| 507 | </xs:restriction> |
||
| 508 | </xs:simpleType> |
||
| 509 | <xs:simpleType name="TTime"> |
||
| 510 | <xs:annotation> |
||
| 511 | <xs:documentation> Tipo hora HH:MM:SS // tipo acrescentado na v2.0</xs:documentation> |
||
| 512 | </xs:annotation> |
||
| 513 | <xs:restriction base="xs:string"> |
||
| 514 | <xs:whiteSpace value="preserve"/> |
||
| 515 | <xs:pattern value="(([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])"/> |
||
| 516 | </xs:restriction> |
||
| 517 | </xs:simpleType> |
||
| 518 | <xs:simpleType name="TDateTimeUTC"> |
||
| 519 | <xs:annotation> |
||
| 520 | <xs:documentation>Data e Hora, formato UTC (AAAA-MM-DDThh:mm:ssTZD, onde TZD = +hh:mm ou -hh:mm)</xs:documentation> |
||
| 521 | </xs:annotation> |
||
| 522 | <xs:restriction base="xs:string"> |
||
| 523 | <xs:whiteSpace value="preserve"/> |
||
| 524 | <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))"/> |
||
| 525 | </xs:restriction> |
||
| 526 | </xs:simpleType> |
||
| 527 | <xs:simpleType name="TPlaca"> |
||
| 528 | <xs:restriction base="xs:string"> |
||
| 529 | <xs:whiteSpace value="preserve"/> |
||
| 530 | <xs:pattern value="[A-Z]{2,3}[0-9]{4}|[A-Z]{3,4}[0-9]{3}"/> |
||
| 531 | </xs:restriction> |
||
| 532 | </xs:simpleType> |
||
| 533 | <xs:simpleType name="TCOrgaoIBGE"> |
||
| 534 | <xs:annotation> |
||
| 535 | <xs:documentation>Tipo Código de orgão (UF da tabela do IBGE + 90 RFB)</xs:documentation> |
||
| 536 | </xs:annotation> |
||
| 537 | <xs:restriction base="xs:string"> |
||
| 538 | <xs:whiteSpace value="preserve"/> |
||
| 539 | <xs:enumeration value="11"/> |
||
| 540 | <xs:enumeration value="12"/> |
||
| 541 | <xs:enumeration value="13"/> |
||
| 542 | <xs:enumeration value="14"/> |
||
| 543 | <xs:enumeration value="15"/> |
||
| 544 | <xs:enumeration value="16"/> |
||
| 545 | <xs:enumeration value="17"/> |
||
| 546 | <xs:enumeration value="21"/> |
||
| 547 | <xs:enumeration value="22"/> |
||
| 548 | <xs:enumeration value="23"/> |
||
| 549 | <xs:enumeration value="24"/> |
||
| 550 | <xs:enumeration value="25"/> |
||
| 551 | <xs:enumeration value="26"/> |
||
| 552 | <xs:enumeration value="27"/> |
||
| 553 | <xs:enumeration value="28"/> |
||
| 554 | <xs:enumeration value="29"/> |
||
| 555 | <xs:enumeration value="31"/> |
||
| 556 | <xs:enumeration value="32"/> |
||
| 557 | <xs:enumeration value="33"/> |
||
| 558 | <xs:enumeration value="35"/> |
||
| 559 | <xs:enumeration value="41"/> |
||
| 560 | <xs:enumeration value="42"/> |
||
| 561 | <xs:enumeration value="43"/> |
||
| 562 | <xs:enumeration value="50"/> |
||
| 563 | <xs:enumeration value="51"/> |
||
| 564 | <xs:enumeration value="52"/> |
||
| 565 | <xs:enumeration value="53"/> |
||
| 566 | <xs:enumeration value="90"/> |
||
| 567 | <xs:enumeration value="91"/> |
||
| 568 | <xs:enumeration value="92"/> |
||
| 569 | </xs:restriction> |
||
| 570 | </xs:simpleType> |
||
| 571 | </xs:schema> |