loopback model properties default
snippet in javascript

loopback model properties default

user2537

...
"prop": {
   "type": "boolean",
   "required": true,
   "default": false
 },
 ...