<?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/02/2024 se introduce anualidad 2024-->

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<xs:element name="transacciones_ips">
		<xs:complexType>
			<xs:sequence maxOccurs="unbounded">
				<xs:element name="transaccion_ip">
					<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 (4) 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 TRANSACCIÓN-->
							<xs:element name="cod_transaccion">
								<xs:annotation>
									<xs:documentation>Campo (7) en pantalla</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:minLength value="1"/>
										<xs:maxLength value="50"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element name="indicadores_productividad">
								<xs:complexType>
									<xs:sequence maxOccurs="unbounded">
										<xs:element name="indicador_productividad">
											<xs:complexType>
												<xs:sequence>
													<!-- CÓDIGO DEL INDICADOR DE PRODUCTIVIDAD -->
													<xs:element name="cod_ind_productividad">
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:minLength value="0"/>
																<xs:maxLength value="10"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<!--FECHA-->
													<xs:element name="fecha" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Formato de fecha dd/MM/yyyy</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:minLength value="0"/>
																<xs:maxLength value="10"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<!-- TOTAL -->
													<!-- VALOR 2014 -->
													<xs:element name="val_2014" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2015 -->
													<xs:element name="val_2015" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2016 -->
													<xs:element name="val_2016" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2017 -->
													<xs:element name="val_2017" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2018 -->
													<xs:element name="val_2018" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2019 -->
													<xs:element name="val_2019" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2020 -->
													<xs:element name="val_2020" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2021 -->
													<xs:element name="val_2021" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2022 -->
													<xs:element name="val_2022" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2023 -->
													<xs:element name="val_2023" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2024 -->
													<xs:element name="val_2024" type="TImporteDecimal" minOccurs="0"/>
													
													
													<!-- HOMBRES -->
													<!-- VALOR 2014 -->
													<xs:element name="val_2014_h" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2015 -->
													<xs:element name="val_2015_h" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2016 -->
													<xs:element name="val_2016_h" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2017 -->
													<xs:element name="val_2017_h" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2018 -->
													<xs:element name="val_2018_h" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2019 -->
													<xs:element name="val_2019_h" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2020 -->
													<xs:element name="val_2020_h" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2021 -->
													<xs:element name="val_2021_h" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2022 -->
													<xs:element name="val_2022_h" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2023 -->
													<xs:element name="val_2023_h" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2024 -->
													<xs:element name="val_2024_h" type="TImporteDecimal" minOccurs="0"/>
													
													<!-- MUJERES -->
													<!-- VALOR 2014 -->
													<xs:element name="val_2014_m" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2015 -->
													<xs:element name="val_2015_m" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2016 -->
													<xs:element name="val_2016_m" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2017 -->
													<xs:element name="val_2017_m" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2018 -->
													<xs:element name="val_2018_m" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2019 -->
													<xs:element name="val_2019_m" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2020 -->
													<xs:element name="val_2020_m" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2021 -->
													<xs:element name="val_2021_m" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2022 -->
													<xs:element name="val_2022_m" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2023 -->
													<xs:element name="val_2023_m" type="TImporteDecimal" minOccurs="0"/>
													<!-- VALOR 2024 -->
													<xs:element name="val_2024_m" type="TImporteDecimal" minOccurs="0"/>
													<!-- OBSERVACIONES -->
													<xs:element name="observaciones" minOccurs="0">
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:minLength value="0"/>
																<xs:maxLength value="3000"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<!-- EMPRESAS -->
													<xs:element name="empresas" minOccurs="0">
														<xs:complexType>
															<xs:sequence maxOccurs="unbounded">
																<xs:element name="cif">
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:minLength value="1"/>
																			<xs:maxLength value="30"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
															</xs:sequence>
														</xs:complexType>
													</xs:element>
													<!-- DOCUMENTOS PDF -->
													<xs:element name="documentos" minOccurs="0">
														<xs:complexType>
															<xs:sequence maxOccurs="unbounded">
																<!-- DOCUMENTO PDF -->
																<xs:element name="documento">
																	<xs:complexType>
																		<xs:sequence>
																			<!-- 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:sequence>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</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 diez 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,10}"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
