Related to: #4953 ### Description The comparison of versions would be easier if there would be a type of version in the database. Types could be: - custom - git - maven - python - deb - rpm - semver That would align the data with the schema for a CVE Record: https://github.com/CVEProject/cve-schema. An alternative would be using a version range string: https://github.com/package-url/purl-spec/blob/main/VERSION-RANGE-SPEC.rst and use univers for the comparison: https://github.com/aboutcode-org/univers.