Why is perfacet~~  Because ONLY write one time validations then RESTFUL API can use. Front Angular Form can use.

So maybe sails.js have output Model Validations JSON

or write use jsonschema (A fast and easy to use JSON Schema validator)