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

JSONSchema and UISchema #39

Open
fedorov opened this issue Aug 2, 2018 · 2 comments
Open

JSONSchema and UISchema #39

fedorov opened this issue Aug 2, 2018 · 2 comments
Labels

Comments

@fedorov
Copy link

fedorov commented Aug 2, 2018

This project might be an interesting direction to explore to support rendering of the JSONSchema-defined template and UISchema for the representation for the model configuration files, so that input types, attributes can be typed and validated at the time of submission: https://github.com/mozilla-services/react-jsonschema-form#the-uischema-object

@fedorov
Copy link
Author

fedorov commented Aug 10, 2018

Another interesting piece to the puzzle: https://github.com/cwacek/python-jsonschema-objects. The intent of this one is to be able to generate an object factory based on a JSON-schema definition. I think in some context it can be interesting for this project. If it works, it would be quite cool! I am not very successful to get it to work for a schema of my interest from dcmqi, but perhaps it is because that schema is too complicated. Would be interesting to know if it works for the modelhub schema.

@ahmedhosny
Copy link
Member

Thanks Andrey the first link is a react library (same as our frontend) - would be very cool to have a single page web app that guides the contributor through filling in the form and spits out the json. Let me look into it.

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

2 participants