-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing some serious features #95
Comments
|
@mershal - You might find http://github.com/mschema/mschema a better alternative. It supports the syntax you require. |
I think @mershal is right, the JSON schema specification says, that there should be a property "required" in the schema that holds an array of the required properties. http://json-schema.org/latest/json-schema-validation.html#anchor61 Example: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've just started using this package due to the need of custom messages, but unfortunately I'd probably stop using it, because it lacks some features that are critical.
It means that this is schema is not valid
and instead I have to write it like that:
anyOf
,allOf
,oneOf
andnot
are not supported, and are simply ignored, so many of my objects cannot be validated against their schemaThe text was updated successfully, but these errors were encountered: