loopback-workspace
Version:
**⚠️ LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical security fixes will be provided. (See [Module Long Term Support Policy](#module-long-term-support-policy) below.)**
58 lines (57 loc) • 983 B
JSON
{
"validateUpsert": true,
"properties": {
"id": {
"type": "string",
"id": true,
"json": false
},
"modelId": {
"type": "string",
"required": true,
"json": false
},
"facetName": {
"type": "string",
"required": true,
"json": false
},
"name": {
"type": "string"
},
"type": {
"type": "any"
},
"isId": {
"type": "boolean",
"json": "id"
},
"generated": {
"type": "boolean"
},
"required": {
"type": "boolean"
},
"index": {
"type": "boolean"
},
"description": {
"type": "string"
}
},
"public": true,
"dataSource": "db",
"base": "WorkspaceEntity",
"relations": {
"validations": {
"type": "hasMany",
"model": "PropertyValid",
"foreignKey": "property"
},
"model": {
"type": "belongsTo",
"model": "ModelDefinition",
"foreignKey": "modelId"
}
}
}