gcube-cms-suite/test-data/profiledDocuments/profiles/Concessioni.json

357 lines
9.7 KiB
JSON
Raw Normal View History

2022-03-30 18:39:10 +02:00
{
"_id" : "profiledConcessioni",
"_version" : "1.0.0",
"_name" : "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" : 8,
"_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"
}
},
2022-04-01 19:11:11 +02:00
"_dataAccessPolicies" : [
2022-09-08 12:47:35 +02:00
{"_policy" : {"_read" : "any", "_write" : "any"}, "_roles":[]},
2022-03-30 18:39:10 +02:00
{"_policy" : {"_read" : "any", "_write" : "none"}, "_roles":["Guest"],
2022-04-01 19:11:11 +02:00
"_enforcer": {"_filter" : "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}},
2022-03-30 18:39:10 +02:00
{"_policy" : {"_read" : "any", "_write" : "none"}, "_roles":["Admin"]},
{"_policy" : {"_read" : "any", "_write" : "any"}, "_roles":["Data-Manager"]}
],
"_handlers" : [
{
"_id" : "GNA-CONCESSIONI-LC",
"_type" : "LifecycleManagement",
"_configuration" : {
"step_access" : [
2022-04-08 11:22:13 +02:00
{"STEP" : "SUBMIT-FOR-REVIEW", "roles" :[]},
{"STEP" : "REJECT-DRAFT", "roles" :["Data-Manager"]},
{"STEP" : "APPROVE-SUBMITTED", "roles" :["Data-Manager"]}
2022-03-30 18:39:10 +02:00
]
}
},
{
"_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" : "titolo", "path" : "$._theDocument.title", "type" : "TEXT"}
],
"jslt" : {},
"additionalLayers" : [
{"source" : {"url" : "..."},"toSetTitle":""}
]
}
},
{
"_id": "org.gcube.portlets.user.geoportal-data-entry-app",
"_type": "DATA_ENTRY_GUI",
"_item_type": "Concessione",
"_configuration": {
"gcubeProfiles": [
{
"gcubeSecondaryType": "GeoNaMetadata",
"gcubeName": "Informazioni_di_progetto",
"sectionName": "$.",
"sectionTitle": "Informazioni di Progetto"
},
{
"gcubeSecondaryType": "GeoNaMetadata",
"gcubeName": "Abstract_Relazione_di_Scavo",
"sectionName": "abstractRelazione",
"sectionTitle": "Abstract Relazione Scavo",
"parentName": "$.",
"filePaths": [
{
"gcubeProfileFieldName": "Carica Abstract Ita (in PDF)",
2022-06-30 17:57:35 +02:00
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetIta)]",
2022-03-30 18:39:10 +02:00
"fieldName": "filesetIta"
},
{
"gcubeProfileFieldName": "Carica Abstract Eng (in PDF)",
2022-06-30 17:57:35 +02:00
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetEng)]",
2022-03-30 18:39:10 +02:00
"fieldName": "filesetEng"
}
]
},
{
"gcubeSecondaryType": "GeoNaMetadata",
"gcubeName": "Relazione_di_Scavo",
"sectionName": "relazioneScavo",
"sectionTitle": "Relazione di Scavo",
"parentName": "$.",
"filePaths": [
{
"gcubeProfileFieldName": "Relazione di fine scavo (in PDF)",
2022-06-30 17:57:35 +02:00
"fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]",
2022-03-30 18:39:10 +02:00
"fieldName": "fileset"
}
]
},
{
"gcubeSecondaryType": "GeoNaMetadata",
"gcubeName": "Immagine_Rappresentativa_di_Scavo",
"sectionName": "immaginiRappresentative",
"sectionTitle": "Immagini Rappresentative",
"minOccurs": 1,
"maxOccurs": 8,
2022-09-08 12:47:35 +02:00
"parentName": "$.",
2022-03-30 18:39:10 +02:00
"filePaths": [
{
"gcubeProfileFieldName": "Immagine",
2022-06-30 17:57:35 +02:00
"fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]",
2022-03-30 18:39:10 +02:00
"fieldName": "fileset"
}
]
},
{
"gcubeSecondaryType": "GeoNaMetadata",
"gcubeName": "Posizionamento_dell_area_di_indagine",
"sectionName": "posizionamentoScavo",
"sectionTitle": "Posizionamento dell'Area di Indagine",
"parentName": "$.",
"filePaths": [
{
"gcubeProfileFieldName": "File",
2022-06-30 17:57:35 +02:00
"fieldDefinition": "$.posizionamentoScavo._children[?(@.fileset)]",
2022-03-30 18:39:10 +02:00
"fieldName": "fileset"
}
]
},
{
"gcubeSecondaryType": "GeoNaMetadata",
"gcubeName": "Pianta_di_fine_Scavo",
"sectionName": "pianteFineScavo",
"sectionTitle": "Piante di fine Scavo",
"parentName": "$.",
"minOccurs": 0,
"maxOccurs": 0,
"filePaths": [
{
"gcubeProfileFieldName": "File",
2022-06-30 17:57:35 +02:00
"fieldDefinition": "$.pianteFineScavo._children[?(@.fileset)]",
2022-03-30 18:39:10 +02:00
"fieldName": "fileset"
}
]
}
],
"saveStep": "SUBMIT-FOR-REVIEW"
}
},
2022-09-08 12:47:35 +02:00
{
"_id": "org.gcube.portlets.user.geoportal-data-list",
"_type": "DATA_LIST_GUI",
"_configuration": {
"itemFields": [
{
"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",
"paths": [
"_theDocument.dataInizioProgetto"
2022-03-30 18:39:10 +02:00
],
2022-09-08 12:47:35 +02:00
"operator": "$and",
"searchable": false,
"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": "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
2022-03-30 18:39:10 +02:00
}
2022-09-26 16:11:20 +02:00
],
"actionsDefinition": [
{
"id": "submit_for_review",
"title": "Submit for Review",
"call_STEPS": [
"SUBMIT-FOR-REVIEW"
],
"description": "Submit the Project (for review)",
"display_on_phase": [
"REJECTED",
"DRAFT"
]
},
{
"id": "reject",
"title": "Reject",
"call_STEPS": [
"REJECT-DRAFT"
],
"description": "Reject the Project",
"display_on_phase": [
"DRAFT"
]
},
{
"id": "approve",
"title": "Approve",
"call_STEPS": [
"APPROVE-SUBMITTED"
],
"description": "Approve the Project",
"display_on_phase": [
"DRAFT"
]
},
{
"id": "publish",
"title": "Publish",
"call_STEPS": [
"PUBLISH"
],
"description": "Publish the Project",
"display_on_phase": [
"DRAFT",
"APPROVED"
]
},
{
"id": "unpublish",
"title": "Unpublish",
"call_STEPS": [
"UNPUBLISH"
],
"description": "Unpublish the Project",
"display_on_phase": [
"PUBLISHED"
]
}
2022-09-08 12:47:35 +02:00
]
}
}
2022-03-30 18:39:10 +02:00
]
}