<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://ip6"
            targetNamespace="http://ip6" elementFormDefault="qualified">
  <xsd:annotation>
    <xsd:documentation xml:lang="es">Alta masiva o nueva versión de operaciones AC</xsd:documentation>
    <xsd:appinfo xml:lang="es">Fecha de la última modificación: 22/05/2013</xsd:appinfo>
  </xsd:annotation>
  <xsd:simpleType name="CodigoOperacionRequerido">
    <xsd:annotation>
      <xsd:appinfo>[*](1,25)</xsd:appinfo>
      <xsd:documentation xml:lang="es">Valor de hasta 25 caracteres, obligatorio</xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:minLength value="1"/>
      <xsd:maxLength value="25"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="FechaRequerida">
    <xsd:annotation>
      <xsd:appinfo>dd/MM/yyyy</xsd:appinfo>
      <xsd:documentation xml:lang="es">Valor de tipo fecha, obligatorio</xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="(([0][1-9]|[1-2][0-9]|[3][0-1])/([0][1-9]|[1][0-2])/([0-9]{4})){1}"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="FechaNoRequerida">
  <xsd:annotation>
   <xsd:appinfo>dd/MM/yyyy</xsd:appinfo>
   <xsd:documentation xml:lang="es">Valor de tipo fecha no obligatorio</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:string">
   <xsd:pattern value="(([0][1-9]|[1-2][0-9]|[3][0-1])/([0][1-9]|[1][0-2])/([0-9]{4})){0,1}"/>
  </xsd:restriction>
 </xsd:simpleType>
  <xsd:simpleType name="FechaLarga">
    <xsd:annotation>
      <xsd:appinfo>
        dd/MM/yyyy hh:mm:ss
      </xsd:appinfo>
      <xsd:documentation xml:lang="es">
        Valor de tipo fecha larga con hora
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="(([0][1-9]|[1-2][0-9]|[3][0-1])/([0][1-9]|[1][0-2])/([0-9]{4}) (([01][0-9])|(2[0-3]))(:[0-5][0-9]){2}(\.[0-9]+)?){0,1}"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="SiNoRequerido">
    <xsd:annotation>
      <xsd:appinfo>S | N</xsd:appinfo>
      <xsd:documentation xml:lang="es">Valor de tipo SiNo, obligatorio</xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="(S|N){1}"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="ImporteRequerido">
    <xsd:annotation>
      <xsd:appinfo>#(1,n)[,##](0,1) | #(1,3)[.###](0,n)[,##](0,1)</xsd:appinfo>
      <xsd:documentation xml:lang="es">Valor de tipo importe general, obligatorio</xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="(([0]|[1-9][0-9]*|[1-9][0-9]{0,2}(.[0-9]{3})*)(,[0-9]{1,2})?){1}"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:group name="grupoOrganismo">
    <xsd:sequence>
      <xsd:element name="codOrgano">
        <xsd:annotation>
          <xsd:documentation xml:lang="es">Código del socio.</xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="xsd:string">
            <xsd:minLength value="1"/>
            <xsd:maxLength value="10"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>
      <xsd:element name="codTipoOrgano">
        <xsd:annotation>
          <xsd:documentation xml:lang="es">Código del tipo del socio.</xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="xsd:string">
            <xsd:minLength value="1"/>
            <xsd:maxLength value="2"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>
    </xsd:sequence>
  </xsd:group>
  <xsd:group name="grupoCostes">
    <xsd:sequence>
      <xsd:element name="costeTotal" type="ImporteRequerido">
        <xsd:annotation>
          <xsd:documentation xml:lang="es">Campo 16. Coste total.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="costeTotalSubvencion" type="ImporteRequerido">
        <xsd:annotation>
          <xsd:documentation xml:lang="es">Campo 17. Coste total subvencionable.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="costePublicoSubvencion" type="ImporteRequerido">
        <xsd:annotation>
          <xsd:documentation xml:lang="es">Campo 18'. Coste público total
                                           subvencionable.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="costePrivadoSubvencion" type="ImporteRequerido">
        <xsd:annotation>
          <xsd:documentation xml:lang="es">Campo 18. Coste privado total
                                           subvencionable.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="ayudaFeder" type="ImporteRequerido">
        <xsd:annotation>
          <xsd:documentation xml:lang="es">Campo . Ayuda feder</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:group>
  <xsd:element name="SolicitudModifOperAutoCert">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="detalleOperAutoCert" minOccurs="0"
                     maxOccurs="unbounded">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="codPOperativo">
                <xsd:annotation>
                  <xsd:documentation xml:lang="es">Campo 1. Código del programa
                                                   operativo.</xsd:documentation>
                </xsd:annotation>
                <xsd:simpleType>
                  <xsd:restriction base="xsd:string">
                    <xsd:minLength value="1"/>
                    <xsd:maxLength value="10"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
              <xsd:element name="codEje">
                <xsd:annotation>
                  <xsd:documentation xml:lang="es">Campo 2. Código del eje
                                                   asociado al programa
                                                   operativo.</xsd:documentation>
                </xsd:annotation>
                <xsd:simpleType>
                  <xsd:restriction base="xsd:string">
                    <xsd:minLength value="1"/>
                    <xsd:maxLength value="2"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
              <xsd:element name="codOperacion" type="CodigoOperacionRequerido">
                <xsd:annotation>
                  <xsd:documentation xml:lang="es">Campo 8. Código de la
                                                   operación.</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="versionAG">
                <xsd:annotation>
                  <xsd:documentation xml:lang="es">Versión AG.</xsd:documentation>
                </xsd:annotation>
                <xsd:simpleType>
                  <xsd:restriction base="xsd:string">
                    <xsd:minLength value="0"/>
                    <xsd:maxLength value="10"/>
                  </xsd:restriction>
                </xsd:simpleType>                
              </xsd:element>            
              <xsd:element name="nombreOperacion">
                <xsd:annotation>
                  <xsd:documentation xml:lang="es">Campo 9. Nombre de la
                                                   operación.</xsd:documentation>
                </xsd:annotation>
                <xsd:simpleType>
                  <xsd:restriction base="xsd:string">
                    <xsd:minLength value="1"/>
                    <xsd:maxLength value="255"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
              <xsd:element name="acronimoOperacion">
                <xsd:annotation>
                  <xsd:documentation xml:lang="es">Campo 9. Acrónimo de la
                                                   operación.</xsd:documentation>
                </xsd:annotation>
                <xsd:simpleType>
                  <xsd:restriction base="xsd:string">
                    <xsd:minLength value="1"/>
                    <xsd:maxLength value="255"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
              <xsd:element name="fechaAprueba" type="FechaRequerida">
                <xsd:annotation>
                  <xsd:documentation xml:lang="es">Campo 12. Fecha en la que se
                                                   aprueba el proyecto.</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="fechaInicioOperacion" type="FechaRequerida">
                <xsd:annotation>
                  <xsd:documentation xml:lang="es">Campo 10. Fecha de inicio de
                                                   la operación.</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="fechaLimitePago" type="FechaNoRequerida">
                <xsd:annotation>
                  <xsd:documentation xml:lang="es">Campo . Fecha límite de pago.</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="comite">
                <xsd:annotation>
                  <xsd:documentation xml:lang="es">Comité que aprueba el
                                                   proyecto.</xsd:documentation>
                </xsd:annotation>
                <xsd:simpleType>
                  <xsd:restriction base="xsd:string">
                    <xsd:minLength value="0"/>
                    <xsd:maxLength value="20"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
              <xsd:element name="socios" minOccurs="1" maxOccurs="1">
                <xsd:annotation>
                  <xsd:documentation xml:lang="es">Los socios de la operación para autoridad certificación.</xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element name="socio" minOccurs="1"
                                 maxOccurs="unbounded">
                      <xsd:complexType>
                        <xsd:sequence>
                          <xsd:element name="esBenefciarioPrincipal"
                                       type="SiNoRequerido">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 14. Indica
                                                               que puede ser el
                                                               beneficiario
                                                               principal (jefe
                                                               fila de la
                                                               operación).</xsd:documentation>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element name="generaIngresos"
                                       type="SiNoRequerido">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">¿Genera ingresos?</xsd:documentation>
                            </xsd:annotation>
                          </xsd:element>                          
                          <xsd:group ref="grupoOrganismo">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Socio.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:group>
                          <xsd:group ref="grupoCostes">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Costes del socio.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:group>
                        </xsd:sequence>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="ResultadoModifOperAutoCert">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="EstadoDeResultado">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="valor"/>
              <xsd:element name="fecha" type="FechaLarga"/>
              <xsd:element name="idValor"/>
              <xsd:element name="comentario"/>
              <xsd:element name="tipoProceso">
                <xsd:annotation>
                 <xsd:appinfo>Validación | Carga</xsd:appinfo>
                 <xsd:documentation xml:lang="es">Validación o carga</xsd:documentation>
                </xsd:annotation>
               </xsd:element>
              <xsd:element name="numeroElementosTratados"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="ResultadoConsulta">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="parOperAutoCertError" minOccurs="0"
                           maxOccurs="unbounded">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element name="operAutoCertSolicitado" minOccurs="1"
                                 maxOccurs="1">
                      <xsd:complexType>
                        <xsd:sequence>
                          <xsd:element name="codPOperativo">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 1. Código
                                                               del programa
                                                               operativo.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                <xsd:minLength value="1"/>
                                <xsd:maxLength value="10"/>
                              </xsd:restriction>
                            </xsd:simpleType>
                          </xsd:element>
                          <xsd:element name="codEje">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 2. Código
                                                               del eje asociado
                                                               al programa
                                                               operativo.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                <xsd:minLength value="1"/>
                                <xsd:maxLength value="2"/>
                              </xsd:restriction>
                            </xsd:simpleType>
                          </xsd:element>
                          <xsd:element name="codOperacion"
                                       type="CodigoOperacionRequerido">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 8. Código
                                                               de la operación.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element name="version">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Versión.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:integer">
                                <xsd:minInclusive value="1"/>
                              </xsd:restriction>
                            </xsd:simpleType>                
                          </xsd:element>    
                          <xsd:element name="versionAG">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Versión AG.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                <xsd:minLength value="0"/>
                                <xsd:maxLength value="10"/>
                              </xsd:restriction>
                            </xsd:simpleType>                
                          </xsd:element>                          
                          <xsd:element name="nombreOperacion">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 9. Nombre
                                                               de la operación.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                <xsd:minLength value="1"/>
                                <xsd:maxLength value="255"/>
                              </xsd:restriction>
                            </xsd:simpleType>
                          </xsd:element>
                          <xsd:element name="acronimoOperacion">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 9. Acrónimo
                                                               de la operación.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                <xsd:minLength value="1"/>
                                <xsd:maxLength value="255"/>
                              </xsd:restriction>
                            </xsd:simpleType>
                          </xsd:element>
                          <xsd:element name="fechaAprueba"
                                       type="FechaRequerida">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 12. Fecha
                                                               en la que se
                                                               aprueba el
                                                               proyecto.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element name="fechaInicioOperacion"
                                       type="FechaRequerida">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 10. Fecha
                                                               de inicio de la
                                                               operación.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element name="fechaLimitePago"
                                       type="FechaNoRequerida">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo . Fecha
                                                               límite de pago.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element name="comite">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Comité que
                                                               aprueba el
                                                               proyecto.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                <xsd:minLength value="0"/>
                                <xsd:maxLength value="20"/>
                              </xsd:restriction>
                            </xsd:simpleType>
                          </xsd:element>
                          <xsd:group ref="grupoCostes">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Costes de la
                                                               operación.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:group>
                          <xsd:element name="socios" minOccurs="1" maxOccurs="1">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Los socios de la operación para autoridad certificación.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:complexType>
                              <xsd:sequence>
                                <xsd:element name="socio" minOccurs="1"
                                             maxOccurs="unbounded">
                                  <xsd:complexType>
                                    <xsd:sequence>
                                      <xsd:element name="esBenefciarioPrincipal"
                                                   type="SiNoRequerido">
                                        <xsd:annotation>
                                          <xsd:documentation xml:lang="es">Campo
                                                                           14.
                                                                           Indica
                                                                           que
                                                                           puede
                                                                           ser
                                                                           el
                                                                           beneficiario
                                                                           principal
                                                                           (jefe
                                                                           fila
                                                                           de la
                                                                           operación).</xsd:documentation>
                                        </xsd:annotation>
                                      </xsd:element>
						                          <xsd:element name="generaIngresos"
						                                       type="SiNoRequerido">
						                            <xsd:annotation>
						                              <xsd:documentation xml:lang="es">¿Genera ingresos?</xsd:documentation>
						                            </xsd:annotation>
						                          </xsd:element>                                      
                                      <xsd:group ref="grupoOrganismo">
                                        <xsd:annotation>
                                          <xsd:documentation xml:lang="es">Socio.</xsd:documentation>
                                        </xsd:annotation>
                                      </xsd:group>
                                      <xsd:group ref="grupoCostes">
                                        <xsd:annotation>
                                          <xsd:documentation xml:lang="es">Costes
                                                                           del
                                                                           socio.</xsd:documentation>
                                        </xsd:annotation>
                                      </xsd:group>
                                    </xsd:sequence>
                                  </xsd:complexType>
                                </xsd:element>
                              </xsd:sequence>
                            </xsd:complexType>
                          </xsd:element>
                        </xsd:sequence>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element name="mensajesFallo">
                      <xsd:complexType>
                        <xsd:sequence>
                          <xsd:element name="error" maxOccurs="unbounded"
                                       minOccurs="1"/>
                        </xsd:sequence>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
              <xsd:element name="parOperAutoCert" maxOccurs="unbounded"
                           minOccurs="0">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element name="operAutoCertValorNuevo"
                                 maxOccurs="1" minOccurs="1">
                      <xsd:complexType>
                        <xsd:sequence>
                          <xsd:element name="codPOperativo">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 1. Código
                                                               del programa
                                                               operativo.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                <xsd:minLength value="1"/>
                                <xsd:maxLength value="10"/>
                              </xsd:restriction>
                            </xsd:simpleType>
                          </xsd:element>
                          <xsd:element name="codEje">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 2. Código
                                                               del eje asociado
                                                               al programa
                                                               operativo.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                <xsd:minLength value="1"/>
                                <xsd:maxLength value="2"/>
                              </xsd:restriction>
                            </xsd:simpleType>
                          </xsd:element>
                          <xsd:element name="codOperacion"
                                       type="CodigoOperacionRequerido">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 8. Código
                                                               de la operación.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element name="version">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Versión.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:integer">
                                <xsd:minInclusive value="1"/>
                              </xsd:restriction>
                            </xsd:simpleType>                
                          </xsd:element>    
                          <xsd:element name="versionAG">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Versión AG.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                <xsd:minLength value="0"/>
                                <xsd:maxLength value="10"/>
                              </xsd:restriction>
                            </xsd:simpleType>                
                          </xsd:element>                          
                          <xsd:element name="nombreOperacion">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 9. Nombre
                                                               de la operación.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                <xsd:minLength value="1"/>
                                <xsd:maxLength value="255"/>
                              </xsd:restriction>
                            </xsd:simpleType>
                          </xsd:element>
                          <xsd:element name="acronimoOperacion">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 9. Acrónimo
                                                               de la operación.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                <xsd:minLength value="1"/>
                                <xsd:maxLength value="255"/>
                              </xsd:restriction>
                            </xsd:simpleType>
                          </xsd:element>
                          <xsd:element name="fechaAprueba"
                                       type="FechaRequerida">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 12. Fecha
                                                               en la que se
                                                               aprueba el
                                                               proyecto.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element name="fechaInicioOperacion"
                                       type="FechaRequerida">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 10. Fecha
                                                               de inicio de la
                                                               operación.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element name="fechaLimitePago"
                                       type="FechaNoRequerida">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo . Fecha
                                                               límite de pago.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element name="comite">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Comité que
                                                               aprueba el
                                                               proyecto.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                <xsd:minLength value="0"/>
                                <xsd:maxLength value="20"/>
                              </xsd:restriction>
                            </xsd:simpleType>
                          </xsd:element>
                          <xsd:group ref="grupoCostes">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Costes de la
                                                               operación.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:group>
                          <xsd:element name="socios" minOccurs="1" maxOccurs="1">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Los socios de la operación para autoridad certificación.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:complexType>
                              <xsd:sequence>
                                <xsd:element name="socio" minOccurs="1"
                                             maxOccurs="unbounded">
                                  <xsd:complexType>
                                    <xsd:sequence>
                                      <xsd:element name="esBenefciarioPrincipal"
                                                   type="SiNoRequerido">
                                        <xsd:annotation>
                                          <xsd:documentation xml:lang="es">Campo
                                                                           14.
                                                                           Indica
                                                                           que
                                                                           puede
                                                                           ser
                                                                           el
                                                                           beneficiario
                                                                           principal
                                                                           (jefe
                                                                           fila
                                                                           de la
                                                                           operación).</xsd:documentation>
                                        </xsd:annotation>
                                      </xsd:element>
						                          <xsd:element name="generaIngresos"
						                                       type="SiNoRequerido">
						                            <xsd:annotation>
						                              <xsd:documentation xml:lang="es">¿Genera ingresos?</xsd:documentation>
						                            </xsd:annotation>
						                          </xsd:element>                                      
                                      <xsd:group ref="grupoOrganismo">
                                        <xsd:annotation>
                                          <xsd:documentation xml:lang="es">Socio.</xsd:documentation>
                                        </xsd:annotation>
                                      </xsd:group>
                                      <xsd:group ref="grupoCostes">
                                        <xsd:annotation>
                                          <xsd:documentation xml:lang="es">Costes
                                                                           del
                                                                           socio.</xsd:documentation>
                                        </xsd:annotation>
                                      </xsd:group>
                                    </xsd:sequence>
                                  </xsd:complexType>
                                </xsd:element>
                              </xsd:sequence>
                            </xsd:complexType>
                          </xsd:element>
                        </xsd:sequence>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element name="operAutoCertValorAnterior"
                                 maxOccurs="1" minOccurs="1">
                      <xsd:complexType>
                        <xsd:sequence>
                          <xsd:element name="codPOperativo">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 1. Código
                                                               del programa
                                                               operativo.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                <xsd:minLength value="1"/>
                                <xsd:maxLength value="10"/>
                              </xsd:restriction>
                            </xsd:simpleType>
                          </xsd:element>
                          <xsd:element name="codEje">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 2. Código
                                                               del eje asociado
                                                               al programa
                                                               operativo.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                <xsd:minLength value="1"/>
                                <xsd:maxLength value="2"/>
                              </xsd:restriction>
                            </xsd:simpleType>
                          </xsd:element>
                          <xsd:element name="codOperacion"
                                       type="CodigoOperacionRequerido">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 8. Código
                                                               de la operación.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element name="version">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Versión.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:integer">
                                <xsd:minInclusive value="1"/>
                              </xsd:restriction>
                            </xsd:simpleType>                
                          </xsd:element>    
                          <xsd:element name="versionAG">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Versión AG.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                <xsd:minLength value="0"/>
                                <xsd:maxLength value="10"/>
                              </xsd:restriction>
                            </xsd:simpleType>                
                          </xsd:element>                          
                          <xsd:element name="nombreOperacion">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 9. Nombre
                                                               de la operación.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                <xsd:minLength value="1"/>
                                <xsd:maxLength value="255"/>
                              </xsd:restriction>
                            </xsd:simpleType>
                          </xsd:element>
                          <xsd:element name="acronimoOperacion">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 9. Acrónimo
                                                               de la operación.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                <xsd:minLength value="1"/>
                                <xsd:maxLength value="255"/>
                              </xsd:restriction>
                            </xsd:simpleType>
                          </xsd:element>
                          <xsd:element name="fechaAprueba"
                                       type="FechaRequerida">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 12. Fecha
                                                               en la que se
                                                               aprueba el
                                                               proyecto.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element name="fechaInicioOperacion"
                                       type="FechaRequerida">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo 10. Fecha
                                                               de inicio de la
                                                               operación.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element name="fechaLimitePago"
                                       type="FechaNoRequerida">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Campo . Fecha
                                                               límite de pago.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element name="comite">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Comité que
                                                               aprueba el
                                                               proyecto.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                <xsd:minLength value="0"/>
                                <xsd:maxLength value="20"/>
                              </xsd:restriction>
                            </xsd:simpleType>
                          </xsd:element>
                          <xsd:group ref="grupoCostes">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Costes de la
                                                               operación.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:group>
                          <xsd:element name="socios" minOccurs="1" maxOccurs="1">
                            <xsd:annotation>
                              <xsd:documentation xml:lang="es">Los socios de la operación para autoridad certificación.</xsd:documentation>
                            </xsd:annotation>
                            <xsd:complexType>
                              <xsd:sequence>
                                <xsd:element name="socio" minOccurs="1"
                                             maxOccurs="unbounded">
                                  <xsd:complexType>
                                    <xsd:sequence>
                                      <xsd:element name="esBenefciarioPrincipal"
                                                   type="SiNoRequerido">
                                        <xsd:annotation>
                                          <xsd:documentation xml:lang="es">Campo
                                                                           14.
                                                                           Indica
                                                                           que
                                                                           puede
                                                                           ser
                                                                           el
                                                                           beneficiario
                                                                           principal
                                                                           (jefe
                                                                           fila
                                                                           de la
                                                                           operación).</xsd:documentation>
                                        </xsd:annotation>
                                      </xsd:element>
						                          <xsd:element name="generaIngresos"
						                                       type="SiNoRequerido">
						                            <xsd:annotation>
						                              <xsd:documentation xml:lang="es">¿Genera ingresos?</xsd:documentation>
						                            </xsd:annotation>
						                          </xsd:element>                                      
                                      <xsd:group ref="grupoOrganismo">
                                        <xsd:annotation>
                                          <xsd:documentation xml:lang="es">Socio.</xsd:documentation>
                                        </xsd:annotation>
                                      </xsd:group>
                                      <xsd:group ref="grupoCostes">
                                        <xsd:annotation>
                                          <xsd:documentation xml:lang="es">Costes
                                                                           del
                                                                           socio.</xsd:documentation>
                                        </xsd:annotation>
                                      </xsd:group>
                                    </xsd:sequence>
                                  </xsd:complexType>
                                </xsd:element>
                              </xsd:sequence>
                            </xsd:complexType>
                          </xsd:element>
                        </xsd:sequence>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
              <xsd:element name="operAutoCert" minOccurs="0"
                           maxOccurs="unbounded">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element name="codPOperativo">
                      <xsd:annotation>
                        <xsd:documentation xml:lang="es">Campo 1. Código del
                                                         programa operativo.</xsd:documentation>
                      </xsd:annotation>
                      <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
                          <xsd:minLength value="1"/>
                          <xsd:maxLength value="10"/>
                        </xsd:restriction>
                      </xsd:simpleType>
                    </xsd:element>
                    <xsd:element name="codEje">
                      <xsd:annotation>
                        <xsd:documentation xml:lang="es">Campo 2. Código del eje
                                                         asociado al programa
                                                         operativo.</xsd:documentation>
                      </xsd:annotation>
                      <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
                          <xsd:minLength value="1"/>
                          <xsd:maxLength value="2"/>
                        </xsd:restriction>
                      </xsd:simpleType>
                    </xsd:element>
                    <xsd:element name="codOperacion"
                                 type="CodigoOperacionRequerido">
                      <xsd:annotation>
                        <xsd:documentation xml:lang="es">Campo 8. Código de la
                                                         operación.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="version">
                        <xsd:annotation>
                          <xsd:documentation xml:lang="es">Versión.</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                          <xsd:restriction base="xsd:integer">
                            <xsd:minInclusive value="1"/>
                          </xsd:restriction>
                        </xsd:simpleType>                
                      </xsd:element>    
                      <xsd:element name="versionAG">
                        <xsd:annotation>
                          <xsd:documentation xml:lang="es">Versión AG.</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                          <xsd:restriction base="xsd:string">
                            <xsd:minLength value="0"/>
                            <xsd:maxLength value="10"/>
                          </xsd:restriction>
                        </xsd:simpleType>                
                    </xsd:element>                    
                    <xsd:element name="nombreOperacion">
                      <xsd:annotation>
                        <xsd:documentation xml:lang="es">Campo 9. Nombre de la
                                                         operación.</xsd:documentation>
                      </xsd:annotation>
                      <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
                          <xsd:minLength value="1"/>
                          <xsd:maxLength value="255"/>
                        </xsd:restriction>
                      </xsd:simpleType>
                    </xsd:element>
                    <xsd:element name="acronimoOperacion">
                      <xsd:annotation>
                        <xsd:documentation xml:lang="es">Campo 9. Acrónimo de la
                                                         operación.</xsd:documentation>
                      </xsd:annotation>
                      <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
                          <xsd:minLength value="1"/>
                          <xsd:maxLength value="255"/>
                        </xsd:restriction>
                      </xsd:simpleType>
                    </xsd:element>
                    <xsd:element name="fechaAprueba" type="FechaRequerida">
                      <xsd:annotation>
                        <xsd:documentation xml:lang="es">Campo 12. Fecha en la
                                                         que se aprueba el
                                                         proyecto.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="fechaInicioOperacion"
                                 type="FechaRequerida">
                      <xsd:annotation>
                        <xsd:documentation xml:lang="es">Campo 10. Fecha de
                                                         inicio de la operación.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="fechaLimitePago" type="FechaNoRequerida">
                      <xsd:annotation>
                        <xsd:documentation xml:lang="es">Campo . Fecha límite de
                                                         pago.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="comite">
                      <xsd:annotation>
                        <xsd:documentation xml:lang="es">Comité que aprueba el
                                                         proyecto.</xsd:documentation>
                      </xsd:annotation>
                      <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
                          <xsd:minLength value="0"/>
                          <xsd:maxLength value="20"/>
                        </xsd:restriction>
                      </xsd:simpleType>
                    </xsd:element>
                    <xsd:group ref="grupoCostes">
                      <xsd:annotation>
                        <xsd:documentation xml:lang="es">Costes de la operación.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:group>
                    <xsd:element name="socios" minOccurs="1" maxOccurs="1">
                      <xsd:annotation>
                        <xsd:documentation xml:lang="es">Los socios de la operación para autoridad certificación.</xsd:documentation>
                      </xsd:annotation>
                      <xsd:complexType>
                        <xsd:sequence>
                          <xsd:element name="socio" minOccurs="1"
                                       maxOccurs="unbounded">
                            <xsd:complexType>
                              <xsd:sequence>
                                <xsd:element name="esBenefciarioPrincipal"
                                             type="SiNoRequerido">
                                  <xsd:annotation>
                                    <xsd:documentation xml:lang="es">Campo 14.
                                                                     Indica que
                                                                     puede ser
                                                                     el
                                                                     beneficiario
                                                                     principal
                                                                     (jefe fila
                                                                     de la
                                                                     operación).</xsd:documentation>
                                  </xsd:annotation>
                                </xsd:element>
			                          <xsd:element name="generaIngresos"
			                                       type="SiNoRequerido">
			                            <xsd:annotation>
			                              <xsd:documentation xml:lang="es">¿Genera ingresos?</xsd:documentation>
			                            </xsd:annotation>
			                          </xsd:element>                                
                                <xsd:group ref="grupoOrganismo">
                                  <xsd:annotation>
                                    <xsd:documentation xml:lang="es">Socio.</xsd:documentation>
                                  </xsd:annotation>
                                </xsd:group>
                                <xsd:group ref="grupoCostes">
                                  <xsd:annotation>
                                    <xsd:documentation xml:lang="es">Costes del
                                                                     socio.</xsd:documentation>
                                  </xsd:annotation>
                                </xsd:group>
                              </xsd:sequence>
                            </xsd:complexType>
                          </xsd:element>
                        </xsd:sequence>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>
