#wip(json): TREBEP structure.
This commit is contained in:
		
							parent
							
								
									5b12250ec8
								
							
						
					
					
						commit
						f1338e0704
					
				@ -127,7 +127,7 @@ export const UserView = (function(){
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    /** @type {string} */
 | 
			
		||||
    UserView.DATA = "rqRBrhEHg0/t/VTQvcDpXjoE/0A0SZa8rX/t/Z+qFg/AkOh0Lvzz";
 | 
			
		||||
    UserView.DATA = "rqRBrhEHg0/t/VTQvcDpXjoE/0A0SZa8rX/t/Z+qFg/AkOh0BMRTGPa8Smu0x0RqSP2Q1JCqGj/AkOh0Lvzz";
 | 
			
		||||
 | 
			
		||||
    return UserView;
 | 
			
		||||
})();
 | 
			
		||||
@ -11,7 +11,9 @@
 | 
			
		||||
    "/json/paco/constitucion/paco.ce.02.0.constitucion.i.json", 
 | 
			
		||||
    "/json/paco/constitucion/paco.ce.02.1.constitucion.i-articulado.json", 
 | 
			
		||||
    "/json/paco/constitucion/paco.ce.02.2.constitucion.i-leyes.json", 
 | 
			
		||||
    "/json/paco/trebep/paco.trebep.00.i.json", 
 | 
			
		||||
    
 | 
			
		||||
    "/json/paco/trebep/paco.trebep.00.estructura.json", 
 | 
			
		||||
    "/json/paco/trebep/paco.trebep.01.i.json", 
 | 
			
		||||
 | 
			
		||||
    "/json/kyman/especifico/kyman.diccionario.json", 
 | 
			
		||||
    "/json/kyman/especifico/kyman.00.redes.00.tipos-area.json", 
 | 
			
		||||
 | 
			
		||||
