Dbref json app panel

Hi, I wanted to ask, whether there is a specific reason, why the template for json structure for app panel is dbref. We are building database in mongodb and we heard only bad things about dbref structure, so I just wanted to get more opinions.

“type”: “array”,
“items”: {
“type”: “object”,
“required”: [
“properties”: {
“id”: {
“$ref”: “#/definitions/numerical”
“header”: {
“$ref”: “#/definitions/header”
“name”: {
“$ref”: “#/definitions/text”
“email”: {
“label”: “Email”,
“$ref”: “#/definitions/email”
“date”: {
“label”: “Created”,
“$ref”: “#/definitions/date-time”

Hi! As mentioned on the App Panels documentation page, we use JSON schema to describe the structure.

So the $ref here is not related to MongoDB - it’s a part of the JSON schema spec.

1 Like