0.3.0 • Published 7 months ago

form-json-schema v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

🚧 This project is still under development. Use at your own risk!

form-json-schema

Build Status

JSON Schema for form-js. The schema is built on top of and validated by json-schema@draft-07.

Usage

Set the $schema attribute to reference the JSON Schema definition.

{
  "$schema": "https://unpkg.com/form-json-schema/resources/schema.json",
  "type": "default",
  "schemaVersion": 11,
  "components": []
}

You can also use a specific version.

"$schema": "https://unpkg.com/form-json-schema@0.2.0/resources/schema.json"

Build and Run

Prepare the project by installing all dependencies:

npm install

Bundle the source schema files together

npm run build

Execute the following command to run the generated schema against the tests

npm run test

Schema compatibility notice

This schena is currently only compatible with following form-js schema versions.

JSON schema versionform-js schema version
>= 0.2<= 12

License

MIT

0.3.0

7 months ago

0.2.0

7 months ago

0.1.0

7 months ago