0.2.30 • Published 7 years ago
json-schema-editor-react16 v0.2.30
JSON Schema Editor
Generates HTML for creating and modifying json schemas. I created this because json-editor is not good at modifying schemas (using the meta schema) and couldn't find any other good UI for making json schemas.
Getting started
Make sure React is loaded on your page. Read more at facebook/react.
Include JSON Schema Editor
Using npm:
npm install json-schema-editor
import JSONSchemaEditor from 'json-schema-editor';
- Initialize the component
render() {
return (
<JSONSchemaEditor
data={{}}
onChange={console.log}
/>
);
}
Example
Here is what the product schema example looks like rendered.
Todo
- Add support for the description field.
- exclusiveMinimum and exclusiveMaximum, are these even necessary?
- refs
- definitions
- patternProperties
- allOf, anyOf, oneOf
0.2.30
7 years ago
0.2.29
7 years ago
0.2.28
7 years ago
0.2.27
7 years ago
0.2.26
7 years ago
0.2.25
7 years ago
0.2.24
7 years ago
0.2.23
7 years ago
0.2.22
7 years ago
0.2.21
7 years ago
0.2.20
7 years ago
0.2.19
7 years ago
0.2.18
7 years ago
0.2.17
7 years ago
0.2.16
7 years ago
0.2.15
7 years ago
0.2.14
7 years ago
0.2.13
7 years ago
0.2.12
7 years ago
0.2.11
7 years ago
0.2.10
7 years ago
0.2.9
7 years ago
0.2.8
7 years ago
0.2.7
7 years ago
0.2.6
7 years ago
0.2.5
7 years ago
0.2.4
7 years ago