I have following JSON data . I want to transform following data by Jolt nifi processor into result data
{
"alert_array": {
"alerts": [
{
"alertId": "alt001",
"severity": "High",
"alert_type": "Alert"
},
{
"alertId": "alt002",
"severity": "High",
"alert_type": "Alert"
}
]
}
}
result data
{
"alert_array": [
{
"Id": "alt001",
"speed": "High",
"type": "Alert"
},
{
"Id": "alt002",
"speed": "High",
"type": "Alert"
}
]
}
please help to write spac of jolt transformation

