js-data / js-data-schema

Define and validate rules, datatypes and schemata in Node and in the browser.
http://www.js-data.io/docs/js-data-schema
MIT License
18 stars 10 forks source link

List of validation / types? Where to find more validation rules? #4

Open facultymatt opened 9 years ago

facultymatt commented 9 years ago

I see from the documentation there are a few built in types and validators. It would be helpful to document these in the readme. For example, sailsjs does a great job with this.

Secondly, are they any good sources for additional data types out there in the community that you can link to?

jmdobry commented 9 years ago

For starters, you can call Schemator#availableDataTypes() and Schemator#availableRules()