Open
Description
What Docs changes are you proposing?
I was just quickly looking up how to define a property as required and skimming through the Getting Started for that, where I read in the corresponding section:
To define a required property:
[...]
2. Add theexclusiveMinimum
validation keyword and set the value to zero:
[...]
3. Add therequired
validation keyword to the end of the schema
Not thinking too much about it, I read this as "exclusiveMinimum=0 means that there must be at least one item of this" -- but in fact this keyword refers to the value. The example should be changed here to not be misleading.
Code reference:
Code of Conduct
- I agree to follow this project's Code of Conduct