json schema message: 'should be equal to constant' code example
Example: jsonschema string enum
{
"type": "array",
"items": {
"type": "string",
"enum": ["one", "two", "three"]
}
}
{
"type": "array",
"items": {
"type": "string",
"enum": ["one", "two", "three"]
}
}