silfverorg / duns.js

Javascript schema validator
5 stars 2 forks source link

Add custom method for all schema-types #24

Closed silfverstrom closed 9 years ago

silfverstrom commented 9 years ago

All schema-types should have a custom method, that allows for custom validation. Multiple custom methods should be supported.

This could be added to the any-type, which will extend it to all schema-types.