Include simple example of `"additionalProperties": false`
Relequestual opened this issue · 4 comments
The new learning section looks great! Super props to @retrosight!
One common question is around additional properties not defined in the properties schema still passing validation.
I think we've been pretty clear that key words ADD constraints, but I still expect this is sometimes missed.
I feel a small section at the end of the getting started section could address the use case for "additionalProperties": false and show the simplest of examples.
I think sometimes we (including myself) forget that reading RFCs is hard. =]
Assuming others agree, I'm happy to do this. It's pretty minimal.
@Relequestual does this still belong in the main site repo or should we just be redirecting to the updated Understanding JSON Schema?
uses github beta Issue transferred!
This seems to be sufficiently covered including the common difficulties with combining schemas with "additionalProperties": false.