@lilitkarapetyan - you're familiar with the json editor.
I've sponsored a project to extend this, so that it can be used to edit JSON Schemas, not just JSON Documents [1]
But, before we put it into our project, we have to wrap it, for ReactJS.
So, I'd like you to produce a react component within a single-page application that wraps the JSon Schema Editor, and just exposes these methods:
set the schema document to be edited
provide a callback, for when the schema has been edited
get the current version of the schema document
The control should have no state management, it should just manage it's own state.
The current version of the control is in the branch below [2]. If that branch has been deleted, it's because it will have been merged - in which case you can use the master branch.
For testing purposes, you can pass it a copy of this JSON schema [3]
@lilitkarapetyan - you're familiar with the json editor.
I've sponsored a project to extend this, so that it can be used to edit JSON Schemas, not just JSON Documents [1]
But, before we put it into our project, we have to wrap it, for ReactJS.
So, I'd like you to produce a react component within a single-page application that wraps the JSon Schema Editor, and just exposes these methods:
The control should have no state management, it should just manage it's own state.
The current version of the control is in the branch below [2]. If that branch has been deleted, it's because it will have been merged - in which case you can use the master branch.
For testing purposes, you can pass it a copy of this JSON schema [3]
[1]. https://github.com/DeepBlueCLtd/json-schema-editor [2]. https://github.com/DeepBlueCLtd/json-schema-editor/tree/props-label [3]. https://github.com/DeepBlueCLtd/serge-schemas/blob/master/schemas/machinery_failure.json