opendb/collection/opendb-banner/collection.json

47 lines
1014 B
JSON
Raw Normal View History

2020-08-28 15:06:12 +08:00
{
"schema": {
"bsonType": "object",
"required": ["category_id", "image_url"],
"properties": {
"_id": {
"description": "ID系统自动生成"
},
"category_id": {
"bsonType": "string",
"description": "分类"
},
"title": {
"bsonType": "string",
"description": "标题"
},
"description": {
"bsonType": "string",
"description": "描述"
},
"image_url": {
"bsonType": "string",
"description": "图片url"
},
"sort": {
"bsonType": "int",
"description": "排序"
},
"status": {
"bsonType": "int",
"minimum": 0,
"maximum": 1,
"description": "状态: 0 禁用1 正常"
},
"open_type": {
"bsonType": "string",
"description": "点击动作"
},
"open_url": {
"bsonType": "string",
"description": "点击跳转目标"
}
}
},
"index": []
}