<?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: 19/02/2018 -->
<!-- Se hacen opcionales los campos imp_verificado, imp_verificado_sub, imp_gasto_retirado, imp_gasto_descer -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<xs:element name="operacionesVerifModif">
		<xs:complexType>
			<xs:sequence maxOccurs="unbounded">
				<xs:element name="operacionVerif">
					<xs:complexType>
						<xs:sequence>
							<!-- PROGRAMA OPERATIVO -->
							<xs:element name="cod_poperativo">
								<xs:annotation>
									<xs:documentation>Campo (1) 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 (2) 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>
							<!-- FECHA DE VERIFICACIÓN -->
							<xs:element name="f_verificacion">
								<xs:annotation>
									<xs:documentation>Campo (6) en pantalla. Formato de fecha dd/mm/yyyy</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="10"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!--IMPORTE VERIFICADO-->
							<xs:element name="imp_verificado" type="TImporteDecimal" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Campo (3) en pantalla</xs:documentation>
								</xs:annotation>
							</xs:element>
							<!--IMPORTE VERIFICADO SUBVENCIONABLE-->
							<xs:element name="imp_verificado_sub" type="TImporteDecimal" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Campo (4) en pantalla</xs:documentation>
								</xs:annotation>
							</xs:element>
							<!--FECHA DEL PLAN DE VERIFICACIONES-->
							<xs:element name="f_plan" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Campo (6) en pantalla. Formato de fecha dd/mm/yyyy</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="10"/>
										<xs:minLength value="0"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!--FECHA DE LA APROBACIÓN DEL PLAN POR LA AG-->
							<xs:element name="f_aprob_plan" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Campo (7) en pantalla. Formato de fecha dd/mm/yyyy</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="10"/>
										<xs:minLength value="0"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!-- OBSERVACIONES-->
							<xs:element name="observaciones" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Campo (8) en pantalla</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="2000"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!-- GASTO NO CERTIFICADO-->
							<xs:element name="gasto_no_certificado" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Campo (9) en pantalla. Valor S o N (a validar por código, si viene vacío en BBDD se insertará un valor por defecto)</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:enumeration value="S"/>
										<xs:enumeration value="N"/>
										<xs:enumeration value=""/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!-- IMPORTE DEL GASTO SUBVENCIONABLE RETIRADO-->
							<xs:element name="imp_gasto_retirado" type="TImporteDecimal" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Campo (10) en pantalla</xs:documentation>
								</xs:annotation>
							</xs:element>
							<!-- MOTIVO-->
							<xs:element name="err_cod_affis" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Campo (11) en pantalla</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="5"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!-- SISTÉMICO-->
							<xs:element name="sistemico" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Campo (12) en pantalla. Valor S o N (a validar por código, si viene vacío en BBDD se insertará un valor por defecto)</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:enumeration value="S"/>
										<xs:enumeration value="N"/>
										<xs:enumeration value=""/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!--TRATAMIENTO DADO AL ERROR SISTÉMICO DETECTADO-->
							<xs:element name="error_tratamiento" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Campo (13) en pantalla.</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="2000"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!--IRREGULARIDADES DE GASTO YA CERTIFICADO-->
							<xs:element name="irreg_gasto" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Campo (14) en pantalla. Valor S o N (a validar por código, si viene vacío en BBDD se insertará un valor por defecto)</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:enumeration value="S"/>
										<xs:enumeration value="N"/>
										<xs:enumeration value=""/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!--IMPORTE DEL GASTO A DESCERTIFICAR-->
							<xs:element name="imp_gasto_descer" type="TImporteDecimal" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Campo (15) en pantalla.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<!--MOTIVO-->
							<xs:element name="irreg_cod_affis" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Campo (16) en pantalla</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="5"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!-- SISTÉMICA-->
							<xs:element name="sistemica" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Campo (17) en pantalla. Valor S o N (a validar por código, si viene vacío en BBDD se insertará un valor por defecto)</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:enumeration value="S"/>
										<xs:enumeration value="N"/>
										<xs:enumeration value=""/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!--TRATAMIENTO DADO A LA IRREGULARIDAD SISTÉMICA DETECTADA-->
							<xs:element name="irreg_tratamiento" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Campo (18) en pantalla</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="2000"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<!--BLOQUEADA-->
							<xs:element name="bloqueada" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Valor S o N (a validar por código, si viene vacío en BBDD se insertará un valor por defecto)</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:enumeration value="S"/>
										<xs:enumeration value="N"/>
										<xs:enumeration value=""/>
									</xs:restriction>
								</xs:simpleType>
							</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>
