JSON schema enumerated type code example
Example: JSON schema enumerated type
{
"type": "array",
"items": {
"type": "string",
"enum": ["one", "two", "three"]
}
}
{
"type": "array",
"items": {
"type": "string",
"enum": ["one", "two", "three"]
}
}