Using Arrays
You can add an array to your schema like this:
"DemoStringArray":
{
"type": "array",
"items": {
"type": "string"
},
"default": ["1","2","3","4","5"],
"description": "This is a string array live config"
},
"DemoNumberArray":
{
"type": "array",
"items": {
"type": "number"
},
"default": [1,2,3,4,5],
"description": "This is a number array live config"
},
"DemoBoolArray":
{
"type": "array",
"items": {
"type": "boolean"
},
"default": [true, false, false, true, false],
"description": "This is a bool array live config"
}You can override array elements like this:

Last updated
Was this helpful?

