opendb/collection/opendb-mall-categories/collection.json
崔红保 556cefb251 !9 update collection/opendb-mall-categories/collection.json.
Merge pull request !9 from zmall/N/A
2020-12-04 19:02:29 +08:00

60 lines
1.4 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"schema": {
"bsonType": "object",
"required": ["name"],
"permission": {
"read": true,
"create": false,
"update": false,
"delete": false
},
"properties": {
"_id": {
"description": "存储文档 ID文章 ID系统自动生成"
},
"parent_id": {
"bsonType": "string",
"description": "父ID用于多级分类"
},
"name": {
"bsonType": "string",
"description": "类别名称",
"title":"类别名称"
},
"icon": {
"bsonType": "string",
"description": "类别图标/图片地址",
"title":"图标地址",
"pattern": "^(http://|https://|/|./|@/)\\S"
},
"sort": {
"bsonType": "int",
"description": "类别排序,越大越靠后",
"title":"排序"
},
"description": {
"bsonType": "string",
"description": "类别描述",
"title":"类别描述"
},
"is_hot_show": {
"bsonType": "int",
"description": "热门显示: 0 禁用1 正常"
},
"is_index_show": {
"bsonType": "int",
"description": "首页显示: 0 禁用1 正常"
},
"create_date": {
"bsonType": "timestamp",
"description": "创建时间",
"defaultValue": {
"$env": "now"
}
}
}
},
"data": [],
"index": []
}