osv-schema icon indicating copy to clipboard operation
osv-schema copied to clipboard

Publish JSON schema to GitHub pages

Open JamieMagee opened this issue 2 years ago • 2 comments

As far as I can see, the JSON schema is only available at https://raw.githubusercontent.com/ossf/osv-schema/main/validation/schema.json. But raw.githubusercontent.com isn't really designed to be used as a CDN, which means that putting it in a $schema property isn't appropriate.

Copying the schema as part of the GitHub pages deployment, to something like https://ossf.github.io/osv-schema/schema.json, would be better in the long run

JamieMagee avatar Feb 21 '24 03:02 JamieMagee

Thanks for the suggestion! Would you be open to submitting a PR for adding this to https://ossf.github.io/osv-schema/schema.json ?

oliverchang avatar Mar 20 '24 00:03 oliverchang

@oliverchang I created #232

JamieMagee avatar Mar 21 '24 04:03 JamieMagee