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

68 lines
1.6 KiB
JSON
Raw Normal View History

2022-05-06 16:39:44 +02:00
{
"_id" : "sdi-tests",
"_version" : "1.0.0",
"_name" : "SDI Tests",
"_description" : "Used for tests on sdi plugins",
"_creationInfo": {
"_user" : {
"_username": "fabio.sinibaldi"
}
},
"_schema" :{ "title" : {"_min" : 1},
"section" : { "_max" : 1, "_min" : 1,
"_children" : [
{"fileset" :{"_type" : "RegisteredFileSet", "_min": 1}},
{"title" : {"_min" : 1}}
]
}
},
"_dataAccessPolicies" : [
{"_policy" : {"_read" : "any", "_write" : "any"}, "_roles":[]}
],
"_handlers" : [
{
"_id" : "DEFAULT-SINGLE-STEP",
"_type" : "LifecycleManagement",
"_configuration" : {
"step_access" : [
{"STEP" : "PUBLISH", "roles" :[]}
]
}
},
{
"_id": "SDI-Indexer-Plugin",
"_type": "Indexer",
"_configuration": {
"coordinatesPath" :[{"x" : "$._theDocument.coordX", "y" : "$._theDocument.coordY"}],
2022-11-04 17:48:17 +01:00
"explicitFieldMapping": [
{
"name": "nome",
"path": "$._theDocument.nome",
"type": "TEXT"
}],
2022-05-06 16:39:44 +02:00
"additionalLayers": [
{
"source": {
"url": "..."
},
"toSetTitle": ""
}
]
}
2022-05-18 18:24:57 +02:00
},
{
"_id" : "SDI-Default-Materializer",
"_type" : "Materializer",
"_configuration" : {
"registeredFileSetPaths" : [
{"schemaField" : "pianteFineScavo","documentPath" : "pianteFineScavo[*].fileset"},
{"schemaField" : "posizionamentoScavo","documentPath" : "posizionamentoScavo.fileset"}
]
}
2022-05-06 16:39:44 +02:00
}
]
}