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
The json-schema docs suggest that a format keyword can be used to validate a string against different standard formats. I was wondering if this project supports either the uri or uri-reference format. A quick source dive seems to indicate that this project does support this feature. However, when I attempt to use specify the format keyword it doesn't seem to be validating a document the way that I expect.
The json-schema docs suggest that a
format
keyword can be used to validate a string against different standard formats. I was wondering if this project supports either theuri
oruri-reference
format. A quick source dive seems to indicate that this project does support this feature. However, when I attempt to use specify theformat
keyword it doesn't seem to be validating a document the way that I expect.Below is an example program:
When I run this example it produces an empty array of errors.
I was expecting that the value of
100
would fail theformat
validation because it is specified as auri-reference
. Have I made a mistake?The text was updated successfully, but these errors were encountered: