JSON-Schema and JSON-UI-Schema utilities for form generation.
npm install talend-json-schema-form-coreCore library for working with JSON-Schema with a UI-Schema (Form) definition that doesn't depend on a framework.
This library, through the use of its merge module, combines the schema and ui-schema
into a canonical schema for use by its services and external libraries.
You DO NOT use this file in addition to Angular Schema Form, it is embedded at
build into any frameworks using it.
Angular Schema Form and also the Bootstrap decorator bundle``javascript`
/*!
* json-schema-form-core
* @version 1.0.0-alpha.5
* @date Sat, 14 Jan 2017 08:08:15 GMT
* @link https://github.com/json-schema-form/json-schema-form-core
* @license MIT
* Copyright (c) 2014-2017 JSON Schema Form
*/
features to the core (like templates/builders) and the addition
of an API for use by ASF (Angular) and RSF (React) libraries.Please contact @Anthropic via our Gitter if you wish to get involved.
Testing it
$3
There is a branch in angular-schema-form called feature/webpack-babel that integrates the core.
To use it roughly follow these steps:* Clone angular-schema-form to a sibling directory and switch to branch
feature/webpack-babel
* npm install to install dependencies
* npm run build to build with the core.
Use dist/angular-schema-form.js, now with the core from this folder. No need to also load ObjectPath since it is already included*$3
Tests are written in mocha + chai and run trough npm test.When the command
npm run testdoc is run instead, the tests will also generate a readable
markdown` file test.md to document elements of the library.