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

feat: json schema #133

Merged

Conversation

EmilyGraceSeville7cf
Copy link
Contributor

image

There are several possible ways of utilizing this schema (YAML extension is required in VS Code to make them work):

  • It can be referenced directly # yaml-language-server: $schema={{schema url in this repository}} in clive.yml, this is a manual approach because requires user to put a full URL by hand.
  • It can be put in SchemaStore and referenced there like this. This approach ensures that whenever user edits clive.yml they get the latest hints for it.

If this PR is accepted this schema is referenced in SchemaStore to automatically enable validation for clive.yml.

@EmilyGraceSeville7cf
Copy link
Contributor Author

@koki-develop, please review this PR.

Copy link
Owner

@koki-develop koki-develop left a comment

Choose a reason for hiding this comment

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

Thank you! This is really helpful.

@koki-develop koki-develop merged commit 3ffd8a7 into koki-develop:main Jul 8, 2024
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