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

Validate all YAML against a schema #27

Open
alexdresko opened this issue May 11, 2017 · 1 comment
Open

Validate all YAML against a schema #27

alexdresko opened this issue May 11, 2017 · 1 comment

Comments

@alexdresko
Copy link
Collaborator

You can use xsd.exe to create an initial schema, and then tweak it by hand if necessary. Typically, the schema created by xsd.exe is close, but not perfect. https://msdn.microsoft.com/en-us/library/x6c1kb0s(v=vs.110).aspx

Would recommend adding a gulp build/watch task to do the actual validation.

@zshall
Copy link
Owner

zshall commented Mar 1, 2024

In version 2 we're using YAML. The XML-based channel lineup will be removed from in favor of a new data schema that will be documented in the repository. Some YAML schemas and validators exist, and this issue should attempt to try making use of one, perhaps utilizing a plugin in Visual Studio Code to make sure everything is correct. Validation occurs in the app too to some extent, throwing errors if we encounter malformed configuration files.

@zshall zshall changed the title Validate all XML against a schema (XSD) Validate all YAML against a schema Mar 1, 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

No branches or pull requests

2 participants