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

Feature request : Publish dev friendly json-schema-viewer packages #40

Open
jy95 opened this issue Dec 25, 2022 · 2 comments
Open

Feature request : Publish dev friendly json-schema-viewer packages #40

jy95 opened this issue Dec 25, 2022 · 2 comments

Comments

@jy95
Copy link

jy95 commented Dec 25, 2022

Hello,

After reading #35, I am wondering if it wouldn't be a good opportunity to publish components that could used somewhere else such VS Code extension / CRA apps / Docusaurus / ...

Here is a basic proposal based on what I have a mind :

image

Split into several packages :

  1. @atlassian/json-schema-viewer : Given a schema and a root component, it displays the schema in a human friendly way
  2. @atlassian/json-schema-editor : Given a schema and a root component, it gives a playground for users
  3. @atlassian/json-schema-faker-json / @atlassian/json-schema-faker-yaml (components for @atlassian/json-schema-viewer) : Generate fake data compliant to the current selected path. If some users only care for json or yaml, well, they have the choice
  4. @atlassian/json-schema-toolbar : Given a schema, list all root definitions. When clicking to one item, we are redirected to the proper pages (thus a peer-dependancy with @atlassian/json-schema-viewer)

What do you think ?

Kind regards

@cfoxcfox
Copy link

I would love to be able to export so this view could be seen on Confluence, or export markdown/html to be added to a Confluence page.

@dvgica
Copy link

dvgica commented Sep 21, 2023

I would also love to see this as an NPM package that you could include on arbitrary HTML pages!

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

3 participants