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

Make JSON-Schema for netkan files? #14

Closed
janbrohl opened this issue May 22, 2016 · 1 comment · Fixed by KSP-CKAN/CKAN#4254
Closed

Make JSON-Schema for netkan files? #14

janbrohl opened this issue May 22, 2016 · 1 comment · Fixed by KSP-CKAN/CKAN#4254

Comments

@janbrohl
Copy link

janbrohl commented May 22, 2016

Not sure if this belongs here or should go to https://github.com/KSP-CKAN/CKAN/issues

JSON-Schema allows for JSON validation via Javascript (as well as other languages)

This would be useful for the metadata-webtool - see KSP-CKAN/metadata-webtool#6

For ckan files this already exists ( see https://github.com/KSP-CKAN/CKAN/blob/master/CKAN.schema ) and a netkan schema can propably be built on that.

@techman83
Copy link
Member

Technically NetKAN is a subset of a CKAN, so any field in a CKAN is valid in a NetKAN. All CKANs are now generated using NetKAN. The primary difference is that a traditional NetKAN takes a '$kref' for inflating the rest of the data, including the version of the mod.

We would just need a minor derivative to not require a download or version if a kref is present.

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

Successfully merging a pull request may close this issue.

3 participants