api
docs
env
git
hbs
html
husky
jest
lintstaged
lisp
node
prettier
python
react
readme
schema
style
util
vue
web
$ tmpl schema [name]
Creates a schema.
Files
project
└─src
└──data
└───schemas
└────fooSchema.js
↑ fooSchema.js
import Schema from "validate";export const fooSchema = new Schema({id: { type: Number, required: true },value: { type: String, required: true }});export default {fooSchema};