mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-27 15:01:15 +08:00
38 lines
854 B
JSON
38 lines
854 B
JSON
{
|
||
"schema": {
|
||
"bsonType": "object",
|
||
"required": ["name", "description", "icon"],
|
||
"properties": {
|
||
"_id": {
|
||
"description": "存储文档 ID(文章 ID),系统自动生成"
|
||
},
|
||
"name": {
|
||
"bsonType": "string",
|
||
"description": "类别名称"
|
||
},
|
||
"description": {
|
||
"bsonType": "string",
|
||
"description": "类别描述"
|
||
},
|
||
"icon": {
|
||
"bsonType": "string",
|
||
"description": "类别图标地址"
|
||
},
|
||
"sort": {
|
||
"bsonType": "int",
|
||
"description": "类别显示顺序"
|
||
},
|
||
"article_count": {
|
||
"bsonType": "int",
|
||
"description": "该类别下文章数量"
|
||
},
|
||
"create_date": {
|
||
"bsonType": "timestamp",
|
||
"description": "创建时间"
|
||
}
|
||
}
|
||
},
|
||
"data": [],
|
||
"index": []
|
||
}
|