Trying to create using dynamic component extension.
But getting error with the schema.
I have validated the schema but still gives error
{
"name": "Cus",
"metadata-version": 1,
"author": "cus",
"platforms": [
"ai2.appinventor.mit.edu"
],
"extensions": {},
"keys": [
"id",
"Que",
"Image",
"Option",
"Intro",
"EImage",
"fulltext",
"keyconcepts",
"KImage",
"keyconcepts2",
"RBook"
],
"components": [
{
"id": "Q{id}",
"type": "Label",
"properties": {
"FontSize": 16,
"FontTypeface": "AvertaDemoPE-Regular.otf",
"Width": -1090,
"Text": "{Que}",
"TextColor": -526345
},
"components": []
},
{
"id": "H1{id}",
"type": "HorizontalArrangement",
"properties": {},
"components": [
{
"id": "I{id}",
"type": "Image",
"properties": {
"Width": -1089,
"Picture": "{Image}"
},
"components": []
}
]
},
{
"id": "H2{id}",
"type": "HorizontalArrangement",
"properties": {
"AlignVertical": 2,
"Width": -1089
},
"components": [
{
"id": "H3{id}",
"type": "HorizontalArrangement",
"properties": {
"AlignHorizontal": 3,
"AlignVertical": 2
},
"components": [
{
"id": "L{id}",
"type": "Label",
"properties": {
"FontSize": 16.5,
"FontTypeface": "AvertaStd-Semibold.ttf",
"Text": "A",
"TextColor": -526345
},
"components": []
}
]
},
{
"id": "O{id}",
"type": "Label",
"properties": {
"FontSize": 16,
"FontTypeface": "AvertaDemoPE-Regular.otf",
"Width": -1090,
"Text": "{Option}",
"TextColor": -526345
},
"components": []
}
]
},
{
"id": "EA{id}",
"type": "VerticalArrangement",
"properties": {
"AlignHorizontal": 3,
"Width": -1089
},
"components": [
{
"id": "L1{id}",
"type": "Label",
"properties": {
"FontSize": 18,
"FontTypeface": "AvertaStd-Semibold.ttf",
"HTMLFormat": true,
"Width": -2,
"Text": "Explanation :",
"TextColor": -3777197
},
"components": []
},
{
"id": "intro{id}",
"type": "Label",
"properties": {
"FontSize": 16,
"FontTypeface": "AvertaDemoPE-Regular.otf",
"HTMLFormat": true,
"Width": -2,
"Text": "{Intro}",
"TextColor": -3355444
},
"components": []
},
{
"id": "H4{id}",
"type": "HorizontalArrangement",
"properties": {
"AlignHorizontal": 3,
"AlignVertical": 2,
"Width": -2
},
"components": [
{
"id": "EI{id}",
"type": "Image",
"properties": {
"Width": -2,
"Picture": "{EImage}"
},
"components": []
}
]
},
{
"id": "full{id}",
"type": "Label",
"properties": {
"FontSize": 15,
"FontTypeface": "AvertaDemoPE-Regular.otf",
"HTMLFormat": true,
"Width": -2,
"Text": "{fulltext}",
"TextColor": -3355444
},
"components": []
},
{
"id": "L2{id}",
"type": "Label",
"properties": {
"FontSize": 18,
"FontTypeface": "AvertaStd-Semibold.ttf",
"HTMLFormat": true,
"Width": -2,
"Text": "Key Points :",
"TextColor": -3777197
},
"components": []
},
{
"id": "key{id}",
"type": "Label",
"properties": {
"FontSize": 16,
"FontTypeface": "AvertaDemoPE-Regular.otf",
"HTMLFormat": true,
"Width": -2,
"Text": "{keyconcepts}",
"TextColor": -3355444
},
"components": []
},
{
"id": "H5{id}",
"type": "HorizontalArrangement",
"properties": {
"Width": -2
},
"components": [
{
"id": "KC{id}",
"type": "Image",
"properties": {
"Width": -2,
"Picture": "{KImage}",
"ScalePictureToFit": true
},
"components": []
}
]
},
{
"id": "key2{id}",
"type": "Label",
"properties": {
"FontSize": 16,
"FontTypeface": "AvertaDemoPE-Regular.otf",
"HTMLFormat": true,
"Width": -2,
"Text": "{keyconcepts2}",
"TextColor": -3355444
},
"components": []
},
{
"id": "book{id}",
"type": "Label",
"properties": {
"FontItalic": true,
"FontSize": 15,
"FontTypeface": "AvertaDemoPE-Regular.otf",
"HTMLFormat": true,
"Width": -2,
"Text": "{RBook}",
"TextColor": -7829368
},
"components": []
}
]
}
]
}