It's easy with static data like this:
"properties": {
"type": { "type": "string", "enum": [ "cell", "home", "work" ] },
"number": { "type": "string" }
},
But what should be done if my schema is dynamic?
enum can have different values for different element of array.
{
label,
selectedIds
}