Skip to content
This repository has been archived by the owner on Aug 26, 2020. It is now read-only.

Descriptor schema (or just actually be JSON Schema) #311

Open
jmakeig opened this issue Jul 21, 2017 · 5 comments
Open

Descriptor schema (or just actually be JSON Schema) #311

jmakeig opened this issue Jul 21, 2017 · 5 comments
Assignees

Comments

@jmakeig
Copy link
Contributor

jmakeig commented Jul 21, 2017

With a schema, many editors will provide type-ahead hints when editing JSON, for example, in VSCode. We should provide a JSON Schema for our Entity Type Descriptor. We should also publish this at a URL so that it can be referenced in config, such as in the example above.

Longer term, we should think about actually being JSON Schema, rather than kinda like JSON Schema.

@jmakeig jmakeig self-assigned this Jul 21, 2017
@grechaw
Copy link
Contributor

grechaw commented Jul 24, 2017

You realize that this request is for a descriptor for the es in a different version of JSON schema than es was actually based on? I was pretty surprised how different the new JSON schema is from what we used for entity services.

Also, the different between entity services and JSON schema is about supporting datatypes. I've not seen any JSON schema that supports datatypes reasonably.

So, laudable goal, but as you've assigned this to yourself, it looks like you recognize we need a little strategy as well as a task.

@jmakeig
Copy link
Contributor Author

jmakeig commented Jul 24, 2017

Yes, mostly place-holder for now. Title should be “Make a kick-ass editor experience for Entity Services model descriptors”.

@pdesmarets
Copy link

Take a look at https://hackolade.com/nosqldb.html#marklogic A visual JSON Schema editor build for NoSQL databases. Still need to do reverse-engineering of MarkLogic, but almost there...

@grechaw
Copy link
Contributor

grechaw commented Oct 12, 2018

Thanks @pdesmarets , I'll look forward to that. I've tinkered slightly with hackolade and think it would be a great fit for us too.

@pdesmarets
Copy link

We added a ML plugin a few months. Would love to get your feedback for future enhancements.

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

No branches or pull requests

3 participants