All Downloads are FREE. Search and download functionalities are using the official Maven repository.

home.lib.jython.alertlib.test.config.system-config-new.json Maven / Gradle / Ivy

There is a newer version: 1.10.2
Show newest version
{
	"redbox.version.string": "1.5.2",
    "new-alerts": {
        "alertSet": [
            {
                "name": "Default alert",
                "path": "test-alerts",
                "harvestConfig": "config/dataset.json",
                "handlers": {
                    "csv": "CSVAlertHandler",
                    "tab": "CSVAlertHandler",
                    "com": "CSVAlertHandler",
                    "csm": "CSVAlertHandler",
                    "xml": "XMLAlertHandler",
                    "rif": "XMLAlertHandler"
                }, 
                "baseline": {
                    "viewId": "default",
                    "packageType": "dataset",
                    "redbox:formVersion": "1.5.2",
                    "redbox:newForm": true,
                    "redbox:submissionProcess.redbox:submitted": true,
                	"workflow_source": "Default Alert"
                },
                "timestampFields": ["redbox:submissionProcess.dc:date"],
                "CSVAlertHandlerParams": {
                    "configMap": {
                        "csv": {
                        	"Dialect": {
                                "skipinitialspace": true
                            },
                            "fieldMap": {
                                    "title": ["title","redbox:submissionProcess.dc:title"],
                                    "description": ["description", "redbox:submissionProcess.dc:description"],
                                    "name": "redbox:submissionProcess.locrel:prc.foaf:Person.foaf:name",
                                    "phone": "redbox:submissionProcess.locrel:prc.foaf:Person.foaf:phone",
                                    "email": "redbox:submissionProcess.locrel:prc.foaf:Person.foaf:mbox",
                                    "note": "redbox:submissionProcess.skos:note"
                            }
                        },
                        "tab": {
                            "Dialect": {
                                "delimiter": "\t",
                                "skipinitialspace": true
                            },
                            "fieldMap": {
                                    "title": ["title","redbox:submissionProcess.dc:title"],
                                    "description": ["description", "redbox:submissionProcess.dc:description"],
                                    "name": "redbox:submissionProcess.locrel:prc.foaf:Person.foaf:name",
                                    "phone": "redbox:submissionProcess.locrel:prc.foaf:Person.foaf:phone",
                                    "email": "redbox:submissionProcess.locrel:prc.foaf:Person.foaf:mbox",
                                    "note": "redbox:submissionProcess.skos:note"
                            }
                        },
                        "com": {
                            "Dialect": {
                                "delimiter": "|",
                                "skipinitialspace": true
                            },
                            "fieldMap": {
                                    "title": ["title","redbox:submissionProcess.dc:title"],
                                    "description": ["description", "redbox:submissionProcess.dc:description"],
                                    "name": "redbox:submissionProcess.locrel:prc.foaf:Person.foaf:name",
                                    "phone": "redbox:submissionProcess.locrel:prc.foaf:Person.foaf:phone",
                                    "email": "redbox:submissionProcess.locrel:prc.foaf:Person.foaf:mbox",
                                    "note": "redbox:submissionProcess.skos:note"
                            }
                        },
                        "csm": {
                            "Dialect": {
                                "delimiter": "|",
                                "skipinitialspace": true
                            },
                            "fieldMap": {
                                    "title": ["title","redbox:submissionProcess.dc:title"],
                                    "description": ["description", "redbox:submissionProcess.dc:description"],
                                    "name": "redbox:submissionProcess.locrel:prc.foaf:Person.foaf:name",
                                    "phone": "redbox:submissionProcess.locrel:prc.foaf:Person.foaf:phone",
                                    "email": "redbox:submissionProcess.locrel:prc.foaf:Person.foaf:mbox",
                                    "keywords": "dc:subject.vivo:keyword.0.rdf:PlainLiteral",
                                    "note": "redbox:submissionProcess.skos:note"
                            },
                            "multiValue": {
                            	"fields": ["keywords"],
                            	"fieldDelimiter": ";"
                            }
                        }
                    }
                },
                "XMLAlertHandlerParams": {
                    "configMap": {
                        "xml": {
                            "xmlMap": "config/basicXmlMap.json"
                        },
                        "rif": {
                            "xmlMap": "config/rifXmlMap.json"
                        }
                    }
                }
            },
            {
	             "name": "Data plans",
	             "path": "test-alerts/dataplan1",
	             "harvestConfig": "config/dmpt.json",
	             "handlers": {
	                 "csv": "CSVAlertHandler"
	             },
	             "CSVAlertHandlerParams": {
	                    "configMap": {
	                        "csv": {
	                        	"Dialect": {
	                                "skipinitialspace": true
	                            },
	                            "fieldMap": {
	                                    "Title": ["title","dc:title"],
	                                    "Description": ["description", "dc:description"],
	                                    "ID": "dc:identifier",
	                                    "Start": "dc:coverage.vivo:DateTimeInterval.vivo:start",
	                                    "End": "dc:coverage.vivo:DateTimeInterval.vivo:end",
	                                    "PI_Given_Name": "locrel:rth.foaf:Person.foaf:givenName",
	                                    "PI_Family_Name": "locrel:rth.foaf:Person.foaf:familyName",
	                                    "PI_Honorific": "locrel:rth.foaf:Person.foaf:title ",
	                                    "PI_Email": "locrel:rth.foaf:Person.foaf:email",
	                                    "Supervisor_Given_Name": "swrc:supervisor.foaf:Person.0.foaf:givenName",
	                                    "Supervisor_Family_Name": "swrc:supervisor.foaf:Person.0.foaf:familyName",
	                                    "Supervisor_Honorific": "swrc:supervisor.foaf:Person.0.foaf:title",
	                                    "Supervisor_Email": "swrc:supervisor.foaf:Person.0.foaf:email"
	                            }
	                        }
	                    }
	             },
	             "baseline": {
	                    "viewId": "dashboard",
	                    "packageType": "dmpt",
	                    "redbox:formVersion": "1.6.1-SNAPSHOT",
	                    "redbox:newForm": true,
	                    "redbox:submissionProcess.redbox:submitted": true,
	                	"workflow_source": "Default Alert"
	            }
	             
            },
            {
	             "name": "Data plans 2",
	             "path": "test-alerts/dataplan2",
	             "harvestConfig": "config/dmpt.json",
	             "handlers": {
	                 "csv": "CSVAlertHandler"
	             },
	             "CSVAlertHandlerParams": {
	                    "configMap": {
	                        "csv": {
	                        	"Dialect": {
	                                "skipinitialspace": true
	                            },
	                            "fieldMap": {
	                            	"ID": "dc:identifier",    
	                            	"Submit Year": "flinders:submitYear",
	                            	"Start Year": "dc:coverage.vivo:DateTimeInterval.vivo:start",
	                            	"Title": ["title","dc:title"],
	                            	"Description": ["description", "dc:description"],
	                                "Institution": "flinders:Institution",
                                    "ANZSRC-FOR": "dc:subject.anzsrc:for.0.rdf:resource.1.rdf:resource",
                                    "Funding Agency": ""
	                            }
	                        }
	                    },
	                    "scriptHandlers": {
	                    	"preProcess": "home/lib/samples/preDMPTHandler.py"
	   	             	}
	             },
	             "baseline": {
	                    "viewId": "dashboard",
	                    "packageType": "dmpt",
	                    "redbox:formVersion": "1.6.1-SNAPSHOT",
	                    "redbox:newForm": true,
	                    "redbox:submissionProcess.redbox:submitted": true,
	                	"workflow_source": "Default Alert"
	            }
	             
           }
        ],
        "baseline": {

        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy