diff --git a/D4S_UCDs/DEV/devVRE/Concessioni.json b/D4S_UCDs/DEV/devVRE/Concessioni.json index a92e27e..53d8ede 100644 --- a/D4S_UCDs/DEV/devVRE/Concessioni.json +++ b/D4S_UCDs/DEV/devVRE/Concessioni.json @@ -310,7 +310,12 @@ { "name": "cronologia_macrofase", "path": "$._theDocument.cronologiaMacrofase", - "type": "TEXT" + "type": "TEXT", + "apply_regex": { + "type": "replaceAll", + "regex": "(\\s)?\\([\\s\\S]*", + "replacement": "" + } }, { "name": "specifiche_cronologia", diff --git a/test-data/profiledDocuments/profiles/Concessioni.json b/test-data/profiledDocuments/profiles/Concessioni.json index 387829e..53d8ede 100644 --- a/test-data/profiledDocuments/profiles/Concessioni.json +++ b/test-data/profiledDocuments/profiles/Concessioni.json @@ -91,7 +91,7 @@ ] } }, - "_description": "Embedded profile for concessioni management", + "_description": "Embedded profile for concessioni [mibac] management", "_creationInfo": { "_user": { "_username": "francesco.mangiacrapa" @@ -212,21 +212,11 @@ "path": "$._theDocument.descrizioneContenuto", "type": "TEXT" }, - { - "name": "autore", - "path": "$._theDocument.authors", - "type": "TEXT" - }, { "name": "contributore", "path": "$._theDocument.contributore", "type": "TEXT" }, - { - "name": "titolare", - "path": "$._theDocument.titolari", - "type": "TEXT" - }, { "name": "responsabile", "path": "$._theDocument.responsabile", @@ -237,6 +227,16 @@ "path": "$._theDocument.editore", "type": "TEXT" }, + { + "name": "ufficio_MiC_competente", + "path": "$._theDocument.ufficioMic", + "type": "TEXT" + }, + { + "name": "funzionario_responsabile", + "path": "$._theDocument.funzionarioResponsabile", + "type": "TEXT" + }, { "name": "finanziamento", "path": "$._theDocument.fontiFinanziamento", @@ -272,11 +272,6 @@ "path": "$._info._access._license", "type": "TEXT" }, - { - "name": "titolare_licenza", - "path": "$._theDocument.titolareLicenza", - "type": "TEXT" - }, { "name": "accesso", "path": "$._info._access._license", @@ -287,16 +282,56 @@ "path": "$._theDocument.paroleChiaveLibere", "type": "TEXT" }, - { - "name": "cronologia_macrofase", - "path": "$._theDocument.cronologia_macrofase", - "type": "TEXT", - "apply_regex": { + { + "name": "modalita_individuazione", + "path": "$._theDocument.modalitaIndividuazione", + "type": "TEXT" + }, + { + "name": "contesto_indagine", + "path": "$._theDocument.contestoIndagine", + "type": "TEXT" + }, + { + "name": "denominazione", + "path": "$._theDocument.denominazione", + "type": "TEXT" + }, + { + "name": "stato_attuale", + "path": "$._theDocument.statoAttuale", + "type": "TEXT" + }, + { + "name": "accessibilita", + "path": "$._theDocument.accessibilita", + "type": "TEXT" + }, + { + "name": "cronologia_macrofase", + "path": "$._theDocument.cronologiaMacrofase", + "type": "TEXT", + "apply_regex": { "type": "replaceAll", "regex": "(\\s)?\\([\\s\\S]*", "replacement": "" } - } + }, + { + "name": "specifiche_cronologia", + "path": "$._theDocument.specificheCronologia", + "type": "TEXT" + }, + { + "name": "quota_max", + "path": "$._theDocument.quotaMax", + "type": "TEXT" + }, + { + "name": "quota_min", + "path": "$._theDocument.quotaMax", + "type": "TEXT" + } ], "jslt": {}, "additionalLayers": [ @@ -409,14 +444,13 @@ "_configuration": { "itemFields": [ { - "label": "Descriptive Fields", + "label": "Any Field", "paths": [ "_theDocument.nome", "_theDocument.introduzione", "_theDocument.authors", "_theDocument.contributore", "_theDocument.titolari", - "_theDocument.dataInizioProgetto", "_theDocument.editore", "_theDocument.responsabile", "_theDocument.paroleChiaveLibere",