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

Metadata utility to process json schemas #40

Open
5 tasks
jurra opened this issue Nov 24, 2020 · 1 comment
Open
5 tasks

Metadata utility to process json schemas #40

jurra opened this issue Nov 24, 2020 · 1 comment
Assignees
Labels

Comments

@jurra
Copy link
Member

jurra commented Nov 24, 2020

To properly create templates from schemas we need to recursively get schemas nested in schema properties.
We use the schemas to generate templates.

Specifications

  • The input is a schema
  • The output should be an object resembling an empty data object generated from that schema.

You can see more about this simple algorithm here.

Check list

The minimum

  • Recursive iteration on properties that have additional items
  • Write to the metadata
  • When the user selects the standard then:
  • Load this template when initializing a new project

The ideal

  • Process referenced/complex schemas

I also add the image
image

@jurra jurra self-assigned this Nov 24, 2020
@create-issue-branch
Copy link

@jurra jurra added the feature label Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant