Hi Connor,
The "id" and "proficiency" fields are arrays. In this case, you can define the output contract like this:
{
"type": "object",
"properties": {
"SkillId": {
"type": "array",
"items": {
"type": "string"
}
},
"Proficiency": {
"type": "array",
"items": {
"type": "number"
}
}
}
}
As for the translationMap, it can be set up as follows:
{
"translationMap": {
"ID": "$.entities[*].id",
"proficiency": "$.entities[*].proficiency"
},
"translationMapDefaults": {
"ID": "null",
"proficiency": "null"
},
"successTemplate": "{\"SkillId\": ${ID}, \"Proficiency\": ${proficiency} }"
}
------------------------------
Elisson Fernandes
------------------------------