You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This gets pretty ugly and error-prone with larger schemas. The suggested minProperties fix is problematic when the object might have additional properties on it.
Would it be possible to support a shorthand syntax like required: true? (Or maybe optional: [])?
The text was updated successfully, but these errors were encountered:
See this StackOverflow question lamenting the repetitiveness of the
required
key in schemas like:This gets pretty ugly and error-prone with larger schemas. The suggested
minProperties
fix is problematic when the object might have additional properties on it.Would it be possible to support a shorthand syntax like
required: true
? (Or maybeoptional: []
)?The text was updated successfully, but these errors were encountered: