79526225

Date: 2025-03-21 17:42:19
Score: 0.5
Natty:
Report link

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
}
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Sergey Nikolaevich Guk