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
Ajv reports a validation error for a valid uri string.
URI: https://hi.wikipedia.org/wiki/जर्मनी
Validation error text: data must match format "uri"
I know e.g. नी is not ASCII and RFC 3086 does not define the use of other characters. Nethertheless it is a valid url and
shouldn't the strings representing an URL be u subset of the strings representing an URI?
What version of Ajv are you using? Does the issue happen if you use the latest version?
ajv version: 8.17.1 (latest version)
Validation result, data AFTER validation, error messages
validationResult: false
errors: [{
"instancePath": "",
"schemaPath": "#/format",
"keyword": "format",
"params": {
"format":"uri"
},
"message": "must match format \"uri\""
}]
message: data must match format "uri"
What results did you expect?
validationResult: true
errors: null
message: No errors
The text was updated successfully, but these errors were encountered:
Ajv reports a validation error for a valid uri string.
URI:
https://hi.wikipedia.org/wiki/जर्मनी
Validation error text:
data must match format "uri"
I know e.g.
नी
is not ASCII and RFC 3086 does not define the use of other characters. Nethertheless it is a valid url andshouldn't the strings representing an URL be u subset of the strings representing an URI?
What version of Ajv are you using? Does the issue happen if you use the latest version?
ajv version: 8.17.1 (latest version)
Ajv options object
JSON Schema
Sample data
Your code
Validation result, data AFTER validation, error messages
What results did you expect?
The text was updated successfully, but these errors were encountered: