This repository was archived by the owner on Mar 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ and with a modern es6 capable browser.
1313
1414## Getting started
1515
16+ ``` npm install json-schema-js-gui-model ```
17+
1618Schemas can be translated using the exported GuiModelMapper class or by the the command line
1719command * mapToGuiModel* when the library is installed with -g option by npm.
1820
19- ``` npm install json-schema-js-gui-model ```
20-
2121Code:
2222``` typescript
2323import { GuiModelMapper , GuiModel , JsonSchema } from ' json-schema-js-gui-model' ;
@@ -40,7 +40,7 @@ contain any validation elements.
4040
4141The constructed UI should still use the json schema for validation purposes. If the form is
4242carefully constructed the output will conform to the underlaying json schema when valid. A fast
43- schema validator like [ ajv] ( https://github.com/epoberezkin/ajv ) can easily do validation of a from
43+ schema validator like [ ajv] ( https://github.com/epoberezkin/ajv ) can easily do validation of a form
4444in realtime at each keypress if necessary.
4545
4646## Example from schema to gui model to ui form:
You can’t perform that action at this time.
0 commit comments