getRicevutePec.xsd 1.82 KB
Newer Older
CED SA's avatar
CED SA 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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://insiel.webservices.protocollo.pubblici.saga.it/protocollo/schemixsd/getRicevutePec" 
xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns:tgen="http://insiel.webservices.protocollo.pubblici.saga.it/protocollo/schemixsd/tipiGenerali"
targetNamespace="http://insiel.webservices.protocollo.pubblici.saga.it/protocollo/schemixsd/getRicevutePec"
elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://insiel.webservices.protocollo.pubblici.saga.it/protocollo/schemixsd/tipiGenerali" schemaLocation="tipiGenerali.xsd"/>
	<xs:element name="RicevutePecRequest">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="utente" type="tgen:Utente"/>				
				<xs:element name="registrazione" type="tgen:ProtocolloRequest"/>
				<xs:element name="destinatario" type="Destinatario"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="RicevutePecResponse">
		<xs:complexType>
			<xs:choice>
				<xs:element name="ricevute" type="RicevutaPec" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="errore" type="tgen:Errore"/>
			</xs:choice>
			<xs:attribute name="esito" type="xs:boolean" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="RicevutaPec">
		<xs:sequence>
			<xs:element name="tipo" type="xs:string"/>
			<xs:element name="testo" type="xs:string"/>
			<xs:element name="id" type="xs:string"/>
			<xs:element name="dataOra" type="xs:string"/>			
			<xs:element name="emailDestinatario" type="xs:string"/>			
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="Destinatario">
		<xs:sequence>
			<xs:element name="codice" type="xs:string"/>
			<xs:element name="decrizione" type="xs:string"/>
			<xs:element name="email" type="xs:string" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
</xs:schema>