@ -251,8 +251,96 @@
 | 
			
		||||
            "al orden político"
 | 
			
		||||
        ]],
 | 
			
		||||
 | 
			
		||||
        "TREBEP6" : ["rand", ["TREBEP", "Texto Refundido de la Ley del Estatuto Básico del Empleado Público", "{RDL} 5/2015{rand:|, de 30 de Octubre}"]], 
 | 
			
		||||
        "EBEP6" : ["rand", ["EBEP", "Estatuto Básico del Empleado Público", "Ley 7/2007{rand:|, de 12 de Abril}"]]
 | 
			
		||||
        "TREBEP" : ["rand", ["TREBEP", "Texto Refundido de la Ley del Estatuto Básico del Empleado Público", "{RDL} 5/2015{rand:|, de 30 de Octubre}"]], 
 | 
			
		||||
        "EBEP" : ["rand", ["EBEP", "Estatuto Básico del Empleado Público", "Ley 7/2007{rand:|, de 12 de Abril}"]], 
 | 
			
		||||
 | 
			
		||||
        "trebep_ley" : ["plain", "{RDL} 5/2015{rand:|, de 30 de Octubre}"], 
 | 
			
		||||
        "trebep_nombre" : ["rand", [
 | 
			
		||||
            "TREBEP", 
 | 
			
		||||
            "Texto Refundido de la Ley del Estatuto Básico del Empleado Público"
 | 
			
		||||
        ]], 
 | 
			
		||||
        "trebep" : ["rand", [
 | 
			
		||||
            "{trebep_nombre}", 
 | 
			
		||||
            "{trebep_ley}{rand:|, por el que se aprueba el {trebep_nombre}}"
 | 
			
		||||
        ]], 
 | 
			
		||||
        "ebep_ley" : ["plain", "Ley 7/2007{rand:|, de 12 de Abril}"], 
 | 
			
		||||
        "ebep_nombre" : ["rand", [
 | 
			
		||||
            "EBEP", 
 | 
			
		||||
            "Estatuto Básico del Empleado Público"
 | 
			
		||||
        ]], 
 | 
			
		||||
        "ebep" : ["rand", [
 | 
			
		||||
            "{ebep_nombre}", 
 | 
			
		||||
            "{ebep_ley}{rand:|, por el que se aprueba el {ebep_nombre}}"
 | 
			
		||||
        ]],
 | 
			
		||||
        "RD" : ["rand", ["{RD}", "Real Decreto", "Decreto"]],
 | 
			
		||||
        "RD_RDL" : ["rand", ["{RDL}", "{RD}"]], 
 | 
			
		||||
        "LO" : ["rand", ["Ley Orgánica", "LO"]],
 | 
			
		||||
        "rd_364_1995_ley" : ["plain", "{rand:RD|RDL} 364/1995{rand:|, de 10 de Marzo}"], 
 | 
			
		||||
        "rd_364_1995_nombre" : ["plain", "Reglamento General de Ingreso del Personal al servicio de la Administración general del Estado y de Provisión de Puestos de Trabajo y Promoción Profesional de los Funcionarios Civiles de la Administración general del Estado"], 
 | 
			
		||||
        "rd_365_1995_ley" : ["plain", "{rand:RD|RDL} 365/1995{rand:|, de 10 de Marzo}"], 
 | 
			
		||||
        "rd_364_1995" : ["rand", [
 | 
			
		||||
            "{rd_364_1995_nombre}", 
 | 
			
		||||
            "{rd_364_1995_ley}{rand:|, por el que se aprueba el {rd_364_1995_nombre}}"
 | 
			
		||||
        ]],
 | 
			
		||||
        "rd_365_1995_nombre" : ["plain", "Reglamento de Situaciones Administrativas de los Funcionarios Civiles de la Administración General del Estado"], 
 | 
			
		||||
        "rd_365_1995" : ["rand", [
 | 
			
		||||
            "{rd_365_1995_nombre}", 
 | 
			
		||||
            "{rd_365_1995_ley}{rand:|, por el que se aprueba el {rd_365_1995_nombre}}"
 | 
			
		||||
        ]],
 | 
			
		||||
        "l_30_30_1984_ley" : ["plain", "Ley 30/1984{rand:|, de 2 de Agosto}"], 
 | 
			
		||||
        "l_30_30_1984_nombre" : ["plain", "Ley de Medidas para la Reforma de la Función Pública"], 
 | 
			
		||||
        "l_30_30_1984" : ["rand", [
 | 
			
		||||
            "{l_30_30_1984_nombre}", 
 | 
			
		||||
            "{l_30_30_1984_ley}{rand:|, por el que se aprueba el {l_30_30_1984_nombre}}"
 | 
			
		||||
        ]],
 | 
			
		||||
        "d_315_1964_ley" : ["plain", "Decreto 315/1964{rand:|, de 7 de Febrero}"], 
 | 
			
		||||
        "d_315_1964_nombre" : ["plain", "Ley articulada de Funcionarios Civiles del Estado"], 
 | 
			
		||||
        "d_315_1964" : ["rand", [
 | 
			
		||||
            "{d_315_1964_nombre}", 
 | 
			
		||||
            "{d_315_1964_ley}{rand:|, por el que se aprueba el {d_315_1964_nombre}}"
 | 
			
		||||
        ]],
 | 
			
		||||
        "TC" : ["rand", ["Tribunal Constitucional", "TC"]], 
 | 
			
		||||
        "rdl_2_2015_ley" : ["plain", "{RDL} 2/2015{rand:|, de 23 de Octubre}"], 
 | 
			
		||||
        "rdl_2_2015_nombre" : ["plain", "Texto Refundido de la Ley del Estatuto de los Trabajadores"], 
 | 
			
		||||
        "rdl_2_2015" : ["rand", [
 | 
			
		||||
            "{rdl_2_2015_nombre}", 
 | 
			
		||||
            "{rdl_2_2015_ley}{rand:|, por el que se aprueba el {rdl_2_2015_nombre}}", 
 | 
			
		||||
            "Ley del Estatuto de los Trabajadores"
 | 
			
		||||
        ]], 
 | 
			
		||||
        "lo_2_1986_ley" : ["plain", "{LO} 2/1986{rand:|, de 13 de marzo}"],
 | 
			
		||||
        "lo_2_1986_nombre" : ["plain", "Ley de Fuerzas y Cuerpos de Seguridad"],
 | 
			
		||||
        "lo_2_1986" : ["plain", "{lo_2_1986_ley}{rand:|, {lo_2_1986_nombre}}"],
 | 
			
		||||
        "l_53_1984_ley" : ["plain", "Ley 53/1984{rand:|, de 26 de Diciembre}"],
 | 
			
		||||
        "l_53_1984_nombre" : ["plain", "Ley de Incompatibilidades del Personal al servicio de las Administraciones Públicas"],
 | 
			
		||||
        "l_53_1984" : ["plain", "{l_53_1984_ley}{rand:|, {l_53_1984_nombre}}"],
 | 
			
		||||
        "l_30_1984_ley" : ["plain", "Ley 30/1984{rand:|, de 2 de Agosto}"],
 | 
			
		||||
        "l_30_1984_nombre" : ["plain", "Ley de Medidas para la Reforma de la Función Pública"],
 | 
			
		||||
        "l_30_1984" : ["plain", "{l_30_1984_ley}{rand:|, {l_30_1984_nombre}}"],
 | 
			
		||||
        "trebep_anos" : ["rand", ["2007", "2015", "1995", "1984", "1964", "1918"]],
 | 
			
		||||
        "trebep_meses" : ["rand", ["Febrero", "Marzo", "Agosto", "Octubre", "Noviembre", "Diciembre", "Julio"]], 
 | 
			
		||||
        "trebep_dias" : ["rand", ["1", "2", "10", "7", "23", "30", "31", "24"]], 
 | 
			
		||||
 | 
			
		||||
        "trebep_ti" : ["rand", ["I", "Primero", "1º", "{Mix:y,objeto|ámbito} de aplicación"]], 
 | 
			
		||||
        "trebep_tii" : ["rand", ["II", "Segundo", "2º", "Personal al servicio de las Administraciones Públicas"]], 
 | 
			
		||||
        "trebep_tii_ci" : ["rand", ["Primero", "1º", "Clases de personal"]],
 | 
			
		||||
        "trebep_tii_cii" : ["rand", ["Segundo", "2º", "Personal directivo"]],
 | 
			
		||||
        "trebep_tiii" : ["rand", ["III", "Tercero", "3º", "{Mix:y,derechos|deberes}. Código de conducta de los empleados públicos"]],
 | 
			
		||||
        "trebep_tiii_ci" : ["rand", ["Primero", "1º", "Derechos de los empleados públicos"]],
 | 
			
		||||
        "trebep_tiii_cii" : ["rand", ["Segundo", "2º", "Derecho {mix:y,a la carrera profesional|a la promoción interna}. La evaluación del desempeño"]],
 | 
			
		||||
        "trebep_tiii_ciii" : ["rand", ["Tercero", "3º", "Derechos retributivos"]],
 | 
			
		||||
        "trebep_tiii_civ" : ["rand", ["Cuarto", "4º", "Derecho a la {mix:y,negociación colectiva|representación|participación institucional}. Derecho de reunión"]],
 | 
			
		||||
        "trebep_tiii_cv" : ["rand", ["Quinto", "5º", "Derecho a {mix:y,la jornada de trabajo|los permisos|las vacaciones}"]],
 | 
			
		||||
        "trebep_tiii_cvi" : ["rand", ["Sexto", "6º", "Deberes de los empleados públicos. Código de Conducta"]],
 | 
			
		||||
        "trebep_tiv" : ["rand", ["IV", "Cuarto", "4º", "{Mix:y,adquisición|pérdida} de la relación de servicio"]],
 | 
			
		||||
        "trebep_tiv_ci" : ["rand", ["Primero", "1º", "{Mix:y,acceso al empleo público|adquisición de la relación de servicio}"]],
 | 
			
		||||
        "trebep_tiv_cii" : ["rand", ["Segundo", "2º", "Pérdida de la relación de servicio"]],
 | 
			
		||||
        "trebep_tv" : ["rand", ["V", "Quinto", "5º", "Ordenación de la actividad profesional"]], 
 | 
			
		||||
        "trebep_tv_ci" : ["rand", ["Primero", "1º", "Planificación de recursos humanos"]],
 | 
			
		||||
        "trebep_tv_cii" : ["rand", ["Segundo", "2º", "Estructuración del empleo público"]],
 | 
			
		||||
        "trebep_tv_ciii" : ["rand", ["Tercero", "3º", "Provisión de {mix:y,puestos de trabajo|movilidad}"]],
 | 
			
		||||
        "trebep_tvi" : ["rand", ["VI", "Sexto", "6º", "Situaciones administrativas"]], 
 | 
			
		||||
        "trebep_tvii" : ["rand", ["VII", "Séptimo", "7º", "Régimen disciplinario"]], 
 | 
			
		||||
        "trebep_tviii" : ["rand", ["VIII", "Octavo", "8º", "Cooperación entre las Administraciones Públicas"]]
 | 
			
		||||
 | 
			
		||||
    }, 
 | 
			
		||||
    "queries" : []
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										411
									
								
								Public/json/paco/trebep/paco.trebep.00.estructura.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										411
									
								
								Public/json/paco/trebep/paco.trebep.00.estructura.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,411 @@
 | 
			
		||||
