url
Checks that the value is a URL. Only the http and https protocols are allowed, and the protocol is required.
Error codes: WRONG_URL, FORMAT_ERROR
rules
input
Invaliderrors
{
"homepage": "WRONG_URL"
}Checks that the value is a URL. Only the http and https protocols are allowed, and the protocol is required.
Error codes: WRONG_URL, FORMAT_ERROR
{
homepage: 'url'
}{
homepage: 'ftp://example.com'
}{
"homepage": "WRONG_URL"
}