Skip to content

Commit

Permalink
Add schema $id (#130)
Browse files Browse the repository at this point in the history
Fixes #52 

Per #132 (comment),
the OSV schema must be fully backwards interoperable, meaning using main
instead of a specific version tag is the sanest option.

---------

Signed-off-by: Josh Buker <[email protected]>
  • Loading branch information
joshbuker authored Apr 4, 2023
1 parent c6e7a3a commit c569cde
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions validation/schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/ossf/osv-schema/main/validation/schema.json",
"title": "Open Source Vulnerability",
"description": "A schema for describing a vulnerability in an open source package.",
"type": "object",
Expand Down

0 comments on commit c569cde

Please sign in to comment.