mdi-chevron-left Other Bits of Bytes JSON Schema Form Generator mdi-share-variant Share mdi-github Code on GitHub mdi-information-outline Schema Form Instance

JSON Schema Form Generator


This tool is built specifically as an aid for writing JSON schemas for describing metadata and paradata of heritage science datasets. JSON schemas define the precise format in which the meta- and paradata will be stored in the form of JSON, which is particularly useful for the diverse nature of datasets in heritage science.

Internally, it uses VJSF, a component for Vue.js and Vuetify. Besides standard JSON schema, VJSF supports a few additional properties, mainly for rendering purposes.

To get started, put a valid JSON schema in the editor on the "Schema" tab. VJSF will automatically generate a form, that can be viewed on the "Form" tab. Data entered in the form will automatically entered in the instance (in JSON format), which can be viewed on the "Instance" tab. Conversely, data entered in the instance editor will automatically be entered in the form.

No data is sent to the server. Both the schema and the instance are living locally in your browser.


Options

VJSF has basic validation built-in, but this does not support more complex types of form validation, e.g. if/then/else syntax or anyOf syntax. When a more thorough validation of the form data is required, an external JSON schema validator such as AJV can be used. The messages will often be less intuitive than when they are created by vjsf itself based on simple rules, but this mechanism can help prevent outputting invalid data.

Credits



Load an existing JSON schema


Branch/tag/commit:
mdi-refresh Refresh

JSON schema editor

mdi-download Download

mdi-download Save form data

mdi-download Save form data
mdi-download Save form data
Shareable link Close
Developed by Wim Fremout for the Royal Institute for Cultural Heritage
mdi-github The source code of JSON Schema Form Generator is available on GitHub as open source under the MIT license.
This tool was developed and tested as part of the work of the following projects:
HESCIDA is a project funded by the Belgian Science Policy PPS
Grant number FSIRI/00/HE1
IPERION HS is a project funded by the European Union
H2020-INFRAIA-2019-1, under GA 871034