loopback-workspace
Version:
56 lines • 956 B
JSON
{
"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"
}
}
}