update collection/opendb-mall-categories/collection.json.

This commit is contained in:
崔红保 2020-10-26 19:59:14 +08:00 committed by Gitee
parent e9de69cff7
commit ff525c69e4

View File

@ -1,7 +1,7 @@
{ {
"schema": { "schema": {
"bsonType": "object", "bsonType": "object",
"required": ["name", "create_date"], "required": ["name"],
"properties": { "properties": {
"_id": { "_id": {
"description": "存储文档 ID文章 ID系统自动生成" "description": "存储文档 ID文章 ID系统自动生成"
@ -17,11 +17,14 @@
}, },
"icon": { "icon": {
"bsonType": "string", "bsonType": "string",
"description": "类别图标/图片地址" "description": "类别图标/图片地址",
"title":"图标地址",
"pattern": "^(http://|https://|/|./|@/)\\S"
}, },
"sort": { "sort": {
"bsonType": "int", "bsonType": "int",
"description": "类别排序" "description": "类别排序,越大越靠后",
"title":"排序"
}, },
"description": { "description": {
"bsonType": "string", "bsonType": "string",