I have this example JSON:
{
"possible_choices": ["one", "two", "three"],
"active_choice": "two"
}
How can I ensure that active_choice can only be one of the possible_choices using JSONSchema?
Basically, I want it to behave as if it is an enum, but values are dynamically picked up from another array property!