js-data-schema
js-data-schema copied to clipboard
Define and validate rules, datatypes and schemata in Node and in the browser.
Results
5
js-data-schema issues
Sort by
recently updated
recently updated
newest added
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...
I have: ``` var WoofSchema = schemator.defineSchema('woof', { text: { type: 'string', nullable: true, minLength: 10, maxLength: 300 } }); ``` I expect that if the text is null to...
I have a schema that has 3 fields, "a", "b" and "c". At least one of them has to be not null. Is there a way to add a rule...