Skip to content

Commit

Permalink
Clarify PURL requirements. (#300)
Browse files Browse the repository at this point in the history
PURLs should not include the `@version` component when used in OSV. 

`affected[].ranges[]`  should be used for this purpose.

Signed-off-by: Oliver Chang <[email protected]>
  • Loading branch information
oliverchang authored Oct 29, 2024
1 parent ad55659 commit ff6ac7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,8 @@ within its ecosystem. The two fields must both be present, because the

The `purl` field is a string following the
[Package URL specification](https://github.com/package-url/purl-spec) that
identifies the package. This field is optional but recommended.
identifies the package, without the `@version` component.
This field is optional but recommended.

Different ecosystems can define the same names; they identify different
packages. For example, these denote different libraries with different sets of
Expand Down

0 comments on commit ff6ac7d

Please sign in to comment.