I'm facing an issue with implementing my Jolt Spec to transform this input.
input:
[
{
"organizationName": "TOTOLAND",
"organizationUid": "123456789",
"usageByLicenseAndProduct": [
{
"productType": "VSPC",
"licenseEdition": "Enterprise Plus",
"workloadUsage": [
{
"workloadType": "VAC_Workstation_Agent"
},
{
"workloadType": "VAC_Server_Agent"
}
]
}
]
},
{
"organizationName": "TOTOLAND2",
"organizationUid": "456789",
"usageByLicenseAndProduct": [
{
"productType": "VSPC",
"licenseEdition": "Enterprise Plus",
"workloadUsage": [
{
"workloadType": "VAC_Workstation_Agent"
}
]
},
{
"productType": "BackupAndReplication",
"licenseEdition": "Enterprise Plus",
"workloadUsage": [
{
"workloadType": "VAC_Workstation_Agent"
}
]
}
]
}
]
Output:
[
{
"organizationName": "TOTOLAND",
"organizationUid": "123456789",
"productType": "VSPC",
"licenseEdition": "Enterprise Plus",
"workloadType": "VAC_Workstation_Agent"
},
{
"organizationName": "TOTOLAND",
"organizationUid": "123456789",
"productType": "VSPC",
"licenseEdition": "Enterprise Plus",
"workloadType": "VAC_Server_Agent"
},
{
"organizationName": "TOTOLAND2",
"organizationUid": "456789",
"productType": "VSPC",
"licenseEdition": "Enterprise Plus",
"workloadType": "VAC_Workstation_Agent"
}
]
I tried multiple Jolt Specs via jolt-demo.appspot.com, but I failed to have a satisfying transformation...
Could you help me? Thanks a lot! Gatien