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
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.
An array of required properties can't be stated inside the object itself, but only inside the property.
It means that this is schema is not valid
I don't really see a problem with writing the required properties inline with the actually property vs the array. This seems more like a personal preference, correct me if I'm wrong
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.
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: