/** * Run * * @module :: Model * @description :: A short summary of how this model works and what it represents. * @docs :: http://sailsjs.org/#!documentation/models */ module.exports = { attributes: { name: { type: 'string', required: true }, creatorName: { type: 'string', required: true }, creatorEmail: { type: 'email', required: true }, menuUrl: { type: 'url' }, restaurant: 'string' }, };