Skip to content

feat: add $schema to properties to allow using the schema file for JSON config validation - #4

Open
guillemc23 wants to merge 2 commits into
DL4EO:mainfrom
guillemc23:feat/config-schema
Open

guillemc23 wants to merge 2 commits into
DL4EO:mainfrom
guillemc23:feat/config-schema

Conversation

@guillemc23

Copy link
Copy Markdown

Adding $schema as a property allows using this file as a validator in VS Code or other IDEs that support this.

When setting $schema at the top of any configuration file, the IDE will show a tooltip with the documentation from the defined schema as in the pic below:

If $schema is not added into the properties, this is not possible 😃

This branch has not been deployed

No deployments
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.

1 participant