Skip to content

url

Validator checks if given value is a correct URL.

Parameters

allowRelativePath

bool Option is optional and represents information if relative path is allowed. If not passed or false, URL must be absolute.

Example

source
{ 
  "type" : "url",
  "options": {"allowRelativePath" : true }
}