Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jsonschema string enum

{
    "type": "array",
    "items": {
        "type": "string",
        "enum": ["one", "two", "three"]
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jsonschema #string #enum
ADD COMMENT
Topic
Name
6+4 =