{
  "validateUpsert": true,
  "properties": {
    "id": {
      "type": "string",
      "id": true,
      "json": false
    },
    "modelId": {
      "type": "string",
      "required": true,
      "json": false
    },
    "facetName": {
      "type": "string",
      "required": true,
      "json": false
    },
    "type": {
      "type": "string"
    },
    "model": {
      "type": "string"
    },
    "as": {
      "type": "string"
    },
    "foreignKey": {
      "type": "string"
    }
  },
  "public": true,
  "dataSource": "db",
  "base": "WorkspaceEntity",
  "relations": {
    "model": {
      "type": "belongsTo",
      "model": "ModelDefinition",
      "foreignKey": "modelId"
    }
  }
}
