json-schema-org / json-schema-spec

The JSON Schema specification

Home Page:http://json-schema.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enum : Clarification

LasneF opened this issue · comments

given the illustration there

https://json-schema.org/understanding-json-schema/reference/enum

it would be good to add a precision that the enum validation, for string, is case sensitive , and so introducing in the sample list "RED" that would fail the validation

This would also be nice to mentionned the precision here
https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-validation-00#rfc.section.6.1.2

may be as well as a general rules for the nice understanding json schema documentation , propose for each element a link to the core
json rfc specification this would help for traceability and digging into the deatails

@awwright is this issue under work??

i would like to work on it