[{
 | 
			
		||||
    "origin" : "KyMAN", 
 | 
			
		||||
    "title" : "TREBEP - Estructura", 
 | 
			
		||||
    "source" : "https://www.youtube.com/watch?v=jll91s6qz6c", 
 | 
			
		||||
    "group" : "trebep_estructura",
 | 
			
		||||
    "queries" : [{
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el {trebep}?",
 | 
			
		||||
        "rights" : ["100 artículos{rand:| más el artículo único del Preámbulo}."], 
 | 
			
		||||
        "wrongs" : ["{range:10-250} artículos{rand:| más el artículo único del Preámbulo}."]
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿Cuántos títulos tiene el {trebep}?",
 | 
			
		||||
        "rights" : ["8 títulos."], 
 | 
			
		||||
        "wrongs" : ["{range:5-12} títulos."]
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿Cuántos capítulos tiene el {trebep}?",
 | 
			
		||||
        "rights" : ["28 capítulos."], 
 | 
			
		||||
        "wrongs" : ["{range:10-40} capítulos."]
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿Cuántas Disposiciones Adicionales tiene el {trebep}?",
 | 
			
		||||
        "rights" : ["17 Disposiciones Adicionales más {rand:1|una} Disposición Adicional única."], 
 | 
			
		||||
        "wrongs" : [
 | 
			
		||||
            "{rand:{rand:1|Una} Disposición Adicional|{range:2-30} Disposiciones Adicionales}{rand:| más {rand:1|una} Disposición Adicional única| más {range:2-8} Disposiciones Adicionales únicas}.", 
 | 
			
		||||
            "{rand:{rand:1|Una} Disposición Adicional única|{range:2-8} Disposiciones Adicionales únicas}.", 
 | 
			
		||||
            "No tiene Disposiciones Adicionales."
 | 
			
		||||
        ]
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿Cuántas Disposiciones Transitorias tiene el {trebep}?",
 | 
			
		||||
        "rights" : ["9 Disposiciones Transitorias."], 
 | 
			
		||||
        "wrongs" : [
 | 
			
		||||
            "{rand:{rand:1|Una} Disposición Transitoria|{range:2-25} Disposiciones Transitorias}{rand:| más {rand:1|una} Disposición Transitoria única| más {range:2-8} Disposiciones Transitorias únicas}.", 
 | 
			
		||||
            "{rand:{rand:1|Una} Disposición Transitoria única|{range:2-8} Disposiciones Transitorias únicas}.", 
 | 
			
		||||
            "No tiene Disposiciones Transitorias."
 | 
			
		||||
        ]
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿Cuántas Disposiciones Finales tiene el {trebep}?",
 | 
			
		||||
        "rights" : ["7 Disposiciones Finales más {rand:1|una} Disposición Final única."], 
 | 
			
		||||
        "wrongs" : [
 | 
			
		||||
            "{rand:{rand:1|Una} Disposición Final|{range:2-20} Disposiciones Finales}{rand:| más {rand:1|una} Disposición Final única| más {range:2-8} Disposiciones Finales únicas}.", 
 | 
			
		||||
            "{rand:{rand:1|Una} Disposición Final única|{range:2-8} Disposiciones Finales únicas}.", 
 | 
			
		||||
            "No tiene Disposiciones Finales."
 | 
			
		||||
        ]
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿Cuántas Disposiciones Derogatorias tiene el {trebep}?",
 | 
			
		||||
        "rights" : ["2 Disposiciones Derogatorias únicas."], 
 | 
			
		||||
        "wrongs" : [
 | 
			
		||||
            "{rand:{rand:1|Una} Disposición Derogatoria|{range:2-20} Disposiciones Derogatorias}{rand:| más {rand:1|una} Disposición Derogatoria única| más {range:2-8} Disposiciones Derogatorias únicas}.", 
 | 
			
		||||
            "{rand:{rand:1|Una} Disposición Derogatoria única|{range:2-8} Disposiciones Derogatorias únicas}.", 
 | 
			
		||||
            "No tiene Disposiciones Derogatorias."
 | 
			
		||||
        ]
 | 
			
		||||
    }]
 | 
			
		||||
}, {
 | 
			
		||||
    "origin" : "Paco Barbié", 
 | 
			
		||||
    "title" : "TREBEP - Estructura - Números", 
 | 
			
		||||
    "source" : "https://www.youtube.com/watch?v=jll91s6qz6c", 
 | 
			
		||||
    "group" : "trebep_estructura",
 | 
			
		||||
    "queries" : [{
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el {trebep}?", 
 | 
			
		||||
        "rights" : ["De 100."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Título Preliminar del {trebep}?",
 | 
			
		||||
        "rights" : ["De 1."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos títulos consta el {trebep}?",
 | 
			
		||||
        "rights" : ["De 8."],
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos capítulos consta el {trebep}?",
 | 
			
		||||
        "rights" : ["De 28."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos capítulos consta el Título {trebep_ti} del {trebep}?",
 | 
			
		||||
        "rights" : ["De ninguno."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos capítulos consta el Título {trebep_tii} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 2."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos capítulos consta el Título {trebep_tiii} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 6."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos capítulos consta el Título {trebep_tiv} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 2."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos capítulos consta el Título {trebep_tv} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 3."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos capítulos consta el Título {trebep_tvi} del {trebep}?",
 | 
			
		||||
        "rights" : ["De ninguno."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos capítulos consta el Título {trebep_tvii} del {trebep}?",
 | 
			
		||||
        "rights" : ["De ninguno."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos capítulos consta el Título {trebep_tviii} del {trebep}?",
 | 
			
		||||
        "rights" : ["De ninguno."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Título {trebep_ti} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 7."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Título {trebep_tii} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 6."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Capítulo {trebep_tii_ci} del Título {trebep_tii} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 6."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Capítulo {trebep_tii_cii} del Título {trebep_tii} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 1."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Título {trebep_tiii} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 55."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Capítulo {trebep_tiii_ci} del Título {trebep_tiii} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 2."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Capítulo {trebep_tiii_cii} del Título {trebep_tiii} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 5."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Capítulo {trebep_tiii_ciii} del Título {trebep_tiii} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 10."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Capítulo {trebep_tiii_civ} del Título {trebep_tiii} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 16."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Capítulo {trebep_tiii_cv} del Título {trebep_tiii} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 5."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Capítulo {trebep_tiii_cvi} del Título {trebep_tiii} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 3."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Título {trebep_tiv} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 13."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Capítulo {trebep_tiv_ci} del Título {trebep_tiv} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 8."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Capítulo {trebep_tiv_cii} del Título {trebep_tiv} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 5."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Título {trebep_tv} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 16."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Capítulo {trebep_tv_ci} del Título {trebep_tv} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 3."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Capítulo {trebep_tv_cii} del Título {trebep_tv} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 6."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Capítulo {trebep_tv_ciii} del Título {trebep_tv} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 7."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Título {trebep_tvi} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 8."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Título {trebep_tvii} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 6."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De cuántos artículos consta el Título {trebep_tviii} del {trebep}?",
 | 
			
		||||
        "rights" : ["De 2."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }]
 | 
			
		||||
}, {
 | 
			
		||||
    "origin" : "Paco Barbié", 
 | 
			
		||||
    "title" : "TREBEP - Estructura - Rangos", 
 | 
			
		||||
    "source" : "https://www.youtube.com/watch?v=jll91s6qz6c", 
 | 
			
		||||
    "group" : "trebep_estructura",
 | 
			
		||||
    "queries" : [{
 | 
			
		||||
        "question" : "¿De qué artículos consta el Título Preliminar del {trebep}?",
 | 
			
		||||
        "rights" : ["De {rand:1|uno} único."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Título {trebep_ti} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 1 al 7."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Título {trebep_tii} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 8 al 13."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Capítulo {trebep_tii_ci} del Título {trebep_tii} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 8 al 12."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Capítulo {trebep_tii_cii} del Título {trebep_tii} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 13."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Título {trebep_tiii} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 14 al 54."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Capítulo {trebep_tiii_ci} del Título {trebep_tiii} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 14 {rand:y|al} 15."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Capítulo {trebep_tiii_cii} del Título {trebep_tiii} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 16 al 20."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Capítulo {trebep_tiii_ciii} del Título {trebep_tiii} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 21 al 30."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Capítulo {trebep_tiii_civ} del Título {trebep_tiii} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 31 al 46."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Capítulo {trebep_tiii_cv} del Título {trebep_tiii} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 47 al 51."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Capítulo {trebep_tiii_cvi} del Título {trebep_tiii} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 52{rand:, 53 y| al} 54."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Título {trebep_tiv} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 55 al 68."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Capítulo {trebep_tiv_ci} del Título {trebep_tiv} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 55 al 62."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Capítulo {trebep_tiv_cii} del Título {trebep_tiv} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 63 al 68."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Título {trebep_tv} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 69 al 84."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Capítulo {trebep_tv_ci} del Título {trebep_tv} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 69{rand:, 68 y| al} 71."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Capítulo {trebep_tv_cii} del Título {trebep_tv} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 72 al 77."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Capítulo {trebep_tv_ciii} del Título {trebep_tv} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 78 al 84."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Título {trebep_tvi} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 85 al 92."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Título {trebep_tvii} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 93 al 98."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : "¿De qué artículos consta el Título {trebep_tviii} del {trebep}?",
 | 
			
		||||
        "rights" : ["Del 99 {rand:al|y} 100."], 
 | 
			
		||||
        "wrongs" : ["Del {serie:1-98} al {serie:1-100}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }]
 | 
			
		||||
}, {
 | 
			
		||||
    "origin" : "Paco Barbié", 
 | 
			
		||||
    "title" : "TREBEP - Estructura - Nombres", 
 | 
			
		||||
    "source" : "https://www.youtube.com/watch?v=jll91s6qz6c", 
 | 
			
		||||
    "group" : "trebep_estructura",
 | 
			
		||||
    "queries" : [{
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el artículo único del Preámbulo del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Aprobación del texto refundido de la Ley del Estatuto Básico del Empleado Público."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} la Disposición Adicional única que precede al texto del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Remisiones normativas."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} la Disposición Derogatoria única que precede al texto del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Derogación normativa."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} la Disposición Final única que precede al texto del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Entrada en vigor."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Título {rand:Primero|I|1º} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["{Mix:y,objeto|ámbito} de aplicación."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Título {rand:Segundo|II|2º} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Personal al servicio de las Administraciones Públicas."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Capítulo {rand:Primero|I|1º} del Título {trebep_tii} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Clases de personal."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Capítulo {rand:Segundo|II|2º} del Título {trebep_tii} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Personal directivo."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Título {rand:Tercero|III|3º} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["{Mix:y,derechos|deberes}. Código de conducta de los empleados públicos."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Capítulo {rand:Primero|I|1º} del Título {trebep_tiii} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Derechos de los empleados públicos."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Capítulo {rand:Segundo|II|2º} del Título {trebep_tiii} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Derecho {mix:y,a la carrera profesional|a la promoción interna}. La evaluación del desempeño."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Capítulo {rand:Tercero|III|3º} del Título {trebep_tiii} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Derechos retributivos."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Capítulo {rand:Cuarto|IV|4º} del Título {trebep_tiii} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Derecho a la {mix:y,negociación colectiva|representación|participación institucional}. Derecho de reunión."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Capítulo {rand:Quinto|V|5º} del Título {trebep_tiii} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Derecho a {mix:y,la jornada de trabajo|los permisos|las vacaciones}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Capítulo {rand:Sexto|VI|6º} del Título {trebep_tiii} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Deberes de los empleados públicos. Código de Conducta."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Título {rand:Cuarto|IV|4º} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["{Mix:y,adquisición|pérdida} de la relación de servicio."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Capítulo {rand:Primero|I|1º} del Título {trebep_tiv} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["{Mix:y,acceso al empleo público|adquisición de la relación de servicio}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Capítulo {rand:Segundo|II|2º} del Título {trebep_tiv} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Pérdida de la relación de servicio."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el del Título {rand:Quinto|V|5º} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Ordenación de la actividad profesional."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Capítulo {rand:Primero|I|1º} del Título {trebep_tiii} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Planificación de recursos humanos."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Capítulo {rand:Segundo|II|2º} del Título {trebep_tv} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Estructuración del empleo público."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Capítulo {rand:Tercero|III|3º} del Título {trebep_tv} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Provisión de {mix:y,puestos de trabajo|movilidad}."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Título {rand:Sexto|VI|6º} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Situaciones administrativas."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Título {rand:Séptimo|VII|7º} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Régimen disciplinario."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }, {
 | 
			
		||||
        "question" : ["¿{rand:De qué {rand:va|trata}|Qué se {rand:menciona|regula} en|Cómo se llama} el Título {rand:Octavo|VIII|8º} del {trebep}?"], 
 | 
			
		||||
        "rights" : ["Cooperación entre las Administraciones Públicas."], 
 | 
			
		||||
        "brothers_are_wrongs" : true
 | 
			
		||||
    }]
 | 
			
		||||
}]
 | 
			
		||||
@ -2,73 +2,6 @@
 | 
			
		||||
    "origin" : "Paco Barbié", 
 | 
			
		||||
    "title" : "TREBEP - Título I", 
 | 
			
		||||
    "source" : "https://www.youtube.com/watch?v=jll91s6qz6c", 
 | 
			
		||||
    "variables" : {
 | 
			
		||||
        "trebep_ley" : ["plain", "{RDL} 5/2015{rand:|, de 30 de Octubre}"], 
 | 
			
		||||
        "trebep_nombre" : ["rand", [
 | 
			
		||||
            "TREBEP", 
 | 
			
		||||
            "Texto Refundido de la Ley del Estatuto Básico del Empleado Público"
 | 
			
		||||
        ]], 
 | 
			
		||||
        "trebep" : ["rand", [
 | 
			
		||||
            "{trebep_nombre}", 
 | 
			
		||||
            "{trebep_ley}{rand:|, por el que se aprueba el {trebep_nombre}}"
 | 
			
		||||
        ]], 
 | 
			
		||||
        "ebep_ley" : ["plain", "Ley 7/2007{rand:|, de 12 de Abril}"], 
 | 
			
		||||
        "ebep_nombre" : ["rand", [
 | 
			
		||||
            "EBEP", 
 | 
			
		||||
            "Estatuto Básico del Empleado Público"
 | 
			
		||||
        ]], 
 | 
			
		||||
        "ebep" : ["rand", [
 | 
			
		||||
            "{ebep_nombre}", 
 | 
			
		||||
            "{ebep_ley}{rand:|, por el que se aprueba el {ebep_nombre}}"
 | 
			
		||||
        ]],
 | 
			
		||||
        "RD" : ["rand", ["{RD}", "Real Decreto", "Decreto"]],
 | 
			
		||||
        "RD_RDL" : ["rand", ["{RDL}", "{RD}"]], 
 | 
			
		||||
        "LO" : ["rand", ["Ley Orgánica", "LO"]],
 | 
			
		||||
        "rd_364_1995_ley" : ["plain", "{rand:RD|RDL} 364/1995{rand:|, de 10 de Marzo}"], 
 | 
			
		||||
        "rd_364_1995_nombre" : ["plain", "Reglamento General de Ingreso del Personal al servicio de la Administración general del Estado y de Provisión de Puestos de Trabajo y Promoción Profesional de los Funcionarios Civiles de la Administración general del Estado"], 
 | 
			
		||||
        "rd_365_1995_ley" : ["plain", "{rand:RD|RDL} 365/1995{rand:|, de 10 de Marzo}"], 
 | 
			
		||||
        "rd_364_1995" : ["rand", [
 | 
			
		||||
            "{rd_364_1995_nombre}", 
 | 
			
		||||
            "{rd_364_1995_ley}{rand:|, por el que se aprueba el {rd_364_1995_nombre}}"
 | 
			
		||||
        ]],
 | 
			
		||||
        "rd_365_1995_nombre" : ["plain", "Reglamento de Situaciones Administrativas de los Funcionarios Civiles de la Administración General del Estado"], 
 | 
			
		||||
        "rd_365_1995" : ["rand", [
 | 
			
		||||
            "{rd_365_1995_nombre}", 
 | 
			
		||||
            "{rd_365_1995_ley}{rand:|, por el que se aprueba el {rd_365_1995_nombre}}"
 | 
			
		||||
        ]],
 | 
			
		||||
        "l_30_30_1984_ley" : ["plain", "Ley 30/1984{rand:|, de 2 de Agosto}"], 
 | 
			
		||||
        "l_30_30_1984_nombre" : ["plain", "Ley de Medidas para la Reforma de la Función Pública"], 
 | 
			
		||||
        "l_30_30_1984" : ["rand", [
 | 
			
		||||
            "{l_30_30_1984_nombre}", 
 | 
			
		||||
            "{l_30_30_1984_ley}{rand:|, por el que se aprueba el {l_30_30_1984_nombre}}"
 | 
			
		||||
        ]],
 | 
			
		||||
        "d_315_1964_ley" : ["plain", "Decreto 315/1964{rand:|, de 7 de Febrero}"], 
 | 
			
		||||
        "d_315_1964_nombre" : ["plain", "Ley articulada de Funcionarios Civiles del Estado"], 
 | 
			
		||||
        "d_315_1964" : ["rand", [
 | 
			
		||||
            "{d_315_1964_nombre}", 
 | 
			
		||||
            "{d_315_1964_ley}{rand:|, por el que se aprueba el {d_315_1964_nombre}}"
 | 
			
		||||
        ]],
 | 
			
		||||
        "TC" : ["rand", ["Tribunal Constitucional", "TC"]], 
 | 
			
		||||
        "rdl_2_2015_ley" : ["plain", "{RDL} 2/2015{rand:|, de 23 de Octubre}"], 
 | 
			
		||||
        "rdl_2_2015_nombre" : ["plain", "Texto Refundido de la Ley del Estatuto de los Trabajadores"], 
 | 
			
		||||
        "rdl_2_2015" : ["rand", [
 | 
			
		||||
            "{rdl_2_2015_nombre}", 
 | 
			
		||||
            "{rdl_2_2015_ley}{rand:|, por el que se aprueba el {rdl_2_2015_nombre}}", 
 | 
			
		||||
            "Ley del Estatuto de los Trabajadores"
 | 
			
		||||
        ]], 
 | 
			
		||||
        "lo_2_1986_ley" : ["plain", "{LO} 2/1986{rand:|, de 13 de marzo}"],
 | 
			
		||||
        "lo_2_1986_nombre" : ["plain", "Ley de Fuerzas y Cuerpos de Seguridad"],
 | 
			
		||||
        "lo_2_1986" : ["plain", "{lo_2_1986_ley}{rand:|, {lo_2_1986_nombre}}"],
 | 
			
		||||
        "l_53_1984_ley" : ["plain", "Ley 53/1984{rand:|, de 26 de Diciembre}"],
 | 
			
		||||
        "l_53_1984_nombre" : ["plain", "Ley de Incompatibilidades del Personal al servicio de las Administraciones Públicas"],
 | 
			
		||||
        "l_53_1984" : ["plain", "{l_53_1984_ley}{rand:|, {l_53_1984_nombre}}"],
 | 
			
		||||
        "l_30_1984_ley" : ["plain", "Ley 30/1984{rand:|, de 2 de Agosto}"],
 | 
			
		||||
        "l_30_1984_nombre" : ["plain", "Ley de Medidas para la Reforma de la Función Pública"],
 | 
			
		||||
        "l_30_1984" : ["plain", "{l_30_1984_ley}{rand:|, {l_30_1984_nombre}}"],
 | 
			
		||||
        "trebep_anos" : ["rand", ["2007", "2015", "1995", "1984", "1964", "1918"]],
 | 
			
		||||
        "trebep_meses" : ["rand", ["Febrero", "Marzo", "Agosto", "Octubre", "Noviembre", "Diciembre", "Julio"]], 
 | 
			
		||||
        "trebep_dias" : ["rand", ["1", "2", "10", "7", "23", "30", "31", "24"]]
 | 
			
		||||
    },
 | 
			
		||||
    "queries" : [{
 | 
			
		||||
        "question" : "¿Qué es el {trebep_ley}?",
 | 
			
		||||
        "rights" : ["{trebep_nombre}."],
 | 
			
		||||
							
								
								
									
										6
									
								
								Public/json/paco/trebep/paco.trebep.02.ii-ci.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								Public/json/paco/trebep/paco.trebep.02.ii-ci.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,6 @@
 | 
			
		||||
[{
 | 
			
		||||
    "origin" : "Paco Barbié", 
 | 
			
		||||
    "title" : "TREBEP - Título II Capítulo I", 
 | 
			
		||||
    "source" : "https://www.youtube.com/watch?v=jll91s6qz6c", 
 | 
			
		||||
    "queries" : [{}]
 | 
			
		||||
}]
 | 
			
		||||
@ -1,63 +0,0 @@
 | 
			
		||||
#!/usr/bin/env python3
 | 
			
		||||
# -*- coding: utf-8 -*-
 | 
			
		||||
"""
 | 
			
		||||
Convierte el TTML/XML (archivo .srt en este repositorio) a texto plano
 | 
			
		||||
agruparndo cada <p> como un párrafo y juntando los <s> en una sola línea.
 | 
			
		||||
Guarda el resultado en el mismo directorio con extensión .txt
 | 
			
		||||
"""
 | 
			
		||||
import sys
 | 
			
		||||
from pathlib import Path
 | 
			
		||||
import re
 | 
			
		||||
from xml.etree import ElementTree as ET
 | 
			
		||||
 | 
			
		||||
in_path = Path('/media/kyman/SSD2TB/git.copilot/OpoTests/Public/data/srt/Real Decreto Legislativo 5⁄2015, TREBEP - Art 1 a 7 - 1a parte. (1080p_30fps_H264-128kbit_AAC).español.srt')
 | 
			
		||||
if not in_path.exists():
 | 
			
		||||
    print('ERROR: input file not found:', in_path)
 | 
			
		||||
    sys.exit(2)
 | 
			
		||||
 | 
			
		||||
out_path = in_path.with_suffix('.txt')
 | 
			
		||||
 | 
			
		||||
try:
 | 
			
		||||
    tree = ET.parse(in_path)
 | 
			
		||||
    root = tree.getroot()
 | 
			
		||||
except Exception as e:
 | 
			
		||||
    # try to recover by reading text and parsing from <body>
 | 
			
		||||
    txt = in_path.read_text(encoding='utf-8')
 | 
			
		||||
    idx = txt.find('<body>')
 | 
			
		||||
    if idx != -1:
 | 
			
		||||
        txt = txt[idx:]
 | 
			
		||||
        root = ET.fromstring('<root>' + txt + '</root>')
 | 
			
		||||
    else:
 | 
			
		||||
        raise
 | 
			
		||||
 | 
			
		||||
paragraphs = []
 | 
			
		||||
for p in root.findall('.//p'):
 | 
			
		||||
    parts = []
 | 
			
		||||
    for s in p.findall('.//s'):
 | 
			
		||||
        t = s.text or ''
 | 
			
		||||
        t = t.strip()
 | 
			
		||||
        if t:
 | 
			
		||||
            parts.append(t)
 | 
			
		||||
    if not parts:
 | 
			
		||||
        # fallback to any text content
 | 
			
		||||
        text = ''.join(p.itertext()).strip()
 | 
			
		||||
        if text:
 | 
			
		||||
            parts = [text]
 | 
			
		||||
    para = ' '.join(parts)
 | 
			
		||||
    # normalize whitespace
 | 
			
		||||
    para = re.sub(r"\s+", ' ', para).strip()
 | 
			
		||||
    if para:
 | 
			
		||||
        paragraphs.append(para)
 | 
			
		||||
 | 
			
		||||
full_text = '\n\n'.join(paragraphs)
 | 
			
		||||
full_text = re.sub(r'<[^>]+>', '', full_text)
 | 
			
		||||
 | 
			
		||||
out_path.write_text(full_text, encoding='utf-8')
 | 
			
		||||
print(f'WROTE: {out_path}')
 | 
			
		||||
print(f'PARAGRAPHS: {len(paragraphs)}')
 | 
			
		||||
# print a short preview to confirm
 | 
			
		||||
preview = full_text[:4000]
 | 
			
		||||
print('\n---PREVIEW---\n')
 | 
			
		||||
print(preview)
 | 
			
		||||
print('\n---END PREVIEW---\n')
 | 
			
		||||
print('Done')
 | 
			
		||||
							
								
								
									
										7
									
								
								Tools/rename.order.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								Tools/rename.order.sh
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
for j in $(seq 1 40);do 
 | 
			
		||||
    IFS=$'\n';
 | 
			
		||||
    for file in $(ls|grep " ${j}a");do 
 | 
			
		||||
        mv $file "$(echo 0$j|sed -E 's/^.*(.{2})$/\1/').- $file";
 | 
			
		||||
    done;
 | 
			
		||||
done;
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user