Solved
Help with JOLT Spec to add new json key with a value from another key
Hoping someone can help me with a JOLT spec.
I have the following json:
{
"schemaVersion": "3.2",
"uniqueIdentifier": "ri.nzRNR5a3ad1AzOkv_2FU9WN6Z_2FluxpEl4eXjgUnYpgkvk_3D",
"entityType": "CAR"
}
and I need to use JOLT to transform to this:
{
"_id": "ri.nzRNR5a3ad1AzOkv_2FU9WN6Z_2FluxpEl4eXjgUnYpgkvk_3D",
"schemaVersion": "3.2",
"uniqueIdentifier": "ri.nzRNR5a3ad1AzOkv_2FU9WN6Z_2FluxpEl4eXjgUnYpgkvk_3D",
"entityType": "CAR"
}
I cannot figure out the correct spec.
Thanks!

