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
For example, behavior of dependencies changed in draft v4.
"dependencies" member values can no longer be single strings; at least one element is required in a property dependency array.
If we implement validator of draft v4's dependencies strictly, dependencies with single strings value schema (which is draft-v3-valid) should be invalid JSON schema.
Maybe we have 3 choices.
Implement for draft v4 (or newest draft). Don't think about older draft.
Accept both draft-v4-valid schema and draft-v3-valid schema (as long as we can)
Add some option to work with draft v3 compatibility mode.
Now I'm working for #9.
From draft v3 to draft v4 (draft-00?), some definitions are changed. http://json-schema.org/latest/json-schema-validation.html#anchor145
For example, behavior of
dependencies
changed in draft v4.If we implement validator of draft v4's
dependencies
strictly,dependencies
with single strings value schema (which is draft-v3-valid) should be invalid JSON schema.Maybe we have 3 choices.
IMO the first one seems best. How do you think? > @hitode909 @pokutuna FYI @aereal
The text was updated successfully, but these errors were encountered: