Draft 04 | Draft 06 | Draft 07 | Draft 2019-09 | Draft 2020-12 |
An array of unique Json elements. If the 'enum' property is specified then it must contain at lease one element. Elements in the array MAY be of any type, including null.
An instance validates successfully against this property if its value is equal to one of the elements in this array.
Put simply the instance value for this schema must be one of the values in the 'enum' property.