Hi @Mira_Ghaly
Thanks for your response, I would really appreciate your help. I am unfamiliar with the concept of a collection inside a collection so I would love some guidance.
My current collection looks like this:

and the JSON sample (from collection) I'm using is as follows:
[ {
"Default Value": null,
"Description": null,
"Enrichment": "Test Enrich",
"referenceTag": "TEST ID"
},
{
"Default Value": "TestNewDefault",
"Description": "TestNewDescription",
"Enrichment": "Test Enrich",
"referenceTag": "TestNewID"
},
{
"Default Value": "TestDV2",
"Description": "TestDescription2",
"Enrichment": "Test Enrich",
"referenceTag": "TestNew2"
},
{
"Value": "Test 3",
"referenceTag": "TEST ID",
"resultString": "Test 4"
},
{
"Value": "Test 1",
"referenceTag": "TestNewID",
"resultString": "Test 2"
}
]
I would like my JSON file to be created from this schema:
{
"identifier": {
"description": "",
"referenceTag": "7yLuYeIO",
"defaultValue": "",
"dictionary": [
{
"value": "Cover_Assessment_Name_1",
"resultString": "{{DXWSQFqF.display}} Single-Rater Report"
},
{
"value": "Cover_Assessment_Name_2",
"resultString": "{{bEq7YQaN.display}} {{DXWSQFqF.display}} Single-Rater Report"
}
]
},
"17oqJmO3": {
"description": "",
"referenceTag": "omqCPXlg",
"defaultValue": "",
"dictionary": [
{
"value": "Cover_Child_Gender_1",
"resultString": "{{DsmqTcAq.display}} ({{sLjRf5PR.display}})"
},
{
"value": "Cover_Child_Gender_2",
"resultString": "{{DsmqTcAq.display}}"
},
{
"value": "Blank",
"resultString": ""
}
]
},
For example, many value/resultStrings may be related to the same referenceTag, and therefore should be located within the same array, while the referenceTag, description, default value, etc. are outside the array.
Thank you so much for your help! 🙂