SdIFVGCaricaFatturaContabilita_v1.xsd 7.07 KB
Newer Older
prova's avatar
prova committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
<?xml version="1.0" encoding="UTF-8"?><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:types="http://sdifvg.insiel.it/sdifvg/ws/contabilita/types" xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" targetNamespace="http://sdifvg.insiel.it/sdifvg/ws/contabilita/types" version="1.0">
	
	<!-- ELEMENT -->
	<xsd:element name="fileSdIFVGFattura" type="types:fileSdIFVGInput_Type"/>
	<xsd:element name="rispostaSdIFVGRiceviFattura" type="types:rispostaSdIFVGRiceviFattura_Type"/>
	
	<!-- COMPLEX TYPES -->
	<xsd:complexType name="fileSdIFVGInput_Type">
		<xsd:sequence>
			<xsd:element name="IdentificativoEnte" nillable="true" type="types:IdentificativoEnte_Type"/>
			<xsd:element name="IdentificativoStruttura" nillable="true" type="types:IdentificativoStruttura_Type"/>
			<xsd:element name="CodiceEnte" type="types:Codice_Type"/>
			<xsd:element name="CodiceStruttura" type="types:Codice_Type"/>
			<xsd:element name="IdentificativoFattura" nillable="false" type="types:IdentificativoFattura_Type"/>
			<xsd:element name="ImportoTotaleFattura" nillable="false" type="types:Amount2DecimalType"/>
			<xsd:element name="SquadraturaTotaleFattura" nillable="false" type="types:boolean_Type"/>
			<xsd:element name="ProtocolloAnno" type="types:Anno_Type" nillable="true"/>	
			<xsd:element name="ProtocolloCodiceUfficio" type="types:ProtocolloCodiceUfficio_Type" nillable="true"/>	
			<xsd:element name="ProtocolloCodiceRegistro" type="types:ProtocolloCodiceRegistro_Type" nillable="true"/>	
			<xsd:element name="ProtocolloCodiceAOO" type="types:ProtocolloCodiceAOO_Type" nillable="true"/>	
			<xsd:element name="ProtocolloDescrizioneAOO" type="types:ProtocolloDescrizioneAOO_Type" nillable="true"/>						
			<xsd:element name="ProtocolloData" type="xsd:date" nillable="true"/>	
			<xsd:element name="ProtocolloNumero" type="types:ProtocolloNumero_Type" nillable="true"/>	
			<xsd:element name="ProtocolloProgrMovimento" type="types:ProtocolloProgressivo_Type" nillable="true"/>
			<xsd:element name="ProtocolloProgrDocumento" type="types:ProtocolloProgressivo_Type" nillable="true"/>
			<xsd:element name="ProtocolloVerso" type="types:ProtocolloVerso_Type" nillable="true"/>				
			<xsd:element name="OperatoreNome" type="types:Nominativo_Type" nillable="true"/>
			<xsd:element name="OperatoreCognome" type="types:Nominativo_Type" nillable="true"/>	
			<xsd:element minOccurs="0" name="DataArrivoDaSdi" type="xsd:date"/> 
			<xsd:element minOccurs="1" name="File" nillable="false" type="types:FileFattura"/>
		</xsd:sequence>
	</xsd:complexType>


	<xsd:complexType name="rispostaSdIFVGRiceviFattura_Type">
		<xsd:sequence>
			<xsd:element name="IdTrasmissioneResponse" type="types:IdTrasmissioneResponse_Type"/>
		</xsd:sequence>
	</xsd:complexType>
	
	<xsd:complexType name="FileFattura">
		<xsd:sequence>
			<xsd:element maxOccurs="1" minOccurs="1" name="mimeType" type="xsd:string">
				<xsd:annotation>
	       			<xsd:documentation>Il content type emmesso per la fatturaPA e' application/xml      			
	       			</xsd:documentation>
	       		</xsd:annotation>
			</xsd:element>
			<xsd:element maxOccurs="1" minOccurs="1" name="binaryData" type="xsd:base64Binary" xmime:expectedContentTypes="application/octet-stream">
			<xsd:annotation>
	       		<xsd:documentation>contenuto file fattura espresso in base64</xsd:documentation>
	       	</xsd:annotation>
	       	</xsd:element>
       	</xsd:sequence>       	
	</xsd:complexType>
	
	<xsd:complexType name="IdTrasmissioneResponse_Type">
		<xsd:sequence>
			<xsd:element name="esito" nillable="false" type="types:esitoInvio_Type"/>
			<xsd:element name="DescrizioneEsito" nillable="true" type="types:DescrizioneEsito_Type"/>						
		</xsd:sequence>
	</xsd:complexType>
	
	<!-- SIMPLE TYPES -->
	<xsd:simpleType name="IdentificativoEnte_Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="12"/>
			<xsd:pattern value="[0-9]"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="IdentificativoStruttura_Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="12"/>
			<xsd:pattern value="[0-9]"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="IdentificativoFattura_Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="12"/>
			<xsd:pattern value="[0-9]"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="Amount2DecimalType">
		<xsd:restriction base="xsd:decimal">
			<xsd:pattern value="[\-]?[0-9]{1,11}\.[0-9]{2}"/>
		</xsd:restriction>
	</xsd:simpleType>	
	<xsd:simpleType name="NumeroRegistrazione_Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="10"/>
			<xsd:pattern value="[0-9]"/>
		</xsd:restriction>
	</xsd:simpleType>

	<xsd:simpleType name="Codice_Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="20"/>
			<xsd:pattern value="[a-zA-Z0-9]"/>
		</xsd:restriction>
	</xsd:simpleType>
	
	<xsd:simpleType name="Nominativo_Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="50"/>
			<xsd:pattern value="[a-zA-Z0-9]"/>
		</xsd:restriction>
	</xsd:simpleType>
	
	<xsd:simpleType name="Anno_Type">
		<xsd:restriction base="xsd:string">
			<xsd:length value="4"/>
			<xsd:pattern value="[0-9]"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="ProtocolloCodiceUfficio_Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="100"/>
			<xsd:pattern value="[a-zA-Z0-9]"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="ProtocolloCodiceRegistro_Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="100"/>
			<xsd:pattern value="[a-zA-Z0-9]"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="ProtocolloCodiceAOO_Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="100"/>
			<xsd:pattern value="[a-zA-Z0-9]"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="ProtocolloDescrizioneAOO_Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="200"/>
			<xsd:pattern value="[a-zA-Z0-9]"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="DescrizioneEsito_Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="200"/>
			<xsd:pattern value="[a-zA-Z0-9]"/>
		</xsd:restriction>
	</xsd:simpleType>
	
	<xsd:simpleType name="ProtocolloNumero_Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="10"/>
			<xsd:pattern value="[0-9]"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="ProtocolloProgressivo_Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="10"/>
			<xsd:pattern value="[0-9]"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="ProtocolloVerso_Type">
		<xsd:restriction base="xsd:string">
			<xsd:length value="1"/>
		</xsd:restriction>
	</xsd:simpleType>
		
	<xsd:simpleType name="esitoInvio_Type">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="POSITIVO"/>
			<xsd:enumeration value="NEGATIVO"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="boolean_Type">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="Y"/>
			<xsd:enumeration value="N"/>
		</xsd:restriction>
	</xsd:simpleType>	
</xsd:schema>