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
Indeed, the oneOf validation results are really not intuitive. I'll add a note to the docs until they are not good enough.
The validation fails because format is an annotation, not an assertion (for Draft 2020-12), and you need to enableformat validation explicitly. I am going to update the docs on this matter too
Schema:
Data:
Output:
I would say there is no ambiguity preventing differentiation between a UUID and "parent"?
Regex:
Works.
As an aside, finding the issue in the first place was a bit of a struggle, so +1 for this: #649
The text was updated successfully, but these errors were encountered: