FYI, this is an emerging spec at https://github.com/package-url/purl-spec/pull/1 You may be interested in it and may consider using it too.