Thanks again. When I try to do this with json schema, does not seem to work.
I changed id, type, temp, etc. to app.id, app.status.type, app.data.temp etc and updated the codes.
The errors in preview I get is…
[{
"app": {
"id": 1,
"status": {
"type": "hello"
},
"data": {
"temp": "error: Field 'app' not found",
"temp_number": "error: Field 'app' not found"
}
}
}, {
"app": {
"id": 2,
"status": {
"type": "success"
},
"data": {
"temp": "error: Field 'app' not found",
"temp_number": "error: Field 'app' not found"
}
}
}