Skip to content

CINERGI/dynamic-json-editor-schema-translator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic JSON Editor and Schema Translator (DyJest)

This Metadata Editor is based on a D3 SVG tree graphic, using a local json file as the User interface schema to build the nodes. Also included in the json file are reference attributes for populating values with data imported from external api calls that return json. The intent is for this editor to work with multiple UI json schemas and to easily adapt to variety of metadata standards, formats and sources. The source json object is preserved locally, and once the edits have been completed the intent is with an export schema, to map the Json object back to the source structure and post it back to its original repository.

The transform function iterates through a provided schema, and looks up all reference attribute values from the source json, returning a json object that has the structure of the provided schema populated with data from the source json. This allows the same transform functions to be used for both exports and imports, only requiring accurate json schemas to provide correct json output.

Note: This tool is in development and not yet fully functional.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.8%
  • HTML 7.1%
  • CSS 7.1%