pboettch / json-schema-validator

JSON schema validator for JSON for Modern C++
Other
470 stars 135 forks source link

support uri format validation of string properties #158

Closed linus-gates closed 1 year ago

linus-gates commented 3 years ago

I would like to use the "uri" format to validate a string property however it's currently unsupported. According to json schema draft 7 the string should be validated as specified by rfc3986

Thanks in advance, linus

pboettch commented 3 years ago

If you can contribute this, do not hesitate. There is a default_string_format_check()-function in the library which already checks some of the optional formats. This functions just sits there and waits for more features.