Skip to content
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

Fixed missing required keywords #215

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kurtseifried
Copy link
Contributor

Fixed missing required keywords and pushed 1.0.1

Copy link
Member

@joshbuker joshbuker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ref appears to be missing the semver flag in the path

@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/cloudsecurityalliance/gsd-tools/main/gsd-schema/validation/schema.json",
"$id": "https://schema.gsd.id/gsd.id/gsd/schema.json",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is missing the semver flag, should be:

https://schema.gsd.id/gsd.id/gsd/latest/schema.json

@@ -311,7 +311,9 @@
},
"required": [
"id",
"modified"
"modified",
"schema_type",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're adding required fields, it might make sense to also require things like schema_version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants