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

RFC: Add CUE schema definitions #2536

Closed
jpluscplusm opened this issue Oct 17, 2022 · 5 comments
Closed

RFC: Add CUE schema definitions #2536

jpluscplusm opened this issue Oct 17, 2022 · 5 comments
Labels
enhancement:build-server Propose something new for the SchemaStore web site or build server. (auto-generated by issue forms)

Comments

@jpluscplusm
Copy link

jpluscplusm commented Oct 17, 2022

Description of the feature / enhancement.

Hello! 👋

I'm opening this Issue as a way for me to ask the SchemaStore project a single question: is there any interest in also providing the fab corpus of schemas that the project currently serves as JSONSchema, but as CUE's .cue files?

With (IMHO!) fantastic foresight, SchemaStore has established the canonical source of JSONSchema docs via a json-specific FQDN (json.schemastore.org). CUE has the concept of importing externally-defined CUE config repositories, and is working on designing and implementing the automated fetching of those external sources. I figured I'd ask SchemaStore's folks if there's any interest in investigating the value of being the canonical source of directly-importable CUE schemas for folks in that tooling ecosystem? Perhaps (and this is a really early, unbaked idea!) as something like cue.schemastore.org?

I've done some initial work on how one could process SchemaStore's existing .json corpus, in a fork over here: https://github.com/cueniform/schemastore/tree/cueniform_main. Before I do much more in that fork, I thought it'd be a good idea to reach out and ask for your feelings on this. Of course, there's absolutely no worries either way - a "no thanks, our focus is solely on JSONSchema documents" is as useful as a "yes!", as it gives me just as much a direction to move :-)

Whatever response this gets - thanks a million for this fantastically useful project :-D

[PS I have nothing to do with the CUE project - I'm simply a happy and appreciative user of both SchemaStore and CUE!]

Are you making a PR for this?

Yes, I will create a PR.

@jpluscplusm jpluscplusm added the enhancement:build-server Propose something new for the SchemaStore web site or build server. (auto-generated by issue forms) label Oct 17, 2022
@GerryFerdinandus
Copy link
Contributor

My opinion: "no thanks, our focus is solely on JSONSchema documents"

@jpluscplusm
Copy link
Author

Thanks for the steer, @GerryFerdinandus - appreciated. Does that close this RFC down definitively?

@GerryFerdinandus
Copy link
Contributor

Leave this issue/RFC open for now. The site owner (@madskristensen) determines the future direction/function of SchemaStore

@madskristensen
Any comment?

@madskristensen
Copy link
Contributor

As @GerryFerdinandus mentioned, this site focuses on JSON Schemas that can then be used by any language server that supports them, such as JSON, YAML, TOML, etc. If CUE's editor implementation could be made to support JSON Schemas, then it can interface directly with the API available here on SchemaStore.org.

@jpluscplusm
Copy link
Author

Cheers @madskristensen - thanks for a really useful project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement:build-server Propose something new for the SchemaStore web site or build server. (auto-generated by issue forms)
Projects
None yet
Development

No branches or pull requests

3 participants