mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 22:41:15 +08:00
update collection/opendb-news-categories/collection.json.
This commit is contained in:
parent
7364ec5ca9
commit
047685376c
@ -1,26 +1,31 @@
|
||||
{
|
||||
"schema": {
|
||||
"bsonType": "object",
|
||||
"required": ["name", "description", "icon"],
|
||||
"required": ["name"],
|
||||
"properties": {
|
||||
"_id": {
|
||||
"description": "存储文档 ID(文章 ID),系统自动生成"
|
||||
},
|
||||
"name": {
|
||||
"bsonType": "string",
|
||||
"description": "类别名称"
|
||||
"description": "类别名称",
|
||||
"label": "名称"
|
||||
},
|
||||
"description": {
|
||||
"bsonType": "string",
|
||||
"description": "类别描述"
|
||||
"description": "类别描述",
|
||||
"label": "描述"
|
||||
},
|
||||
"icon": {
|
||||
"bsonType": "string",
|
||||
"description": "类别图标地址"
|
||||
"description": "类别图标地址",
|
||||
"label": "图标地址",
|
||||
"pattern": "^(http://|https://|/|./|@/)\\S"
|
||||
},
|
||||
"sort": {
|
||||
"bsonType": "int",
|
||||
"description": "类别显示顺序"
|
||||
"description": "类别显示顺序",
|
||||
"label": "排序"
|
||||
},
|
||||
"article_count": {
|
||||
"bsonType": "int",
|
||||
|
Loading…
Reference in New Issue
Block a user