-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CVE v5 Schema $id returns a 404 #220
Comments
We discussed this and should fix by pointing to |
@chandanbn so, there is one gotcha that would make providing a specific endpoint as opposed to relying on githubusercontent preferable: JSON schema expects See also:
Would it be possible to get specific endpoints that provide v4 and v5 schemas with the appropriate content type? Alternatively, we could reach out to the JSON schema validator maintainers, and see if it's possible to get validators to accept |
Alternatively, it could be published under https://cveproject.github.io/cve-schema/ where the content type should be set based on the file extension: https://github.com/jshttp/mime-db/blob/a76e5a824c228e2e58363c9404e42a54ee1d142f/src/apache-types.json#L195 |
Fixed to point to https://cveproject.github.io/cve-schema/schema/v5.0/docs/CVE_JSON_5.0_bundled.json |
@chandanbn Heads up that the $id for https://cveproject.github.io/cve-schema/schema/v5.0/docs/CVE_JSON_5.0_bundled.json does not point to itself (still points to the 404ing https://cve.org/cve/record/v5_00/) |
Per the v5 schema: https://raw.githubusercontent.com/CVEProject/cve-schema/master/schema/v5.0/CVE_JSON_5.0_schema.json
The canonical URL for the schema is: https://cve.org/cve/record/v5_00/
That page currently returns a 404 instead of the schema json:
The text was updated successfully, but these errors were encountered: