voxpupuli / json-schema

Ruby JSON Schema Validator
MIT License
1.54k stars 243 forks source link

Explicitly notes :strict overrides any required properties set in schema #252

Closed KTKate closed 9 years ago

KTKate commented 9 years ago

This tiny change in the readme just makes it clear that strict mode overrides the required properties set in the schema. The text said all properties were required by default, which I assumed meant that they would be required unless the schema explicitly specified otherwise. A very small but potentially frustrating distinction.

If others are like me this could save them some time debugging their complex schema & fragments.

iainbeeston commented 9 years ago

Thanks for the correction!