-
-
Notifications
You must be signed in to change notification settings - Fork 118
APSOC '22 Improved JSON Schema for UI Generation
-
Currently , if a user who is working on Accord Project , wants to create a web form to populate or add data for a template , then they have to create a custom web form for the same , using React JS or any other preferred framework , this is a tedious task for the developers.
-
So to make the Accord Project more efficient and User-friendly , we can create a library /package that would interrogate the data model for the template and auto-generate a UI which could then be used to view/edit the data in the template.
-
During the APSOC period I will create a library / package which would generate a custom web form with help of JSON Schema and also make sure that this library is user-friendly and well-documented so that Accord Project developers can easily get acquainted with the same .
Meeting 1 : July 14 , 2022
- Basic Introduction Call with all the contributors & mentors.
Meeting 2 : July 20 , 2022
- Met with Martin to discuss further about the project .
- Showed the demo project / sample project created , which generates a dynamic form via JSON Schema .
- Discussed on how to convert Concerto data model format to JSON Schema .
- Discussed in depth about the project steps and how to convert JSON Schema to UI Schema in order to further use it .
July 14 - July 21 , 2022
- Created the sample project and got it approved by Martin .
- Working on converting the concerto data model format to JSON Schema , using Concerto tools .
- Researching and understanding Concerto model in a better way .
July 21 - July 28 , 2022
- Studied the Concert Model in more depth .
- Converted and tested the existing "concerto compile " command , that converts CTO to JsonSchema .
- Identified some of the changes that need to be done in "JsonSchemaVisitor" , so that the generated Schema is more imformative & can be used in forms .
- Changes Identified :
- Currently the existing schema generated only shows "required" elements , it would be go to have a separate "optional" elements in the schema .
- Redundant namespaces in the same schema .