140 lines
3.9 KiB
JSON
140 lines
3.9 KiB
JSON
{
|
|
"_id" : "profiledConcessioni",
|
|
"_version" : "1.0.0",
|
|
"_name" : "Concessione",
|
|
|
|
"_schema" : {
|
|
"relazioneScavo" : { "_max" : 1, "_min" : 1,
|
|
"_children" : [
|
|
{"fileset" :{"_type" : "RegisteredFileSet"}},
|
|
{"title" : {"_max" : 1, "_min" : 1}}
|
|
]
|
|
},
|
|
|
|
"abstractRelazione" : { "_max" : 1, "_min" : 1,
|
|
"_children" : [
|
|
{"filesetIta" :{"_type" : "RegisteredFileSet"}},
|
|
{"filesetEng" :{"_type" : "RegisteredFileSet"}},
|
|
{"title" : {"_max" : 1, "_min" : 1}}
|
|
]
|
|
},
|
|
|
|
"immagini" : {
|
|
"_max" : -1,
|
|
"_children" : [
|
|
{"fileset" :{"_type" : "RegisteredFileSet"}},
|
|
{"title" : {"_max" : 1, "_min" : 1}}
|
|
]
|
|
},
|
|
"posizionamentoScavo" : { "_max" : 1, "_min" : 1,
|
|
"_children" : [
|
|
{"fileset" :{"_type" : "RegisteredFileSet"}},
|
|
{"title" : {"_max" : 1, "_min" : 1}}
|
|
]
|
|
}
|
|
},
|
|
|
|
|
|
"_description" : "Embedded profile for concessioni [mibac] management",
|
|
"_creationInfo": {
|
|
"_user" : {
|
|
"_username": "fabio.sinibaldi"
|
|
}
|
|
},
|
|
|
|
"_data_access_policy" : [
|
|
{"_policy" : {"_read" : "own", "_write" : "own"}, "_roles":[]},
|
|
{"_policy" : {"_read" : "any", "_write" : "none"}, "_roles":["Guest"],
|
|
"_enforcer": {"_filter" : {"lifecycleInformation.phase" : {"$eq" : "Published"}}}},
|
|
{"_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" : [
|
|
{"STEP" : "PUBLISH", "roles" :[ "DataManager"]}
|
|
]
|
|
}
|
|
},
|
|
|
|
{
|
|
"_id" : "SDI-Default-Materializer",
|
|
"_type" : "Materializer",
|
|
"_configuration" : {
|
|
"registeredFileSetPaths" : [
|
|
{"schemaField" : "pianteFineScavo","documentPath" : "pianteFineScavo[*]"},
|
|
{"schemaField" : "posizionamentoScavo","documentPath" : "posizionamentoScavo"}
|
|
]
|
|
}
|
|
},
|
|
|
|
|
|
{
|
|
"_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....geoportal-data-entry-portlet",
|
|
"_type" : "DATA_ENTRY_GUI",
|
|
"_case" : "",
|
|
"_configuration" : {
|
|
"gcubeProfiles" : [
|
|
{
|
|
"gcubeCategory" : "",
|
|
"gcubeName" : "",
|
|
"order" : "",
|
|
"sectionName": "",
|
|
"sectionTitle" : "",
|
|
"cardinality" : "",
|
|
"parentName" : "",
|
|
"filePaths" : [
|
|
{"field" : "field id from XML gcube Profile",
|
|
"path" : "$.abstract.associatedFiles" }
|
|
]
|
|
|
|
}
|
|
]
|
|
|
|
}
|
|
},
|
|
|
|
{
|
|
"_id" : "org.gcube....geoportal-data-list",
|
|
"_type" : "DATA_LIST_GUI",
|
|
"_case" : "smallList",
|
|
"_configuration" : {
|
|
"projection" : {"nome" : 1, "lifecycleInformation.phase" : 1},
|
|
"orderPaths":[
|
|
{"label" : "author", "path" : "info.creationInfo.user.username"}],
|
|
"searchPaths":[
|
|
{"label" : "author", "path" : "info.creationInfo.user.username"}],
|
|
"actions" :[
|
|
{ "status" : "OK",
|
|
"phase" : "VALIDATE_DRAFT",
|
|
"butoonsDefintion" : [
|
|
{"id" : "report_forward","action" : "STEP", "label" : "Sottometti"},
|
|
{"id" : "list_back_workflow", "action" : "STEP" , "label" : "Rifiuta"},
|
|
{"id" : "report_backward", "action" : "STEP" , "label" : "Rifiuta"}
|
|
]}
|
|
],
|
|
"implicit_filter":{"nome" : {"$eq" : "ciao" }}
|
|
}
|
|
}
|
|
]
|
|
} |