Subversion Repositories Integrator Subversion

Rev

Rev 182 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
179 espaco 1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--  PL_006f versao com correcoes no xServ para tornar a literal STATUS obrigatoria 21/05/2010 -->
3
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
4
        <xs:include schemaLocation="tiposBasico_v3.10.xsd"/>
5
        <xs:complexType name="TConsStatServ">
6
                <xs:annotation>
7
                        <xs:documentation>Tipo Pedido de Consulta do Status do Serviço</xs:documentation>
8
                </xs:annotation>
9
                <xs:sequence>
10
                        <xs:element name="tpAmb" type="TAmb">
11
                                <xs:annotation>
12
                                        <xs:documentation>Identificação do Ambiente:
13
1 - Produção
14
2 - Homologação</xs:documentation>
15
                                </xs:annotation>
16
                        </xs:element>
17
                        <xs:element name="cUF" type="TCodUfIBGE">
18
                                <xs:annotation>
19
                                        <xs:documentation>Sigla da UF consultada</xs:documentation>
20
                                </xs:annotation>
21
                        </xs:element>
22
                        <xs:element name="xServ">
23
                                <xs:annotation>
24
                                        <xs:documentation>Serviço Solicitado</xs:documentation>
25
                                </xs:annotation>
26
                                <xs:simpleType>
27
                                        <xs:restriction base="TServ">
28
                                                <xs:enumeration value="STATUS"/>
29
                                        </xs:restriction>
30
                                </xs:simpleType>
31
                        </xs:element>
32
                </xs:sequence>
33
                <xs:attribute name="versao" type="TVerConsStatServ" use="required"/>
34
        </xs:complexType>
35
        <xs:complexType name="TRetConsStatServ">
36
                <xs:annotation>
37
                        <xs:documentation>Tipo Resultado da Consulta do Status do Serviço</xs:documentation>
38
                </xs:annotation>
39
                <xs:sequence>
40
                        <xs:element name="tpAmb" type="TAmb">
41
                                <xs:annotation>
42
                                        <xs:documentation>Identificação do Ambiente:
43
1 - Produção
44
2 - Homologação</xs:documentation>
45
                                </xs:annotation>
46
                        </xs:element>
47
                        <xs:element name="verAplic" type="TVerAplic">
48
                                <xs:annotation>
49
                                        <xs:documentation>Versão do Aplicativo que processou a NF-e</xs:documentation>
50
                                </xs:annotation>
51
                        </xs:element>
52
                        <xs:element name="cStat" type="TStat">
53
                                <xs:annotation>
54
                                        <xs:documentation>Código do status da mensagem enviada.</xs:documentation>
55
                                </xs:annotation>
56
                        </xs:element>
57
                        <xs:element name="xMotivo" type="TMotivo">
58
                                <xs:annotation>
59
                                        <xs:documentation>Descrição literal do status do serviço solicitado.</xs:documentation>
60
                                </xs:annotation>
61
                        </xs:element>
62
                        <xs:element name="cUF" type="TCodUfIBGE">
63
                                <xs:annotation>
64
                                        <xs:documentation>Código da UF responsável pelo serviço</xs:documentation>
65
                                </xs:annotation>
66
                        </xs:element>
67
                        <xs:element name="dhRecbto" type="TDateTimeUTC">
68
                                <xs:annotation>
69
                                        <xs:documentation>Data e hora do recebimento da consulta no formato AAAA-MM-DDTHH:MM:SSTZD</xs:documentation>
70
                                </xs:annotation>
71
                        </xs:element>
72
                        <xs:element name="tMed" type="TMed" minOccurs="0">
73
                                <xs:annotation>
74
                                        <xs:documentation>Tempo médio de resposta do serviço (em segundos) dos últimos 5 minutos</xs:documentation>
75
                                </xs:annotation>
76
                        </xs:element>
77
                        <xs:element name="dhRetorno" type="TDateTimeUTC" minOccurs="0">
78
                                <xs:annotation>
79
                                        <xs:documentation>AAAA-MM-DDTHH:MM:SSDeve ser preenchida com data e hora previstas para o retorno dos serviços prestados.</xs:documentation>
80
                                </xs:annotation>
81
                        </xs:element>
82
                        <xs:element name="xObs" type="TMotivo" minOccurs="0">
83
                                <xs:annotation>
84
                                        <xs:documentation>Campo observação utilizado para incluir informações ao contribuinte</xs:documentation>
85
                                </xs:annotation>
86
                        </xs:element>
87
                </xs:sequence>
88
                <xs:attribute name="versao" type="TVerConsStatServ" use="required"/>
89
        </xs:complexType>
90
        <xs:simpleType name="TVerConsStatServ">
91
                <xs:annotation>
92
                        <xs:documentation>Tipo versão do leiuate da Consulta Status do Serviço 3.10</xs:documentation>
93
                </xs:annotation>
94
                <xs:restriction base="xs:token">
95
                        <xs:pattern value="3\.10"/>
96
                </xs:restriction>
97
        </xs:simpleType>
98
</xs:schema>