Function validateNewService

  • Performs sanity checks on service data, making sure that the following conditions are met:

    • The id property is a string containing a valid URI fragment according to RFC#3986, not a complete DID URL.
    • If the uris property contains one or more strings, they must be valid URIs according to RFC#3986.

    Parameters

    Returns void