<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2010 rel. 2 (http://www.altova.com) by IGAE Intervención Gral. de la Admón. Del Estado (IGAE Intervención Gral. de la Admón. Del Estado) -->
<!--W3C Schema generated by XMLSpy v2010 rel. 2 (http://www.altova.com)-->
<!-- Fecha última actualización: 01/07/2019 -->
<!-- Se añade la funcionalidad de carga de documentos ( líneas 98-141)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<xs:element name="operacionesListas">
		<xs:complexType>
			<xs:sequence maxOccurs="unbounded">
				<xs:element name="operacionLista" minOccurs="0">
					<xs:complexType>
						<xs:sequence>
							<!-- PROGRAMA OPERATIVO -->
							<xs:element name="cod_poperativo">
								<xs:annotation>
									<xs:documentation>Campo (X) en pantalla</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:minLength value="1"/>
										<xs:maxLength value="10"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!-- CÓDIGO DE LA OPERACIÓN -->
							<xs:element name="cod_operacion">
								<xs:annotation>
									<xs:documentation>Campo (X) en pantalla</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:minLength value="1"/>
										<xs:maxLength value="30"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!-- CÓDIGO DE TIPO DE LISTA-->
							<xs:element name="cod_tipo_lista">
								<xs:annotation>
									<xs:documentation>Campo (X) en pantalla</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:minLength value="1"/>
										<xs:maxLength value="6"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!-- CÓDIGO LISTA-->
							<xs:element name="cod_lista">
								<xs:annotation>
									<xs:documentation>Campo (X) en pantalla.</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:minLength value="1"/>
										<xs:maxLength value="6"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!-- CÓDIGO DE PREGUNTA-->
							<xs:element name="cod_pregunta">
								<xs:annotation>
									<xs:documentation>Campo (X) en pantalla</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="6"/>
										<xs:minLength value="1"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!--RESPUESTA-->
							<xs:element name="respuesta">
								<xs:annotation>
									<xs:documentation>Campo (X) en pantalla</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:enumeration value="S"/>
										<xs:enumeration value="N"/>
										<xs:enumeration value="NP"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!-- OBSERVACIONES -->
							<xs:element name="observaciones" minOccurs="0">
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:minLength value="0"/>
										<xs:maxLength value="500"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="documento" minOccurs="0">
					<xs:complexType>
						<xs:sequence>
							<!-- PROGRAMA OPERATIVO -->
							<xs:element name="cod_poperativo">
								<xs:annotation>
									<xs:documentation>Campo (X) en pantalla</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:minLength value="1"/>
										<xs:maxLength value="10"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!-- CÓDIGO DE LA OPERACIÓN -->
							<xs:element name="cod_operacion">
								<xs:annotation>
									<xs:documentation>Campo (X) en pantalla</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:minLength value="1"/>
										<xs:maxLength value="30"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!-- CÓDIGO DE TIPO DE LISTA-->
							<xs:element name="cod_tipo_lista">
								<xs:annotation>
									<xs:documentation>Campo (X) en pantalla</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:minLength value="1"/>
										<xs:maxLength value="6"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!-- CÓDIGO LISTA-->
							<xs:element name="cod_lista">
								<xs:annotation>
									<xs:documentation>Campo (X) en pantalla.</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:minLength value="1"/>
										<xs:maxLength value="6"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!-- NOMBRE DEL DOCUMENTO -->
							<xs:element name="nombre_documento">
								<xs:annotation>
									<xs:documentation>Nombre del documento PDF con extension</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:minLength value="1"/>
										<xs:maxLength value="200"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!-- DESCRIPCION -->
							<xs:element name="descripcion">
								<xs:annotation>
									<xs:documentation>Descripción del documento PDF</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:minLength value="1"/>
										<xs:maxLength value="500"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!-- DOCUMENTO -->
							<xs:element name="contenido_documento" type="xs:base64Binary">
								<xs:annotation>
									<xs:documentation>Documento PDF codificado como una cadena en Base 64</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:simpleType name="TImporteDecimal">
		<xs:annotation>
			<xs:documentation>Hasta doce posiciones para enteros con dos decimales. El símbolo de separación de decimales es el punto.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:decimal">
			<xs:pattern value="[\-+]?\d{0,12}|[\-+]?\d{1,12}\.\d{1,2}"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
