From e059e9cfa710efe8a4ac929177962b2161bfadca Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Thu, 23 Feb 2023 16:03:26 +0100 Subject: [PATCH] Organized the UCDs per INFRA/{VRE} --- D4S_UCDs/DEV/devVRE/Concessioni.json | 651 +++++++++++++++++++ D4S_UCDs/DEV/devVRE/Concessioni_estere.json | 651 +++++++++++++++++++ D4S_UCDs/DEV/devVRE/Esquilino.json | 481 ++++++++++++++ D4S_UCDs/PRE/preVRE/Concessioni.json | 651 +++++++++++++++++++ D4S_UCDs/PRE/preVRE/Concessioni_estere.json | 651 +++++++++++++++++++ D4S_UCDs/PRE/preVRE/Esquilino.json | 481 ++++++++++++++ D4S_UCDs/PROD/Esquiline/Esquilino.json | 459 ++++++++++++++ D4S_UCDs/PROD/GNA/Concessioni.json | 653 ++++++++++++++++++++ D4S_UCDs/PROD/GNA/Concessioni_estere.json | 653 ++++++++++++++++++++ 9 files changed, 5331 insertions(+) create mode 100644 D4S_UCDs/DEV/devVRE/Concessioni.json create mode 100644 D4S_UCDs/DEV/devVRE/Concessioni_estere.json create mode 100644 D4S_UCDs/DEV/devVRE/Esquilino.json create mode 100644 D4S_UCDs/PRE/preVRE/Concessioni.json create mode 100644 D4S_UCDs/PRE/preVRE/Concessioni_estere.json create mode 100644 D4S_UCDs/PRE/preVRE/Esquilino.json create mode 100644 D4S_UCDs/PROD/Esquiline/Esquilino.json create mode 100644 D4S_UCDs/PROD/GNA/Concessioni.json create mode 100644 D4S_UCDs/PROD/GNA/Concessioni_estere.json diff --git a/D4S_UCDs/DEV/devVRE/Concessioni.json b/D4S_UCDs/DEV/devVRE/Concessioni.json new file mode 100644 index 0000000..4c5a116 --- /dev/null +++ b/D4S_UCDs/DEV/devVRE/Concessioni.json @@ -0,0 +1,651 @@ +{ + "_id": "profiledConcessioni", + "_version": "1.0.0", + "_name": "Indagini svolte in regime di concessione", + "_schema": { + "abstractRelazione": { + "_min": 1, + "_children": [ + { + "filesetIta": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "filesetEng": { + "_type": "RegisteredFileSet" + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "relazioneScavo": { + "_max": 1, + "_min": 1, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "immaginiRappresentative": { + "_max": 4, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "posizionamentoScavo": { + "_max": 1, + "_min": 1, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "pianteFineScavo": { + "_max": -1, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + } + }, + "_description": "Embedded profile for concessioni [mibac] management", + "_creationInfo": { + "_user": { + "_username": "fabio.sinibaldi" + } + }, + "_dataAccessPolicies": [ + {"_policy": {"_read": "any","_write": "any"}, + "_roles": ["Data-Manager"]}, + {"_policy": {"_read": "own","_write": "own"}, + "_roles": ["Data-Editor"]}, + {"_policy": {"_read": "any","_write": "none"}, + "_roles": ["Member"], + "_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}}, + {"_policy": {"_read": "none","_write": "none"}, + "_roles": []} + ], + "_handlers": [ + { + "_id": "GNA-CONCESSIONI-LC", + "_type": "LifecycleManagement", + "_configuration": { + "step_access": [ + { + "STEP": "SUBMIT-FOR-REVIEW", + "roles": [] + }, + { + "STEP": "REJECT-DRAFT", + "roles": [ + "Data-Manager" + ] + }, + { + "STEP": "APPROVE-SUBMITTED", + "roles": [ + "Data-Manager" + ] + } + ] + } + }, + { + "_id": "SDI-Default-Materializer", + "_type": "Materializer", + "_configuration": { + "registeredFileSetPaths": [ + { + "schemaField": "pianteFineScavo", + "documentPath": "pianteFineScavo[*].fileset" + }, + { + "schemaField": "posizionamentoScavo", + "documentPath": "posizionamentoScavo.fileset" + } + ] + } + }, + { + "_id": "SDI-Indexer-Plugin", + "_type": "Indexer", + "_configuration": { + "bboxEvaluation": [ + "$..posizionamentoScavo.._bbox" + ], + "explicitFieldMapping": [ + { + "name": "nome", + "path": "$._theDocument.nome", + "type": "TEXT" + }, + { + "name": "anno", + "path": "$._theDocument.dataFineProgetto", + "type": "TEXT" + }, + { + "name": "descrizione", + "path": "$._theDocument.iontroduzione", + "type": "TEXT" + }, + { + "name": "contenuto", + "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", + "type": "TEXT" + }, + { + "name": "editore", + "path": "$._theDocument.editore", + "type": "TEXT" + }, + { + "name": "finanziamento", + "path": "$._theDocument.fontiFinanziamento", + "type": "TEXT" + }, + { + "name": "soggetto", + "path": "$._theDocument.soggetto", + "type": "TEXT" + }, + { + "name": "risorse", + "path": "$._theDocument.risorseCorrelate", + "type": "TEXT" + }, + { + "name": "date_scavo", + "path": "$._theDocument.dataFineProgetto", + "type": "TEXT" + }, + { + "name": "data_archiviazione", + "path": "$._info._lastEditInfo._instant", + "type": "TEXT" + }, + { + "name": "versione", + "path": "$._version", + "type": "TEXT" + }, + { + "name": "licenza", + "path": "$._info._access._license", + "type": "TEXT" + }, + { + "name": "titolare_licenza", + "path": "$._theDocument.titolareLicenza", + "type": "TEXT" + }, + { + "name": "accesso", + "path": "$._info._access._license", + "type": "TEXT" + }, + { + "name": "parole_chiave", + "path": "$._theDocument.paroleChiaveLibere", + "type": "TEXT" + } + ], + "jslt": {}, + "additionalLayers": [ + { + "source": { + "url": "..." + }, + "toSetTitle": "" + } + ] + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-data-entry-app", + "_type": "DATA_ENTRY_GUI", + "_configuration": { + "gcubeProfiles": [ + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Informazioni_di_progetto", + "sectionName": "$.", + "sectionTitle": "Informazioni di Progetto" + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Abstract_Relazione_di_Scavo", + "sectionName": "abstractRelazione", + "sectionTitle": "Abstract della Relazione Scientifica", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Carica Abstract Ita (in PDF)", + "fieldDefinition": "$.abstractRelazione._children[?(@.filesetIta)]", + "fieldName": "filesetIta" + }, + { + "gcubeProfileFieldName": "Carica Abstract Eng (in PDF)", + "fieldDefinition": "$.abstractRelazione._children[?(@.filesetEng)]", + "fieldName": "filesetEng" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Relazione_di_Scavo", + "sectionName": "relazioneScavo", + "sectionTitle": "Relazione Scientifica", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Relazione scientifica (in PDF)", + "fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Immagine_Rappresentativa_di_Scavo", + "sectionName": "immaginiRappresentative", + "sectionTitle": "Immagini Rappresentative", + "minOccurs": 1, + "maxOccurs": 4, + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Immagine", + "fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Posizionamento_dell_area_di_indagine", + "sectionName": "posizionamentoScavo", + "sectionTitle": "Posizionamento dell'Area di Indagine", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "File", + "fieldDefinition": "$.posizionamentoScavo._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Pianta_di_fine_Scavo", + "sectionName": "pianteFineScavo", + "sectionTitle": "Piante di Fine Indagine", + "parentName": "$.", + "minOccurs": 0, + "maxOccurs": 0, + "filePaths": [ + { + "gcubeProfileFieldName": "File", + "fieldDefinition": "$.pianteFineScavo._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + } + ], + "saveStep": "" + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-data-list", + "_type": "DATA_LIST_GUI", + "_configuration": { + "itemFields": [ + { + "label": "Any Field", + "paths": [ + "_theDocument.nome", + "_theDocument.introduzione", + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile", + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Name", + "paths": [ + "_theDocument.nome" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Introduction", + "paths": [ + "_theDocument.introduzione" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Author/s", + "paths": [ + "_theDocument.authors" + ], + "operator": "$and", + "searchable": false, + "sortable": true, + "asResult": true + }, + { + "label": "Project Start (yyyy-mm-dd)", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Keywords", + "paths": [ + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Creator", + "paths": [ + "_info._creationInfo._user._username" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Updated", + "paths": [ + "_info._lastEditInfo._instant" + ], + "operator": "$or", + "searchable": false, + "sortable": true, + "asResult": false + }, + { + "label": "Phase", + "paths": [ + "_lifecycleInformation._phase" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + }, + { + "label": "Status", + "paths": [ + "_lifecycleInformation._lastOperationStatus" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + } + ] + } +}, + { + "_id": "org.gcube.portlets.user.geoportal-basic-data-list", + "_type": "BASIC_DATA_LIST_GUI", + "_configuration": { + "itemFields": [ + { + "label": "Any Field", + "paths": [ + "_theDocument.nome", + "_theDocument.introduzione", + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile", + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Name", + "paths": [ + "_theDocument.nome" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Introduction", + "paths": [ + "_theDocument.introduzione" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Project Start", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": false, + "sortable": false, + "asResult": true + }, + { + "label": "Project Start (YEAR)", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Keywords", + "paths": [ + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + } + ] + } +} +, + { + "_id": "org.gcube.portlets.user.geoportal-timeline-json-template", + "_type": "TIMELINE_JSON_TEMPLATE", + "_configuration": { + "tjt_document": { + "content": "$.nome", + "title": "$.nome", + "start": "$.dataInizioProgetto", + "end": "$.dataFineProgetto" + } + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-workflow-action-list", + "_type": "WORKFLOW_ACTION_LIST_GUI", + "_configuration": { + "actionsDefinition": [ + { + "id": "post_creation_action", + "title": "Post Creation Action", + "call_STEPS": [], + "description": "Action fired after the Project creation", + "display_on_phase": [] + }, + { + "id": "submit_for_review", + "title": "Submit for Review", + "call_STEPS": [ + "SUBMIT-FOR-REVIEW" + ], + "description": "Submit the Project (for review)", + "display_on_phase": [ + "DRAFT" + ] + }, + { + "id": "reject", + "title": "Reject", + "call_STEPS": [ + "REJECT-DRAFT" + ], + "description": "Reject the Project", + "display_on_phase": [ + "Pending Approval" + ] + }, + { + "id": "approve", + "title": "Approve", + "call_STEPS": [ + "APPROVE-SUBMITTED" + ], + "description": "Approve the Project", + "display_on_phase": [ + "Pending Approval" + ] + } + ] + } + } + ], + "_relationshipDefinitions" : [ + {"_id": "precedes", "_label" : "Precede", + "_reverseRelationId" : "follows"}, + {"_id": "follows", "_label" : "Segue", + "_reverseRelationId" : "precedes"} + ] +} diff --git a/D4S_UCDs/DEV/devVRE/Concessioni_estere.json b/D4S_UCDs/DEV/devVRE/Concessioni_estere.json new file mode 100644 index 0000000..e5d7a17 --- /dev/null +++ b/D4S_UCDs/DEV/devVRE/Concessioni_estere.json @@ -0,0 +1,651 @@ +{ + "_id": "concessioni-estere", + "_version": "1.0.0", + "_name": "Missioni archeologiche italiane all'estero", + "_schema": { + "abstractRelazione": { + "_min": 1, + "_children": [ + { + "filesetIta": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "filesetEng": { + "_type": "RegisteredFileSet" + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "relazioneScavo": { + "_max": 1, + "_min": 1, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "immaginiRappresentative": { + "_max": 4, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "posizionamentoScavo": { + "_max": 1, + "_min": 1, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "pianteFineScavo": { + "_max": -1, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + } + }, + "_description": "Embedded profile for concessioni estere [mibac] management", + "_creationInfo": { + "_user": { + "_username": "fabio.sinibaldi" + } + }, + "_dataAccessPolicies": [ + {"_policy": {"_read": "any","_write": "any"}, + "_roles": ["Data-Manager"]}, + {"_policy": {"_read": "own","_write": "own"}, + "_roles": ["Data-Editor"]}, + {"_policy": {"_read": "any","_write": "none"}, + "_roles": ["Member"], + "_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}}, + {"_policy": {"_read": "none","_write": "none"}, + "_roles": []} + ], + "_handlers": [ + { + "_id": "GNA-CONCESSIONI-LC", + "_type": "LifecycleManagement", + "_configuration": { + "step_access": [ + { + "STEP": "SUBMIT-FOR-REVIEW", + "roles": [] + }, + { + "STEP": "REJECT-DRAFT", + "roles": [ + "Data-Manager" + ] + }, + { + "STEP": "APPROVE-SUBMITTED", + "roles": [ + "Data-Manager" + ] + } + ] + } + }, + { + "_id": "SDI-Default-Materializer", + "_type": "Materializer", + "_configuration": { + "registeredFileSetPaths": [ + { + "schemaField": "pianteFineScavo", + "documentPath": "pianteFineScavo[*].fileset" + }, + { + "schemaField": "posizionamentoScavo", + "documentPath": "posizionamentoScavo.fileset" + } + ] + } + }, + { + "_id": "SDI-Indexer-Plugin", + "_type": "Indexer", + "_configuration": { + "bboxEvaluation": [ + "$..posizionamentoScavo.._bbox" + ], + "explicitFieldMapping": [ + { + "name": "nome", + "path": "$._theDocument.nome", + "type": "TEXT" + }, + { + "name": "anno", + "path": "$._theDocument.dataFineProgetto", + "type": "TEXT" + }, + { + "name": "descrizione", + "path": "$._theDocument.iontroduzione", + "type": "TEXT" + }, + { + "name": "contenuto", + "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", + "type": "TEXT" + }, + { + "name": "editore", + "path": "$._theDocument.editore", + "type": "TEXT" + }, + { + "name": "finanziamento", + "path": "$._theDocument.fontiFinanziamento", + "type": "TEXT" + }, + { + "name": "soggetto", + "path": "$._theDocument.soggetto", + "type": "TEXT" + }, + { + "name": "risorse", + "path": "$._theDocument.risorseCorrelate", + "type": "TEXT" + }, + { + "name": "date_scavo", + "path": "$._theDocument.dataFineProgetto", + "type": "TEXT" + }, + { + "name": "data_archiviazione", + "path": "$._info._lastEditInfo._instant", + "type": "TEXT" + }, + { + "name": "versione", + "path": "$._version", + "type": "TEXT" + }, + { + "name": "licenza", + "path": "$._info._access._license", + "type": "TEXT" + }, + { + "name": "titolare_licenza", + "path": "$._theDocument.titolareLicenza", + "type": "TEXT" + }, + { + "name": "accesso", + "path": "$._info._access._license", + "type": "TEXT" + }, + { + "name": "parole_chiave", + "path": "$._theDocument.paroleChiaveLibere", + "type": "TEXT" + } + ], + "jslt": {}, + "additionalLayers": [ + { + "source": { + "url": "..." + }, + "toSetTitle": "" + } + ] + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-data-entry-app", + "_type": "DATA_ENTRY_GUI", + "_configuration": { + "gcubeProfiles": [ + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Informazioni_di_progetto", + "sectionName": "$.", + "sectionTitle": "Informazioni di Progetto" + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Abstract_Relazione_di_Scavo", + "sectionName": "abstractRelazione", + "sectionTitle": "Abstract della Relazione Scientifica", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Carica Abstract Ita (in PDF)", + "fieldDefinition": "$.abstractRelazione._children[?(@.filesetIta)]", + "fieldName": "filesetIta" + }, + { + "gcubeProfileFieldName": "Carica Abstract Eng (in PDF)", + "fieldDefinition": "$.abstractRelazione._children[?(@.filesetEng)]", + "fieldName": "filesetEng" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Relazione_di_Scavo", + "sectionName": "relazioneScavo", + "sectionTitle": "Relazione Scientifica", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Relazione scientifica (in PDF)", + "fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Immagine_Rappresentativa_di_Scavo", + "sectionName": "immaginiRappresentative", + "sectionTitle": "Immagini Rappresentative", + "minOccurs": 1, + "maxOccurs": 4, + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Immagine", + "fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Posizionamento_dell_area_di_indagine", + "sectionName": "posizionamentoScavo", + "sectionTitle": "Posizionamento dell'Area di Indagine", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "File", + "fieldDefinition": "$.posizionamentoScavo._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Pianta_di_fine_Scavo", + "sectionName": "pianteFineScavo", + "sectionTitle": "Piante di Fine Indagine", + "parentName": "$.", + "minOccurs": 0, + "maxOccurs": 0, + "filePaths": [ + { + "gcubeProfileFieldName": "File", + "fieldDefinition": "$.pianteFineScavo._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + } + ], + "saveStep": "" + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-data-list", + "_type": "DATA_LIST_GUI", + "_configuration": { + "itemFields": [ + { + "label": "Any Field", + "paths": [ + "_theDocument.nome", + "_theDocument.introduzione", + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile", + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Name", + "paths": [ + "_theDocument.nome" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Introduction", + "paths": [ + "_theDocument.introduzione" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Author/s", + "paths": [ + "_theDocument.authors" + ], + "operator": "$and", + "searchable": false, + "sortable": true, + "asResult": true + }, + { + "label": "Project Start (yyyy-mm-dd)", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Keywords", + "paths": [ + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Creator", + "paths": [ + "_info._creationInfo._user._username" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Updated", + "paths": [ + "_info._lastEditInfo._instant" + ], + "operator": "$or", + "searchable": false, + "sortable": true, + "asResult": false + }, + { + "label": "Phase", + "paths": [ + "_lifecycleInformation._phase" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + }, + { + "label": "Status", + "paths": [ + "_lifecycleInformation._lastOperationStatus" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + } + ] + } +}, + { + "_id": "org.gcube.portlets.user.geoportal-basic-data-list", + "_type": "BASIC_DATA_LIST_GUI", + "_configuration": { + "itemFields": [ + { + "label": "Any Field", + "paths": [ + "_theDocument.nome", + "_theDocument.introduzione", + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile", + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Name", + "paths": [ + "_theDocument.nome" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Introduction", + "paths": [ + "_theDocument.introduzione" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Project Start", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": false, + "sortable": false, + "asResult": true + }, + { + "label": "Project Start (YEAR)", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Keywords", + "paths": [ + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + } + ] + } +} +, + { + "_id": "org.gcube.portlets.user.geoportal-timeline-json-template", + "_type": "TIMELINE_JSON_TEMPLATE", + "_configuration": { + "tjt_document": { + "content": "$.nome", + "title": "$.nome", + "start": "$.dataInizioProgetto", + "end": "$.dataFineProgetto" + } + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-workflow-action-list", + "_type": "WORKFLOW_ACTION_LIST_GUI", + "_configuration": { + "actionsDefinition": [ + { + "id": "post_creation_action", + "title": "Post Creation Action", + "call_STEPS": [], + "description": "Action fired after the Project creation", + "display_on_phase": [] + }, + { + "id": "submit_for_review", + "title": "Submit for Review", + "call_STEPS": [ + "SUBMIT-FOR-REVIEW" + ], + "description": "Submit the Project (for review)", + "display_on_phase": [ + "DRAFT" + ] + }, + { + "id": "reject", + "title": "Reject", + "call_STEPS": [ + "REJECT-DRAFT" + ], + "description": "Reject the Project", + "display_on_phase": [ + "Pending Approval" + ] + }, + { + "id": "approve", + "title": "Approve", + "call_STEPS": [ + "APPROVE-SUBMITTED" + ], + "description": "Approve the Project", + "display_on_phase": [ + "Pending Approval" + ] + } + ] + } + } + ], + "_relationshipDefinitions" : [ + {"_id": "precedes", "_label" : "Precede", + "_reverseRelationId" : "follows"}, + {"_id": "follows", "_label" : "Segue", + "_reverseRelationId" : "precedes"} + ] +} diff --git a/D4S_UCDs/DEV/devVRE/Esquilino.json b/D4S_UCDs/DEV/devVRE/Esquilino.json new file mode 100644 index 0000000..43dae3e --- /dev/null +++ b/D4S_UCDs/DEV/devVRE/Esquilino.json @@ -0,0 +1,481 @@ +{ + "_id": "esquilino", + "_version": "1.0.0", + "_name": "Esquilino", + "_schema": { + "fonteInformazione" :{ + "_children": [ + {"filesetIta": {"_type": "RegisteredFileSet"}} + ] + }, + "documentazioneScientifica" :{ + "_children": [ + {"fileset": {"_type": "RegisteredFileSet"}} + ] + }, + "immaginiRappresentative" :{ + "_children": [ + {"fileset": {"_type": "RegisteredFileSet"}} + ] + }, + "datiAltimetrici" :{ + "_children": [ + {"fileset": {"_type": "RegisteredFileSet"}} + ] + }, + "planimetria" :{ + "_children": [ + {"fileset": {"_type": "RegisteredFileSet"}} + ] + } + }, + "_description": "UCD for Equilino", + "_creationInfo": { + "_user": { + "_username": "fabio.sinibaldi" + } + }, + "_dataAccessPolicies": [ + {"_policy": {"_read": "any","_write": "any"}, + "_roles": ["Data-Manager"]}, + {"_policy": {"_read": "own","_write": "own"}, + "_roles": ["Data-Editor"]}, + {"_policy": {"_read": "any","_write": "none"}, + "_roles": ["Member"], + "_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"PUBLISHED\"}}"}}, + {"_policy": {"_read": "none","_write": "none"}, + "_roles": []} + ], + "_handlers": [ + { + "_id": "DEFAULT-SINGLE-STEP", + "_type": "LifecycleManagement", + "_configuration": { + "step_access": [ + { + "STEP": "PUBLISH", + "roles": ["Data-Manager","Data-Editor"] + } + ] + } + }, + { + "_id": "SDI-Default-Materializer", + "_type": "Materializer", + "_configuration": { + "registeredFileSetPaths": [ + { + "schemaField": "datiAltimetrici", + "documentPath": "datiAltimetrici[*].fileset" + }, + { + "schemaField": "planimetria", + "documentPath": "planimetria.fileset" + } + ] + } + }, + { + "_id": "SDI-Indexer-Plugin", + "_type": "Indexer", + "_configuration": { + "bboxEvaluation": [ + "$..planimetria.._bbox" + ], + "explicitFieldMapping": [ + { + "name": "definizione", + "path": "$._theDocument.definizione", + "type": "TEXT" + }, + { + "name": "denominazione", + "path": "$._theDocument.denominazione", + "type": "TEXT" + }, + { + "name": "descrizione", + "path": "$._theDocument.descrizione", + "type": "TEXT" + }, + { + "name": "cronologia", + "path": "$._theDocument.cronologia", + "type": "TEXT" + }, + { + "name": "codice_partizione_archeologica", + "path": "$._theDocument.codice_partizione_archeologica", + "type": "TEXT" + }, + { + "name": "modalita_acquisizione", + "path": "$._theDocument.modalita_acquisizione", + "type": "TEXT" + }, + { + "name": "contributore", + "path": "$._theDocument.contributore", + "type": "TEXT" + }, + { + "name": "titolare_dati", + "path": "$._theDocument.titolare_dati", + "type": "TEXT" + }, + { + "name": "soggetto", + "path": "$._theDocument.soggetto", + "type": "TEXT" + }, + { + "name": "copyright", + "path": "$._theDocument.copyright", + "type": "TEXT" + } + ], + "jslt": {}, + "additionalLayers": [ + { + "source": { + "url": "..." + }, + "toSetTitle": "" + } + ] + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-data-entry-app", + "_type": "DATA_ENTRY_GUI", + "_configuration": { + "gcubeProfiles": [ + { + "gcubeSecondaryType": "GeoportalMetadata", + "gcubeName": "Esquilino_Dati_Descrittivi", + "sectionName": "$.", + "sectionTitle": "Dati Descrittivi" + }, + { + "gcubeSecondaryType": "GeoportalMetadata", + "gcubeName": "Esquilino_Fonte_Informazione", + "sectionName": "fonteInformazione", + "sectionTitle": "Fonte dell'informazione", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Carica Abstract Ita (in PDF)", + "fieldDefinition": "$.fonteInformazione._children[?(@.filesetIta)]", + "fieldName": "filesetIta" + } + ] + }, + { + "gcubeSecondaryType": "GeoportalMetadata", + "gcubeName": "Esquilino_Documentazione_Scientifica", + "sectionName": "documentazioneScientifica", + "sectionTitle": "Documentazione scientifica", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Documentazione scientifica (in PDF)", + "fieldDefinition": "$.documentazioneScientifica._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoportalMetadata", + "gcubeName": "Esquilino_Immagine", + "sectionName": "immaginiRappresentative", + "sectionTitle": "Immagini Rappresentative", + "minOccurs": 1, + "maxOccurs": 10, + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Immagine", + "fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoportalMetadata", + "gcubeName": "Esquilino_Dati_Altimetrici", + "sectionName": "datiAltimetrici", + "sectionTitle": "Dati Altimetrici", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "File", + "fieldDefinition": "$.datiAltimetrici._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoportalMetadata", + "gcubeName": "Esquilino_Planimetria", + "sectionName": "planimetria", + "sectionTitle": "Planimetria", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "File", + "fieldDefinition": "$.planimetria._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + } + ], + "saveStep": "" + } +}, + { + "_id": "org.gcube.portlets.user.geoportal-data-list", + "_type": "DATA_LIST_GUI", + "_configuration": { + "itemFields": [ + { + "label": "Any Field", + "paths": [ + "_theDocument.definizione", + "_theDocument.denominazione", + "_theDocument.descrizione", + "_theDocument.cronologia", + "_theDocument.codice_partizione_archeologica", + "_theDocument.modalita_acquisizione", + "_theDocument.contributore", + "_theDocument.titolare_dati", + "_theDocument.soggetto", + "_theDocument.copyright" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Definition", + "paths": [ + "_theDocument.definizione" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Name", + "paths": [ + "_theDocument.denominazione" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Code", + "paths": [ + "_theDocument.codice_partizione_archeologica" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.contributore", + "_theDocument.titolare_dati" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Chronology", + "paths": [ + "_theDocument.cronologia" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Creator", + "paths": [ + "_info._creationInfo._user._username" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Updated", + "paths": [ + "_info._lastEditInfo._instant" + ], + "operator": "$or", + "searchable": false, + "sortable": true, + "asResult": false + }, + { + "label": "Phase", + "paths": [ + "_lifecycleInformation._phase" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + }, + { + "label": "Status", + "paths": [ + "_lifecycleInformation._lastOperationStatus" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + } + ] + } +}, + { + "_id": "org.gcube.portlets.user.geoportal-data-list", + "_type": "BASIC_DATA_LIST_GUI", + "_configuration": { + "itemFields": [ + { + "label": "Any Field", + "paths": [ + "_theDocument.definizione", + "_theDocument.denominazione", + "_theDocument.descrizione", + "_theDocument.cronologia", + "_theDocument.codice_partizione_archeologica", + "_theDocument.modalita_acquisizione", + "_theDocument.contributore", + "_theDocument.titolare_dati", + "_theDocument.soggetto", + "_theDocument.copyright" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Definition", + "paths": [ + "_theDocument.definizione" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Name", + "paths": [ + "_theDocument.denominazione" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Code", + "paths": [ + "_theDocument.codice_partizione_archeologica" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.contributore", + "_theDocument.titolare_dati" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Chronology", + "paths": [ + "_theDocument.cronologia" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + } + ] + } +} +, + { + "_id": "org.gcube.portlets.user.geoportal-workflow-action-list", + "_type": "WORKFLOW_ACTION_LIST_GUI", + "_configuration": { + "actionsDefinition": [ + { + "id": "post_creation_action", + "title": "Post Creation Action", + "call_STEPS": ["PUBLISH"], + "description": "Action fired after the Project creation", + "display_on_phase": [] + }, + { + "id": "submit_for_review", + "title": "Submit for Review", + "call_STEPS": [ + "SUBMIT-FOR-REVIEW" + ], + "description": "Submit the Project (for review)", + "display_on_phase": [ + "DRAFT" + ] + }, + { + "id": "reject", + "title": "Reject", + "call_STEPS": [ + "REJECT-DRAFT" + ], + "description": "Reject the Project", + "display_on_phase": [ + "Pending Approval" + ] + }, + { + "id": "approve", + "title": "Approve", + "call_STEPS": [ + "APPROVE-SUBMITTED" + ], + "description": "Approve the Project", + "display_on_phase": [ + "Pending Approval" + ] + } + ] + } +} +] +} diff --git a/D4S_UCDs/PRE/preVRE/Concessioni.json b/D4S_UCDs/PRE/preVRE/Concessioni.json new file mode 100644 index 0000000..4c5a116 --- /dev/null +++ b/D4S_UCDs/PRE/preVRE/Concessioni.json @@ -0,0 +1,651 @@ +{ + "_id": "profiledConcessioni", + "_version": "1.0.0", + "_name": "Indagini svolte in regime di concessione", + "_schema": { + "abstractRelazione": { + "_min": 1, + "_children": [ + { + "filesetIta": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "filesetEng": { + "_type": "RegisteredFileSet" + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "relazioneScavo": { + "_max": 1, + "_min": 1, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "immaginiRappresentative": { + "_max": 4, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "posizionamentoScavo": { + "_max": 1, + "_min": 1, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "pianteFineScavo": { + "_max": -1, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + } + }, + "_description": "Embedded profile for concessioni [mibac] management", + "_creationInfo": { + "_user": { + "_username": "fabio.sinibaldi" + } + }, + "_dataAccessPolicies": [ + {"_policy": {"_read": "any","_write": "any"}, + "_roles": ["Data-Manager"]}, + {"_policy": {"_read": "own","_write": "own"}, + "_roles": ["Data-Editor"]}, + {"_policy": {"_read": "any","_write": "none"}, + "_roles": ["Member"], + "_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}}, + {"_policy": {"_read": "none","_write": "none"}, + "_roles": []} + ], + "_handlers": [ + { + "_id": "GNA-CONCESSIONI-LC", + "_type": "LifecycleManagement", + "_configuration": { + "step_access": [ + { + "STEP": "SUBMIT-FOR-REVIEW", + "roles": [] + }, + { + "STEP": "REJECT-DRAFT", + "roles": [ + "Data-Manager" + ] + }, + { + "STEP": "APPROVE-SUBMITTED", + "roles": [ + "Data-Manager" + ] + } + ] + } + }, + { + "_id": "SDI-Default-Materializer", + "_type": "Materializer", + "_configuration": { + "registeredFileSetPaths": [ + { + "schemaField": "pianteFineScavo", + "documentPath": "pianteFineScavo[*].fileset" + }, + { + "schemaField": "posizionamentoScavo", + "documentPath": "posizionamentoScavo.fileset" + } + ] + } + }, + { + "_id": "SDI-Indexer-Plugin", + "_type": "Indexer", + "_configuration": { + "bboxEvaluation": [ + "$..posizionamentoScavo.._bbox" + ], + "explicitFieldMapping": [ + { + "name": "nome", + "path": "$._theDocument.nome", + "type": "TEXT" + }, + { + "name": "anno", + "path": "$._theDocument.dataFineProgetto", + "type": "TEXT" + }, + { + "name": "descrizione", + "path": "$._theDocument.iontroduzione", + "type": "TEXT" + }, + { + "name": "contenuto", + "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", + "type": "TEXT" + }, + { + "name": "editore", + "path": "$._theDocument.editore", + "type": "TEXT" + }, + { + "name": "finanziamento", + "path": "$._theDocument.fontiFinanziamento", + "type": "TEXT" + }, + { + "name": "soggetto", + "path": "$._theDocument.soggetto", + "type": "TEXT" + }, + { + "name": "risorse", + "path": "$._theDocument.risorseCorrelate", + "type": "TEXT" + }, + { + "name": "date_scavo", + "path": "$._theDocument.dataFineProgetto", + "type": "TEXT" + }, + { + "name": "data_archiviazione", + "path": "$._info._lastEditInfo._instant", + "type": "TEXT" + }, + { + "name": "versione", + "path": "$._version", + "type": "TEXT" + }, + { + "name": "licenza", + "path": "$._info._access._license", + "type": "TEXT" + }, + { + "name": "titolare_licenza", + "path": "$._theDocument.titolareLicenza", + "type": "TEXT" + }, + { + "name": "accesso", + "path": "$._info._access._license", + "type": "TEXT" + }, + { + "name": "parole_chiave", + "path": "$._theDocument.paroleChiaveLibere", + "type": "TEXT" + } + ], + "jslt": {}, + "additionalLayers": [ + { + "source": { + "url": "..." + }, + "toSetTitle": "" + } + ] + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-data-entry-app", + "_type": "DATA_ENTRY_GUI", + "_configuration": { + "gcubeProfiles": [ + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Informazioni_di_progetto", + "sectionName": "$.", + "sectionTitle": "Informazioni di Progetto" + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Abstract_Relazione_di_Scavo", + "sectionName": "abstractRelazione", + "sectionTitle": "Abstract della Relazione Scientifica", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Carica Abstract Ita (in PDF)", + "fieldDefinition": "$.abstractRelazione._children[?(@.filesetIta)]", + "fieldName": "filesetIta" + }, + { + "gcubeProfileFieldName": "Carica Abstract Eng (in PDF)", + "fieldDefinition": "$.abstractRelazione._children[?(@.filesetEng)]", + "fieldName": "filesetEng" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Relazione_di_Scavo", + "sectionName": "relazioneScavo", + "sectionTitle": "Relazione Scientifica", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Relazione scientifica (in PDF)", + "fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Immagine_Rappresentativa_di_Scavo", + "sectionName": "immaginiRappresentative", + "sectionTitle": "Immagini Rappresentative", + "minOccurs": 1, + "maxOccurs": 4, + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Immagine", + "fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Posizionamento_dell_area_di_indagine", + "sectionName": "posizionamentoScavo", + "sectionTitle": "Posizionamento dell'Area di Indagine", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "File", + "fieldDefinition": "$.posizionamentoScavo._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Pianta_di_fine_Scavo", + "sectionName": "pianteFineScavo", + "sectionTitle": "Piante di Fine Indagine", + "parentName": "$.", + "minOccurs": 0, + "maxOccurs": 0, + "filePaths": [ + { + "gcubeProfileFieldName": "File", + "fieldDefinition": "$.pianteFineScavo._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + } + ], + "saveStep": "" + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-data-list", + "_type": "DATA_LIST_GUI", + "_configuration": { + "itemFields": [ + { + "label": "Any Field", + "paths": [ + "_theDocument.nome", + "_theDocument.introduzione", + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile", + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Name", + "paths": [ + "_theDocument.nome" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Introduction", + "paths": [ + "_theDocument.introduzione" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Author/s", + "paths": [ + "_theDocument.authors" + ], + "operator": "$and", + "searchable": false, + "sortable": true, + "asResult": true + }, + { + "label": "Project Start (yyyy-mm-dd)", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Keywords", + "paths": [ + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Creator", + "paths": [ + "_info._creationInfo._user._username" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Updated", + "paths": [ + "_info._lastEditInfo._instant" + ], + "operator": "$or", + "searchable": false, + "sortable": true, + "asResult": false + }, + { + "label": "Phase", + "paths": [ + "_lifecycleInformation._phase" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + }, + { + "label": "Status", + "paths": [ + "_lifecycleInformation._lastOperationStatus" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + } + ] + } +}, + { + "_id": "org.gcube.portlets.user.geoportal-basic-data-list", + "_type": "BASIC_DATA_LIST_GUI", + "_configuration": { + "itemFields": [ + { + "label": "Any Field", + "paths": [ + "_theDocument.nome", + "_theDocument.introduzione", + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile", + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Name", + "paths": [ + "_theDocument.nome" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Introduction", + "paths": [ + "_theDocument.introduzione" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Project Start", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": false, + "sortable": false, + "asResult": true + }, + { + "label": "Project Start (YEAR)", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Keywords", + "paths": [ + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + } + ] + } +} +, + { + "_id": "org.gcube.portlets.user.geoportal-timeline-json-template", + "_type": "TIMELINE_JSON_TEMPLATE", + "_configuration": { + "tjt_document": { + "content": "$.nome", + "title": "$.nome", + "start": "$.dataInizioProgetto", + "end": "$.dataFineProgetto" + } + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-workflow-action-list", + "_type": "WORKFLOW_ACTION_LIST_GUI", + "_configuration": { + "actionsDefinition": [ + { + "id": "post_creation_action", + "title": "Post Creation Action", + "call_STEPS": [], + "description": "Action fired after the Project creation", + "display_on_phase": [] + }, + { + "id": "submit_for_review", + "title": "Submit for Review", + "call_STEPS": [ + "SUBMIT-FOR-REVIEW" + ], + "description": "Submit the Project (for review)", + "display_on_phase": [ + "DRAFT" + ] + }, + { + "id": "reject", + "title": "Reject", + "call_STEPS": [ + "REJECT-DRAFT" + ], + "description": "Reject the Project", + "display_on_phase": [ + "Pending Approval" + ] + }, + { + "id": "approve", + "title": "Approve", + "call_STEPS": [ + "APPROVE-SUBMITTED" + ], + "description": "Approve the Project", + "display_on_phase": [ + "Pending Approval" + ] + } + ] + } + } + ], + "_relationshipDefinitions" : [ + {"_id": "precedes", "_label" : "Precede", + "_reverseRelationId" : "follows"}, + {"_id": "follows", "_label" : "Segue", + "_reverseRelationId" : "precedes"} + ] +} diff --git a/D4S_UCDs/PRE/preVRE/Concessioni_estere.json b/D4S_UCDs/PRE/preVRE/Concessioni_estere.json new file mode 100644 index 0000000..e5d7a17 --- /dev/null +++ b/D4S_UCDs/PRE/preVRE/Concessioni_estere.json @@ -0,0 +1,651 @@ +{ + "_id": "concessioni-estere", + "_version": "1.0.0", + "_name": "Missioni archeologiche italiane all'estero", + "_schema": { + "abstractRelazione": { + "_min": 1, + "_children": [ + { + "filesetIta": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "filesetEng": { + "_type": "RegisteredFileSet" + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "relazioneScavo": { + "_max": 1, + "_min": 1, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "immaginiRappresentative": { + "_max": 4, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "posizionamentoScavo": { + "_max": 1, + "_min": 1, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "pianteFineScavo": { + "_max": -1, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + } + }, + "_description": "Embedded profile for concessioni estere [mibac] management", + "_creationInfo": { + "_user": { + "_username": "fabio.sinibaldi" + } + }, + "_dataAccessPolicies": [ + {"_policy": {"_read": "any","_write": "any"}, + "_roles": ["Data-Manager"]}, + {"_policy": {"_read": "own","_write": "own"}, + "_roles": ["Data-Editor"]}, + {"_policy": {"_read": "any","_write": "none"}, + "_roles": ["Member"], + "_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}}, + {"_policy": {"_read": "none","_write": "none"}, + "_roles": []} + ], + "_handlers": [ + { + "_id": "GNA-CONCESSIONI-LC", + "_type": "LifecycleManagement", + "_configuration": { + "step_access": [ + { + "STEP": "SUBMIT-FOR-REVIEW", + "roles": [] + }, + { + "STEP": "REJECT-DRAFT", + "roles": [ + "Data-Manager" + ] + }, + { + "STEP": "APPROVE-SUBMITTED", + "roles": [ + "Data-Manager" + ] + } + ] + } + }, + { + "_id": "SDI-Default-Materializer", + "_type": "Materializer", + "_configuration": { + "registeredFileSetPaths": [ + { + "schemaField": "pianteFineScavo", + "documentPath": "pianteFineScavo[*].fileset" + }, + { + "schemaField": "posizionamentoScavo", + "documentPath": "posizionamentoScavo.fileset" + } + ] + } + }, + { + "_id": "SDI-Indexer-Plugin", + "_type": "Indexer", + "_configuration": { + "bboxEvaluation": [ + "$..posizionamentoScavo.._bbox" + ], + "explicitFieldMapping": [ + { + "name": "nome", + "path": "$._theDocument.nome", + "type": "TEXT" + }, + { + "name": "anno", + "path": "$._theDocument.dataFineProgetto", + "type": "TEXT" + }, + { + "name": "descrizione", + "path": "$._theDocument.iontroduzione", + "type": "TEXT" + }, + { + "name": "contenuto", + "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", + "type": "TEXT" + }, + { + "name": "editore", + "path": "$._theDocument.editore", + "type": "TEXT" + }, + { + "name": "finanziamento", + "path": "$._theDocument.fontiFinanziamento", + "type": "TEXT" + }, + { + "name": "soggetto", + "path": "$._theDocument.soggetto", + "type": "TEXT" + }, + { + "name": "risorse", + "path": "$._theDocument.risorseCorrelate", + "type": "TEXT" + }, + { + "name": "date_scavo", + "path": "$._theDocument.dataFineProgetto", + "type": "TEXT" + }, + { + "name": "data_archiviazione", + "path": "$._info._lastEditInfo._instant", + "type": "TEXT" + }, + { + "name": "versione", + "path": "$._version", + "type": "TEXT" + }, + { + "name": "licenza", + "path": "$._info._access._license", + "type": "TEXT" + }, + { + "name": "titolare_licenza", + "path": "$._theDocument.titolareLicenza", + "type": "TEXT" + }, + { + "name": "accesso", + "path": "$._info._access._license", + "type": "TEXT" + }, + { + "name": "parole_chiave", + "path": "$._theDocument.paroleChiaveLibere", + "type": "TEXT" + } + ], + "jslt": {}, + "additionalLayers": [ + { + "source": { + "url": "..." + }, + "toSetTitle": "" + } + ] + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-data-entry-app", + "_type": "DATA_ENTRY_GUI", + "_configuration": { + "gcubeProfiles": [ + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Informazioni_di_progetto", + "sectionName": "$.", + "sectionTitle": "Informazioni di Progetto" + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Abstract_Relazione_di_Scavo", + "sectionName": "abstractRelazione", + "sectionTitle": "Abstract della Relazione Scientifica", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Carica Abstract Ita (in PDF)", + "fieldDefinition": "$.abstractRelazione._children[?(@.filesetIta)]", + "fieldName": "filesetIta" + }, + { + "gcubeProfileFieldName": "Carica Abstract Eng (in PDF)", + "fieldDefinition": "$.abstractRelazione._children[?(@.filesetEng)]", + "fieldName": "filesetEng" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Relazione_di_Scavo", + "sectionName": "relazioneScavo", + "sectionTitle": "Relazione Scientifica", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Relazione scientifica (in PDF)", + "fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Immagine_Rappresentativa_di_Scavo", + "sectionName": "immaginiRappresentative", + "sectionTitle": "Immagini Rappresentative", + "minOccurs": 1, + "maxOccurs": 4, + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Immagine", + "fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Posizionamento_dell_area_di_indagine", + "sectionName": "posizionamentoScavo", + "sectionTitle": "Posizionamento dell'Area di Indagine", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "File", + "fieldDefinition": "$.posizionamentoScavo._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Pianta_di_fine_Scavo", + "sectionName": "pianteFineScavo", + "sectionTitle": "Piante di Fine Indagine", + "parentName": "$.", + "minOccurs": 0, + "maxOccurs": 0, + "filePaths": [ + { + "gcubeProfileFieldName": "File", + "fieldDefinition": "$.pianteFineScavo._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + } + ], + "saveStep": "" + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-data-list", + "_type": "DATA_LIST_GUI", + "_configuration": { + "itemFields": [ + { + "label": "Any Field", + "paths": [ + "_theDocument.nome", + "_theDocument.introduzione", + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile", + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Name", + "paths": [ + "_theDocument.nome" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Introduction", + "paths": [ + "_theDocument.introduzione" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Author/s", + "paths": [ + "_theDocument.authors" + ], + "operator": "$and", + "searchable": false, + "sortable": true, + "asResult": true + }, + { + "label": "Project Start (yyyy-mm-dd)", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Keywords", + "paths": [ + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Creator", + "paths": [ + "_info._creationInfo._user._username" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Updated", + "paths": [ + "_info._lastEditInfo._instant" + ], + "operator": "$or", + "searchable": false, + "sortable": true, + "asResult": false + }, + { + "label": "Phase", + "paths": [ + "_lifecycleInformation._phase" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + }, + { + "label": "Status", + "paths": [ + "_lifecycleInformation._lastOperationStatus" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + } + ] + } +}, + { + "_id": "org.gcube.portlets.user.geoportal-basic-data-list", + "_type": "BASIC_DATA_LIST_GUI", + "_configuration": { + "itemFields": [ + { + "label": "Any Field", + "paths": [ + "_theDocument.nome", + "_theDocument.introduzione", + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile", + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Name", + "paths": [ + "_theDocument.nome" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Introduction", + "paths": [ + "_theDocument.introduzione" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Project Start", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": false, + "sortable": false, + "asResult": true + }, + { + "label": "Project Start (YEAR)", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Keywords", + "paths": [ + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + } + ] + } +} +, + { + "_id": "org.gcube.portlets.user.geoportal-timeline-json-template", + "_type": "TIMELINE_JSON_TEMPLATE", + "_configuration": { + "tjt_document": { + "content": "$.nome", + "title": "$.nome", + "start": "$.dataInizioProgetto", + "end": "$.dataFineProgetto" + } + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-workflow-action-list", + "_type": "WORKFLOW_ACTION_LIST_GUI", + "_configuration": { + "actionsDefinition": [ + { + "id": "post_creation_action", + "title": "Post Creation Action", + "call_STEPS": [], + "description": "Action fired after the Project creation", + "display_on_phase": [] + }, + { + "id": "submit_for_review", + "title": "Submit for Review", + "call_STEPS": [ + "SUBMIT-FOR-REVIEW" + ], + "description": "Submit the Project (for review)", + "display_on_phase": [ + "DRAFT" + ] + }, + { + "id": "reject", + "title": "Reject", + "call_STEPS": [ + "REJECT-DRAFT" + ], + "description": "Reject the Project", + "display_on_phase": [ + "Pending Approval" + ] + }, + { + "id": "approve", + "title": "Approve", + "call_STEPS": [ + "APPROVE-SUBMITTED" + ], + "description": "Approve the Project", + "display_on_phase": [ + "Pending Approval" + ] + } + ] + } + } + ], + "_relationshipDefinitions" : [ + {"_id": "precedes", "_label" : "Precede", + "_reverseRelationId" : "follows"}, + {"_id": "follows", "_label" : "Segue", + "_reverseRelationId" : "precedes"} + ] +} diff --git a/D4S_UCDs/PRE/preVRE/Esquilino.json b/D4S_UCDs/PRE/preVRE/Esquilino.json new file mode 100644 index 0000000..43dae3e --- /dev/null +++ b/D4S_UCDs/PRE/preVRE/Esquilino.json @@ -0,0 +1,481 @@ +{ + "_id": "esquilino", + "_version": "1.0.0", + "_name": "Esquilino", + "_schema": { + "fonteInformazione" :{ + "_children": [ + {"filesetIta": {"_type": "RegisteredFileSet"}} + ] + }, + "documentazioneScientifica" :{ + "_children": [ + {"fileset": {"_type": "RegisteredFileSet"}} + ] + }, + "immaginiRappresentative" :{ + "_children": [ + {"fileset": {"_type": "RegisteredFileSet"}} + ] + }, + "datiAltimetrici" :{ + "_children": [ + {"fileset": {"_type": "RegisteredFileSet"}} + ] + }, + "planimetria" :{ + "_children": [ + {"fileset": {"_type": "RegisteredFileSet"}} + ] + } + }, + "_description": "UCD for Equilino", + "_creationInfo": { + "_user": { + "_username": "fabio.sinibaldi" + } + }, + "_dataAccessPolicies": [ + {"_policy": {"_read": "any","_write": "any"}, + "_roles": ["Data-Manager"]}, + {"_policy": {"_read": "own","_write": "own"}, + "_roles": ["Data-Editor"]}, + {"_policy": {"_read": "any","_write": "none"}, + "_roles": ["Member"], + "_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"PUBLISHED\"}}"}}, + {"_policy": {"_read": "none","_write": "none"}, + "_roles": []} + ], + "_handlers": [ + { + "_id": "DEFAULT-SINGLE-STEP", + "_type": "LifecycleManagement", + "_configuration": { + "step_access": [ + { + "STEP": "PUBLISH", + "roles": ["Data-Manager","Data-Editor"] + } + ] + } + }, + { + "_id": "SDI-Default-Materializer", + "_type": "Materializer", + "_configuration": { + "registeredFileSetPaths": [ + { + "schemaField": "datiAltimetrici", + "documentPath": "datiAltimetrici[*].fileset" + }, + { + "schemaField": "planimetria", + "documentPath": "planimetria.fileset" + } + ] + } + }, + { + "_id": "SDI-Indexer-Plugin", + "_type": "Indexer", + "_configuration": { + "bboxEvaluation": [ + "$..planimetria.._bbox" + ], + "explicitFieldMapping": [ + { + "name": "definizione", + "path": "$._theDocument.definizione", + "type": "TEXT" + }, + { + "name": "denominazione", + "path": "$._theDocument.denominazione", + "type": "TEXT" + }, + { + "name": "descrizione", + "path": "$._theDocument.descrizione", + "type": "TEXT" + }, + { + "name": "cronologia", + "path": "$._theDocument.cronologia", + "type": "TEXT" + }, + { + "name": "codice_partizione_archeologica", + "path": "$._theDocument.codice_partizione_archeologica", + "type": "TEXT" + }, + { + "name": "modalita_acquisizione", + "path": "$._theDocument.modalita_acquisizione", + "type": "TEXT" + }, + { + "name": "contributore", + "path": "$._theDocument.contributore", + "type": "TEXT" + }, + { + "name": "titolare_dati", + "path": "$._theDocument.titolare_dati", + "type": "TEXT" + }, + { + "name": "soggetto", + "path": "$._theDocument.soggetto", + "type": "TEXT" + }, + { + "name": "copyright", + "path": "$._theDocument.copyright", + "type": "TEXT" + } + ], + "jslt": {}, + "additionalLayers": [ + { + "source": { + "url": "..." + }, + "toSetTitle": "" + } + ] + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-data-entry-app", + "_type": "DATA_ENTRY_GUI", + "_configuration": { + "gcubeProfiles": [ + { + "gcubeSecondaryType": "GeoportalMetadata", + "gcubeName": "Esquilino_Dati_Descrittivi", + "sectionName": "$.", + "sectionTitle": "Dati Descrittivi" + }, + { + "gcubeSecondaryType": "GeoportalMetadata", + "gcubeName": "Esquilino_Fonte_Informazione", + "sectionName": "fonteInformazione", + "sectionTitle": "Fonte dell'informazione", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Carica Abstract Ita (in PDF)", + "fieldDefinition": "$.fonteInformazione._children[?(@.filesetIta)]", + "fieldName": "filesetIta" + } + ] + }, + { + "gcubeSecondaryType": "GeoportalMetadata", + "gcubeName": "Esquilino_Documentazione_Scientifica", + "sectionName": "documentazioneScientifica", + "sectionTitle": "Documentazione scientifica", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Documentazione scientifica (in PDF)", + "fieldDefinition": "$.documentazioneScientifica._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoportalMetadata", + "gcubeName": "Esquilino_Immagine", + "sectionName": "immaginiRappresentative", + "sectionTitle": "Immagini Rappresentative", + "minOccurs": 1, + "maxOccurs": 10, + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Immagine", + "fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoportalMetadata", + "gcubeName": "Esquilino_Dati_Altimetrici", + "sectionName": "datiAltimetrici", + "sectionTitle": "Dati Altimetrici", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "File", + "fieldDefinition": "$.datiAltimetrici._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoportalMetadata", + "gcubeName": "Esquilino_Planimetria", + "sectionName": "planimetria", + "sectionTitle": "Planimetria", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "File", + "fieldDefinition": "$.planimetria._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + } + ], + "saveStep": "" + } +}, + { + "_id": "org.gcube.portlets.user.geoportal-data-list", + "_type": "DATA_LIST_GUI", + "_configuration": { + "itemFields": [ + { + "label": "Any Field", + "paths": [ + "_theDocument.definizione", + "_theDocument.denominazione", + "_theDocument.descrizione", + "_theDocument.cronologia", + "_theDocument.codice_partizione_archeologica", + "_theDocument.modalita_acquisizione", + "_theDocument.contributore", + "_theDocument.titolare_dati", + "_theDocument.soggetto", + "_theDocument.copyright" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Definition", + "paths": [ + "_theDocument.definizione" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Name", + "paths": [ + "_theDocument.denominazione" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Code", + "paths": [ + "_theDocument.codice_partizione_archeologica" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.contributore", + "_theDocument.titolare_dati" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Chronology", + "paths": [ + "_theDocument.cronologia" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Creator", + "paths": [ + "_info._creationInfo._user._username" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Updated", + "paths": [ + "_info._lastEditInfo._instant" + ], + "operator": "$or", + "searchable": false, + "sortable": true, + "asResult": false + }, + { + "label": "Phase", + "paths": [ + "_lifecycleInformation._phase" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + }, + { + "label": "Status", + "paths": [ + "_lifecycleInformation._lastOperationStatus" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + } + ] + } +}, + { + "_id": "org.gcube.portlets.user.geoportal-data-list", + "_type": "BASIC_DATA_LIST_GUI", + "_configuration": { + "itemFields": [ + { + "label": "Any Field", + "paths": [ + "_theDocument.definizione", + "_theDocument.denominazione", + "_theDocument.descrizione", + "_theDocument.cronologia", + "_theDocument.codice_partizione_archeologica", + "_theDocument.modalita_acquisizione", + "_theDocument.contributore", + "_theDocument.titolare_dati", + "_theDocument.soggetto", + "_theDocument.copyright" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Definition", + "paths": [ + "_theDocument.definizione" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Name", + "paths": [ + "_theDocument.denominazione" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Code", + "paths": [ + "_theDocument.codice_partizione_archeologica" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.contributore", + "_theDocument.titolare_dati" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Chronology", + "paths": [ + "_theDocument.cronologia" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + } + ] + } +} +, + { + "_id": "org.gcube.portlets.user.geoportal-workflow-action-list", + "_type": "WORKFLOW_ACTION_LIST_GUI", + "_configuration": { + "actionsDefinition": [ + { + "id": "post_creation_action", + "title": "Post Creation Action", + "call_STEPS": ["PUBLISH"], + "description": "Action fired after the Project creation", + "display_on_phase": [] + }, + { + "id": "submit_for_review", + "title": "Submit for Review", + "call_STEPS": [ + "SUBMIT-FOR-REVIEW" + ], + "description": "Submit the Project (for review)", + "display_on_phase": [ + "DRAFT" + ] + }, + { + "id": "reject", + "title": "Reject", + "call_STEPS": [ + "REJECT-DRAFT" + ], + "description": "Reject the Project", + "display_on_phase": [ + "Pending Approval" + ] + }, + { + "id": "approve", + "title": "Approve", + "call_STEPS": [ + "APPROVE-SUBMITTED" + ], + "description": "Approve the Project", + "display_on_phase": [ + "Pending Approval" + ] + } + ] + } +} +] +} diff --git a/D4S_UCDs/PROD/Esquiline/Esquilino.json b/D4S_UCDs/PROD/Esquiline/Esquilino.json new file mode 100644 index 0000000..d5547ed --- /dev/null +++ b/D4S_UCDs/PROD/Esquiline/Esquilino.json @@ -0,0 +1,459 @@ +{ + "_id": "esquilino", + "_version": "1.0.0", + "_name": "Esquilino", + "_schema": { + "fonteInformazione" :{ + "_children": [ + {"filesetIta": {"_type": "RegisteredFileSet"}} + ] + }, + "documentazioneScientifica" :{ + "_children": [ + {"fileset": {"_type": "RegisteredFileSet"}} + ] + }, + "immaginiRappresentative" :{ + "_children": [ + {"fileset": {"_type": "RegisteredFileSet"}} + ] + }, + "datiAltimetrici" :{ + "_children": [ + {"fileset": {"_type": "RegisteredFileSet"}} + ] + }, + "planimetria" :{ + "_children": [ + {"fileset": {"_type": "RegisteredFileSet"}} + ] + } + }, + "_description": "UCD for Equilino", + "_creationInfo": { + "_user": { + "_username": "fabio.sinibaldi" + } + }, + "_dataAccessPolicies": [ + {"_policy": {"_read": "any","_write": "any"}, + "_roles": ["Data-Manager"]}, + {"_policy": {"_read": "own","_write": "own"}, + "_roles": ["Data-Editor"]}, + {"_policy": {"_read": "any","_write": "none"}, + "_roles": ["Member"], + "_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"PUBLISHED\"}}"}}, + {"_policy": {"_read": "none","_write": "none"}, + "_roles": []} + ], + "_handlers": [ + { + "_id": "DEFAULT-SINGLE-STEP", + "_type": "LifecycleManagement", + "_configuration": { + "step_access": [ + { + "STEP": "PUBLISH", + "roles": ["Data-Manager","Data-Editor"] + } + ] + } + }, + { + "_id": "SDI-Default-Materializer", + "_type": "Materializer", + "_configuration": { + "registeredFileSetPaths": [ + { + "schemaField": "datiAltimetrici", + "documentPath": "datiAltimetrici[*].fileset" + }, + { + "schemaField": "planimetria", + "documentPath": "planimetria.fileset" + } + ] + } + }, + { + "_id": "SDI-Indexer-Plugin", + "_type": "Indexer", + "_configuration": { + "bboxEvaluation": [ + "$..planimetria.._bbox" + ], + "explicitFieldMapping": [ + { + "name": "definizione", + "path": "$._theDocument.definizione", + "type": "TEXT" + }, + { + "name": "denominazione", + "path": "$._theDocument.denominazione", + "type": "TEXT" + }, + { + "name": "descrizione", + "path": "$._theDocument.descrizione", + "type": "TEXT" + }, + { + "name": "cronologia", + "path": "$._theDocument.cronologia", + "type": "TEXT" + }, + { + "name": "codice_partizione_archeologica", + "path": "$._theDocument.codice_partizione_archeologica", + "type": "TEXT" + }, + { + "name": "modalita_acquisizione", + "path": "$._theDocument.modalita_acquisizione", + "type": "TEXT" + }, + { + "name": "contributore", + "path": "$._theDocument.contributore", + "type": "TEXT" + }, + { + "name": "titolare_dati", + "path": "$._theDocument.titolare_dati", + "type": "TEXT" + }, + { + "name": "soggetto", + "path": "$._theDocument.soggetto", + "type": "TEXT" + }, + { + "name": "copyright", + "path": "$._theDocument.copyright", + "type": "TEXT" + } + ], + "jslt": {}, + "additionalLayers": [ + { + "source": { + "url": "..." + }, + "toSetTitle": "" + } + ] + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-data-entry-app", + "_type": "DATA_ENTRY_GUI", + "_configuration": { + "gcubeProfiles": [ + { + "gcubeSecondaryType": "GeoportalMetadata", + "gcubeName": "Esquilino_Dati_Descrittivi", + "sectionName": "$.", + "sectionTitle": "Dati Descrittivi" + }, + { + "gcubeSecondaryType": "GeoportalMetadata", + "gcubeName": "Esquilino_Fonte_Informazione", + "sectionName": "fonteInformazione", + "sectionTitle": "Fonte dell'informazione", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Carica Abstract Ita (in PDF)", + "fieldDefinition": "$.fonteInformazione._children[?(@.filesetIta)]", + "fieldName": "filesetIta" + } + ] + }, + { + "gcubeSecondaryType": "GeoportalMetadata", + "gcubeName": "Esquilino_Documentazione_Scientifica", + "sectionName": "documentazioneScientifica", + "sectionTitle": "Documentazione scientifica", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Documentazione scientifica (in PDF)", + "fieldDefinition": "$.documentazioneScientifica._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoportalMetadata", + "gcubeName": "Esquilino_Immagine", + "sectionName": "immaginiRappresentative", + "sectionTitle": "Immagini Rappresentative", + "minOccurs": 1, + "maxOccurs": 10, + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Immagine", + "fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoportalMetadata", + "gcubeName": "Esquilino_Dati_Altimetrici", + "sectionName": "datiAltimetrici", + "sectionTitle": "Dati Altimetrici", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "File", + "fieldDefinition": "$.datiAltimetrici._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoportalMetadata", + "gcubeName": "Esquilino_Planimetria", + "sectionName": "planimetria", + "sectionTitle": "Planimetria", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "File", + "fieldDefinition": "$.planimetria._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + } + ], + "saveStep": "" + } +}, + { + "_id": "org.gcube.portlets.user.geoportal-data-list", + "_type": "DATA_LIST_GUI", + "_configuration": { + "itemFields": [ + { + "label": "Any Field", + "paths": [ + "_theDocument.definizione", + "_theDocument.denominazione", + "_theDocument.descrizione", + "_theDocument.cronologia", + "_theDocument.codice_partizione_archeologica", + "_theDocument.modalita_acquisizione", + "_theDocument.contributore", + "_theDocument.titolare_dati", + "_theDocument.soggetto", + "_theDocument.copyright" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Definition", + "paths": [ + "_theDocument.definizione" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Name", + "paths": [ + "_theDocument.denominazione" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Code", + "paths": [ + "_theDocument.codice_partizione_archeologica" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.contributore", + "_theDocument.titolare_dati" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Chronology", + "paths": [ + "_theDocument.cronologia" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Creator", + "paths": [ + "_info._creationInfo._user._username" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Updated", + "paths": [ + "_info._lastEditInfo._instant" + ], + "operator": "$or", + "searchable": false, + "sortable": true, + "asResult": false + }, + { + "label": "Phase", + "paths": [ + "_lifecycleInformation._phase" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + }, + { + "label": "Status", + "paths": [ + "_lifecycleInformation._lastOperationStatus" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + } + ] + } +}, + { + "_id": "org.gcube.portlets.user.geoportal-basic-data-list", + "_type": "BASIC_DATA_LIST_GUI", + "_configuration": { + "itemFields": [ + { + "label": "Any Field", + "paths": [ + "_theDocument.definizione", + "_theDocument.denominazione", + "_theDocument.descrizione", + "_theDocument.cronologia", + "_theDocument.codice_partizione_archeologica", + "_theDocument.modalita_acquisizione", + "_theDocument.contributore", + "_theDocument.titolare_dati", + "_theDocument.soggetto", + "_theDocument.copyright" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Definition", + "paths": [ + "_theDocument.definizione" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Name", + "paths": [ + "_theDocument.denominazione" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Code", + "paths": [ + "_theDocument.codice_partizione_archeologica" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.contributore", + "_theDocument.titolare_dati" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Chronology", + "paths": [ + "_theDocument.cronologia" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + } + ] + } +} +, + { + "_id": "org.gcube.portlets.user.geoportal-workflow-action-list", + "_type": "WORKFLOW_ACTION_LIST_GUI", + "_configuration": { + "actionsDefinition": [ + { + "id": "post_creation_action", + "title": "Post Creation Action", + "call_STEPS": ["PUBLISH"], + "description": "Action fired after the Project creation", + "display_on_phase": [] + }, + { + "id": "publish", + "title": "Publish the Project", + "call_STEPS": [ + "PUBLISH" + ], + "description": "Publish the Project", + "display_on_phase": [ + "DRAFT" + ] + } + ] + } +} +] +} diff --git a/D4S_UCDs/PROD/GNA/Concessioni.json b/D4S_UCDs/PROD/GNA/Concessioni.json new file mode 100644 index 0000000..a8faa40 --- /dev/null +++ b/D4S_UCDs/PROD/GNA/Concessioni.json @@ -0,0 +1,653 @@ +{ + "_id": "profiledConcessioni", + "_version": "1.0.0", + "_name": "Indagini svolte in regime di concessione", + "_schema": { + "abstractRelazione": { + "_min": 1, + "_children": [ + { + "filesetIta": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "filesetEng": { + "_type": "RegisteredFileSet" + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "relazioneScavo": { + "_max": 1, + "_min": 1, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "immaginiRappresentative": { + "_max": 4, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "posizionamentoScavo": { + "_max": 1, + "_min": 1, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "pianteFineScavo": { + "_max": -1, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + } + }, + "_description": "Embedded profile for concessioni [mibac] management", + "_creationInfo": { + "_user": { + "_username": "fabio.sinibaldi" + } + }, + "_dataAccessPolicies": [ + {"_policy": {"_read": "any","_write": "any"}, + "_roles": ["Data-Manager"]}, + {"_policy": {"_read": "own","_write": "own"}, + "_roles": ["Data-Editor"]}, + {"_policy": {"_read": "any","_write": "none"}, + "_roles": ["Member"], + "_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}}, + {"_policy": {"_read": "none","_write": "none"}, + "_roles": []} + ], + "_handlers": [ + { + "_id": "GNA-CONCESSIONI-LC", + "_type": "LifecycleManagement", + "_configuration": { + "step_access": [ + { + "STEP": "SUBMIT-FOR-REVIEW", + "roles": [] + }, + { + "STEP": "REJECT-DRAFT", + "roles": [ + "Data-Manager" + ] + }, + { + "STEP": "APPROVE-SUBMITTED", + "roles": [ + "Data-Manager" + ] + } + ] + } + }, + { + "_id": "SDI-Default-Materializer", + "_type": "Materializer", + "_configuration": { + "registeredFileSetPaths": [ + { + "schemaField": "pianteFineScavo", + "documentPath": "pianteFineScavo[*].fileset" + }, + { + "schemaField": "posizionamentoScavo", + "documentPath": "posizionamentoScavo.fileset" + } + ] + } + }, + { + "_id": "SDI-Indexer-Plugin", + "_type": "Indexer", + "_configuration": { + "bboxEvaluation": [ + "$..posizionamentoScavo.._bbox" + ], + "explicitFieldMapping": [ + { + "name": "nome", + "path": "$._theDocument.nome", + "type": "TEXT" + }, + { + "name": "anno", + "path": "$._theDocument.dataFineProgetto", + "type": "TEXT" + }, + { + "name": "descrizione", + "path": "$._theDocument.iontroduzione", + "type": "TEXT" + }, + { + "name": "contenuto", + "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", + "type": "TEXT" + }, + { + "name": "editore", + "path": "$._theDocument.editore", + "type": "TEXT" + }, + { + "name": "finanziamento", + "path": "$._theDocument.fontiFinanziamento", + "type": "TEXT" + }, + { + "name": "soggetto", + "path": "$._theDocument.soggetto", + "type": "TEXT" + }, + { + "name": "risorse", + "path": "$._theDocument.risorseCorrelate", + "type": "TEXT" + }, + { + "name": "date_scavo", + "path": "$._theDocument.dataFineProgetto", + "type": "TEXT" + }, + { + "name": "data_archiviazione", + "path": "$._info._lastEditInfo._instant", + "type": "TEXT" + }, + { + "name": "versione", + "path": "$._version", + "type": "TEXT" + }, + { + "name": "licenza", + "path": "$._info._access._license", + "type": "TEXT" + }, + { + "name": "titolare_licenza", + "path": "$._theDocument.titolareLicenza", + "type": "TEXT" + }, + { + "name": "accesso", + "path": "$._info._access._license", + "type": "TEXT" + }, + { + "name": "parole_chiave", + "path": "$._theDocument.paroleChiaveLibere", + "type": "TEXT" + } + ], + "jslt": {}, + "additionalLayers": [ + { + "source": { + "url": "..." + }, + "toSetTitle": "" + } + ] + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-data-entry-app", + "_type": "DATA_ENTRY_GUI", + "_configuration": { + "gcubeProfiles": [ + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Informazioni_di_progetto", + "sectionName": "$.", + "sectionTitle": "Informazioni di Progetto" + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Abstract_Relazione_di_Scavo", + "sectionName": "abstractRelazione", + "sectionTitle": "Abstract della Relazione Scientifica", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Carica Abstract Ita (in PDF)", + "fieldDefinition": "$.abstractRelazione._children[?(@.filesetIta)]", + "fieldName": "filesetIta" + }, + { + "gcubeProfileFieldName": "Carica Abstract Eng (in PDF)", + "fieldDefinition": "$.abstractRelazione._children[?(@.filesetEng)]", + "fieldName": "filesetEng" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Relazione_di_Scavo", + "sectionName": "relazioneScavo", + "sectionTitle": "Relazione Scientifica", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Relazione scientifica (in PDF)", + "fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Immagine_Rappresentativa_di_Scavo", + "sectionName": "immaginiRappresentative", + "sectionTitle": "Immagini Rappresentative", + "minOccurs": 1, + "maxOccurs": 4, + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Immagine", + "fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Posizionamento_dell_area_di_indagine", + "sectionName": "posizionamentoScavo", + "sectionTitle": "Posizionamento dell'Area di Indagine", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "File", + "fieldDefinition": "$.posizionamentoScavo._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Pianta_di_fine_Scavo", + "sectionName": "pianteFineScavo", + "sectionTitle": "Piante di Fine Indagine", + "parentName": "$.", + "minOccurs": 0, + "maxOccurs": 0, + "filePaths": [ + { + "gcubeProfileFieldName": "File", + "fieldDefinition": "$.pianteFineScavo._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + } + ], + "saveStep": "SUBMIT-FOR-REVIEW" + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-data-list", + "_type": "DATA_LIST_GUI", + "_configuration": { + "itemFields": [ + { + "label": "Any Field", + "paths": [ + "_theDocument.nome", + "_theDocument.introduzione", + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile", + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Name", + "paths": [ + "_theDocument.nome" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Introduction", + "paths": [ + "_theDocument.introduzione" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Author/s", + "paths": [ + "_theDocument.authors" + ], + "operator": "$and", + "searchable": false, + "sortable": true, + "asResult": true + }, + { + "label": "Project Start (yyyy-mm-dd)", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Keywords", + "paths": [ + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Creator", + "paths": [ + "_info._creationInfo._user._username" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Updated", + "paths": [ + "_info._lastEditInfo._instant" + ], + "operator": "$or", + "searchable": false, + "sortable": true, + "asResult": false + }, + { + "label": "Phase", + "paths": [ + "_lifecycleInformation._phase" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + }, + { + "label": "Status", + "paths": [ + "_lifecycleInformation._lastOperationStatus" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + } + ] + } +}, + { + "_id": "org.gcube.portlets.user.geoportal-basic-data-list", + "_type": "BASIC_DATA_LIST_GUI", + "_configuration": { + "itemFields": [ + { + "label": "Any Field", + "paths": [ + "_theDocument.nome", + "_theDocument.introduzione", + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile", + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Name", + "paths": [ + "_theDocument.nome" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Introduction", + "paths": [ + "_theDocument.introduzione" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Project Start", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": false, + "sortable": false, + "asResult": true + }, + { + "label": "Project Start (YEAR)", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Keywords", + "paths": [ + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + } + ] + } +} +, + { + "_id": "org.gcube.portlets.user.geoportal-timeline-json-template", + "_type": "TIMELINE_JSON_TEMPLATE", + "_configuration": { + "tjt_document": { + "content": "$.nome", + "title": "$.nome", + "start": "$.dataInizioProgetto", + "end": "$.dataFineProgetto" + } + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-workflow-action-list", + "_type": "WORKFLOW_ACTION_LIST_GUI", + "_configuration": { + "actionsDefinition": [ + { + "id": "post_creation_action", + "title": "Post Creation Action", + "call_STEPS": [ + "SUBMIT-FOR-REVIEW" + ], + "description": "Action fired after the Project creation", + "display_on_phase": [] + }, + { + "id": "submit_for_review", + "title": "Submit for Review", + "call_STEPS": [ + "SUBMIT-FOR-REVIEW" + ], + "description": "Submit the Project (for review)", + "display_on_phase": [ + "DRAFT" + ] + }, + { + "id": "reject", + "title": "Reject", + "call_STEPS": [ + "REJECT-DRAFT" + ], + "description": "Reject the Project", + "display_on_phase": [ + "Pending Approval" + ] + }, + { + "id": "approve", + "title": "Approve", + "call_STEPS": [ + "APPROVE-SUBMITTED" + ], + "description": "Approve the Project", + "display_on_phase": [ + "Pending Approval" + ] + } + ] + } + } + ], + "_relationshipDefinitions" : [ + {"_id": "precedes", "_label" : "Precede", + "_reverseRelationId" : "follows"}, + {"_id": "follows", "_label" : "Segue", + "_reverseRelationId" : "precedes"} + ] +} diff --git a/D4S_UCDs/PROD/GNA/Concessioni_estere.json b/D4S_UCDs/PROD/GNA/Concessioni_estere.json new file mode 100644 index 0000000..c3ea2a7 --- /dev/null +++ b/D4S_UCDs/PROD/GNA/Concessioni_estere.json @@ -0,0 +1,653 @@ +{ + "_id": "concessioni-estere", + "_version": "1.0.0", + "_name": "Missioni archeologiche italiane all'estero", + "_schema": { + "abstractRelazione": { + "_min": 1, + "_children": [ + { + "filesetIta": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "filesetEng": { + "_type": "RegisteredFileSet" + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "relazioneScavo": { + "_max": 1, + "_min": 1, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "immaginiRappresentative": { + "_max": 4, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "posizionamentoScavo": { + "_max": 1, + "_min": 1, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + }, + "pianteFineScavo": { + "_max": -1, + "_children": [ + { + "fileset": { + "_type": "RegisteredFileSet", + "_min": 1 + } + }, + { + "title": { + "_min": 1 + } + } + ] + } + }, + "_description": "Embedded profile for concessioni estere [mibac] management", + "_creationInfo": { + "_user": { + "_username": "fabio.sinibaldi" + } + }, + "_dataAccessPolicies": [ + {"_policy": {"_read": "any","_write": "any"}, + "_roles": ["Data-Manager"]}, + {"_policy": {"_read": "own","_write": "own"}, + "_roles": ["Data-Editor"]}, + {"_policy": {"_read": "any","_write": "none"}, + "_roles": ["Member"], + "_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}}, + {"_policy": {"_read": "none","_write": "none"}, + "_roles": []} + ], + "_handlers": [ + { + "_id": "GNA-CONCESSIONI-LC", + "_type": "LifecycleManagement", + "_configuration": { + "step_access": [ + { + "STEP": "SUBMIT-FOR-REVIEW", + "roles": [] + }, + { + "STEP": "REJECT-DRAFT", + "roles": [ + "Data-Manager" + ] + }, + { + "STEP": "APPROVE-SUBMITTED", + "roles": [ + "Data-Manager" + ] + } + ] + } + }, + { + "_id": "SDI-Default-Materializer", + "_type": "Materializer", + "_configuration": { + "registeredFileSetPaths": [ + { + "schemaField": "pianteFineScavo", + "documentPath": "pianteFineScavo[*].fileset" + }, + { + "schemaField": "posizionamentoScavo", + "documentPath": "posizionamentoScavo.fileset" + } + ] + } + }, + { + "_id": "SDI-Indexer-Plugin", + "_type": "Indexer", + "_configuration": { + "bboxEvaluation": [ + "$..posizionamentoScavo.._bbox" + ], + "explicitFieldMapping": [ + { + "name": "nome", + "path": "$._theDocument.nome", + "type": "TEXT" + }, + { + "name": "anno", + "path": "$._theDocument.dataFineProgetto", + "type": "TEXT" + }, + { + "name": "descrizione", + "path": "$._theDocument.iontroduzione", + "type": "TEXT" + }, + { + "name": "contenuto", + "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", + "type": "TEXT" + }, + { + "name": "editore", + "path": "$._theDocument.editore", + "type": "TEXT" + }, + { + "name": "finanziamento", + "path": "$._theDocument.fontiFinanziamento", + "type": "TEXT" + }, + { + "name": "soggetto", + "path": "$._theDocument.soggetto", + "type": "TEXT" + }, + { + "name": "risorse", + "path": "$._theDocument.risorseCorrelate", + "type": "TEXT" + }, + { + "name": "date_scavo", + "path": "$._theDocument.dataFineProgetto", + "type": "TEXT" + }, + { + "name": "data_archiviazione", + "path": "$._info._lastEditInfo._instant", + "type": "TEXT" + }, + { + "name": "versione", + "path": "$._version", + "type": "TEXT" + }, + { + "name": "licenza", + "path": "$._info._access._license", + "type": "TEXT" + }, + { + "name": "titolare_licenza", + "path": "$._theDocument.titolareLicenza", + "type": "TEXT" + }, + { + "name": "accesso", + "path": "$._info._access._license", + "type": "TEXT" + }, + { + "name": "parole_chiave", + "path": "$._theDocument.paroleChiaveLibere", + "type": "TEXT" + } + ], + "jslt": {}, + "additionalLayers": [ + { + "source": { + "url": "..." + }, + "toSetTitle": "" + } + ] + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-data-entry-app", + "_type": "DATA_ENTRY_GUI", + "_configuration": { + "gcubeProfiles": [ + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Informazioni_di_progetto", + "sectionName": "$.", + "sectionTitle": "Informazioni di Progetto" + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Abstract_Relazione_di_Scavo", + "sectionName": "abstractRelazione", + "sectionTitle": "Abstract della Relazione Scientifica", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Carica Abstract Ita (in PDF)", + "fieldDefinition": "$.abstractRelazione._children[?(@.filesetIta)]", + "fieldName": "filesetIta" + }, + { + "gcubeProfileFieldName": "Carica Abstract Eng (in PDF)", + "fieldDefinition": "$.abstractRelazione._children[?(@.filesetEng)]", + "fieldName": "filesetEng" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Relazione_di_Scavo", + "sectionName": "relazioneScavo", + "sectionTitle": "Relazione Scientifica", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Relazione scientifica (in PDF)", + "fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Immagine_Rappresentativa_di_Scavo", + "sectionName": "immaginiRappresentative", + "sectionTitle": "Immagini Rappresentative", + "minOccurs": 1, + "maxOccurs": 4, + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "Immagine", + "fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Posizionamento_dell_area_di_indagine", + "sectionName": "posizionamentoScavo", + "sectionTitle": "Posizionamento dell'Area di Indagine", + "parentName": "$.", + "filePaths": [ + { + "gcubeProfileFieldName": "File", + "fieldDefinition": "$.posizionamentoScavo._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + }, + { + "gcubeSecondaryType": "GeoNaMetadata", + "gcubeName": "Pianta_di_fine_Scavo", + "sectionName": "pianteFineScavo", + "sectionTitle": "Piante di Fine Indagine", + "parentName": "$.", + "minOccurs": 0, + "maxOccurs": 0, + "filePaths": [ + { + "gcubeProfileFieldName": "File", + "fieldDefinition": "$.pianteFineScavo._children[?(@.fileset)]", + "fieldName": "fileset" + } + ] + } + ], + "saveStep": "SUBMIT-FOR-REVIEW" + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-data-list", + "_type": "DATA_LIST_GUI", + "_configuration": { + "itemFields": [ + { + "label": "Any Field", + "paths": [ + "_theDocument.nome", + "_theDocument.introduzione", + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile", + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Name", + "paths": [ + "_theDocument.nome" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Introduction", + "paths": [ + "_theDocument.introduzione" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Author/s", + "paths": [ + "_theDocument.authors" + ], + "operator": "$and", + "searchable": false, + "sortable": true, + "asResult": true + }, + { + "label": "Project Start (yyyy-mm-dd)", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Keywords", + "paths": [ + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Creator", + "paths": [ + "_info._creationInfo._user._username" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Updated", + "paths": [ + "_info._lastEditInfo._instant" + ], + "operator": "$or", + "searchable": false, + "sortable": true, + "asResult": false + }, + { + "label": "Phase", + "paths": [ + "_lifecycleInformation._phase" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + }, + { + "label": "Status", + "paths": [ + "_lifecycleInformation._lastOperationStatus" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + } + ] + } +}, + { + "_id": "org.gcube.portlets.user.geoportal-basic-data-list", + "_type": "BASIC_DATA_LIST_GUI", + "_configuration": { + "itemFields": [ + { + "label": "Any Field", + "paths": [ + "_theDocument.nome", + "_theDocument.introduzione", + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile", + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Name", + "paths": [ + "_theDocument.nome" + ], + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Introduction", + "paths": [ + "_theDocument.introduzione" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Project Start", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": false, + "sortable": false, + "asResult": true + }, + { + "label": "Project Start (YEAR)", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Keywords", + "paths": [ + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + } + ] + } +} +, + { + "_id": "org.gcube.portlets.user.geoportal-timeline-json-template", + "_type": "TIMELINE_JSON_TEMPLATE", + "_configuration": { + "tjt_document": { + "content": "$.nome", + "title": "$.nome", + "start": "$.dataInizioProgetto", + "end": "$.dataFineProgetto" + } + } + }, + { + "_id": "org.gcube.portlets.user.geoportal-workflow-action-list", + "_type": "WORKFLOW_ACTION_LIST_GUI", + "_configuration": { + "actionsDefinition": [ + { + "id": "post_creation_action", + "title": "Post Creation Action", + "call_STEPS": [ + "SUBMIT-FOR-REVIEW" + ], + "description": "Action fired after the Project creation", + "display_on_phase": [] + }, + { + "id": "submit_for_review", + "title": "Submit for Review", + "call_STEPS": [ + "SUBMIT-FOR-REVIEW" + ], + "description": "Submit the Project (for review)", + "display_on_phase": [ + "DRAFT" + ] + }, + { + "id": "reject", + "title": "Reject", + "call_STEPS": [ + "REJECT-DRAFT" + ], + "description": "Reject the Project", + "display_on_phase": [ + "Pending Approval" + ] + }, + { + "id": "approve", + "title": "Approve", + "call_STEPS": [ + "APPROVE-SUBMITTED" + ], + "description": "Approve the Project", + "display_on_phase": [ + "Pending Approval" + ] + } + ] + } + } + ], + "_relationshipDefinitions" : [ + {"_id": "precedes", "_label" : "Precede", + "_reverseRelationId" : "follows"}, + {"_id": "follows", "_label" : "Segue", + "_reverseRelationId" : "precedes"} + ] +}