Hi all!
I’m using JSONForms v3.0.0-alpha.3 and I’m having problems rendering a form that contains the data below:
{
"offers_to_testdrive": [
[
"Sumá 30GB GRATIS a tu plan. 10GB por mes durante 3 meses",
"Usá tu Movistar sin preocuparte por 90 días y conocé tu plan ideal.",
"Mirá también tus series favoritas con Movistar TV."
],
[
{
"benefits": "10GB al mes",
"msg": "Para navegar",
"type": "data"
},
{
"benefits": "Llamadas",
"msg": "A todas las compañías",
"type": "call"
}
],
[
"No incluye llamadas internacionales ni Roaming. Tope de minutos a otras compañías: 1.000",
"El uso de Test Drive no genera cargos adicionales en tu factura."
]
]
}
Currently I’m using this schema:
{
"type": "object",
"required": [
"offers_to_testdrive"
],
"properties": {
"offers_to_testdrive": {
"type": "array",
"items": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "array",
"items": {
"type": "object",
"properties": {
"benefits": {
"type": "string"
},
"msg": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"benefits",
"msg",
"type"
]
}
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
}
}
And I’m getting the following errors when opening the form elements:
Any ideas on what can I do with the schema? I can’t change anything from the data btw.
Thanks in advance