opendb/collection/opendb-news-categories/collection.json

43 lines
998 B
JSON
Raw Normal View History

{
"schema": {
"bsonType": "object",
"required": ["name"],
"properties": {
"_id": {
"description": "存储文档 ID文章 ID系统自动生成"
},
"name": {
"bsonType": "string",
"description": "类别名称",
"label": "名称"
},
"description": {
"bsonType": "string",
"description": "类别描述",
"label": "描述"
},
"icon": {
"bsonType": "string",
"description": "类别图标地址",
"label": "图标地址",
"pattern": "^(http://|https://|/|./|@/)\\S"
},
"sort": {
"bsonType": "int",
"description": "类别显示顺序",
"label": "排序"
},
"article_count": {
"bsonType": "int",
"description": "该类别下文章数量"
},
"create_date": {
"bsonType": "timestamp",
"description": "创建时间"
}
}
},
"data": [],
"index": []
}