A RIDDL version of a URL since the JVM version isn't useful to Javascript. This just allows a simplified URL that has a scheme, authority, basis and path part.
Value parameters
authority
The authority part providing the basic location and credentials of the resource. The full syntax should be user@host:port. This field must not contain a /
basis
The "root" path or basis of the URL. This is for compatibility with "file" scheme as taken from java.nio.file.Path's functionality that the current working directory will be presumed as the root of the path. You can use the toBasisString method to get the URL without the path part. basis should not start with a /
path
The path of the resource. Fragments (part after #) can be included in the path if necessary. This URL implementation doesn't check the validity or existence of the fragment. path should not start with a /