mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-11-14 23:12:59 +08:00
47 lines
1014 B
JSON
47 lines
1014 B
JSON
{
|
||
"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": []
|
||
}
|