Ember-cli-json-schema
WARNING: This is still very much a work in progress. It does not yet fully implement the json-schema spec and is missing many critical features. I am currently working directly against master so expect breaking changes at any moment.
Description
ember-cli-json-schema
is provides a service that can load json schemas, create objects from schemas, and validate those objects. This addon will inject a schema
service into your routes that can be used to preform these operations.
Usage
var schema =title: "Person"type: "object"properties:"firstName":type: "string""lastName":type: "string""age":description: "Age in years"type: "integer"required: "firstName" "lastName"Route
Installation
git clone
this repositorynpm install
bower install
Running
ember server
- Visit your app at http://localhost:4200.
Running Tests
ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.