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

31 lines
665 B
JSON
Raw Normal View History

{
"schema": {
"bsonType": "object",
"required": ["name", "create_date"],
"properties": {
"_id": {
"description": "存储文档 ID文章 ID系统自动生成"
},
"name": {
"bsonType": "string",
"description": "类别名称",
"title":"类别名称"
},
"description": {
"bsonType": "string",
"description": "类别描述",
"title":"类别描述"
},
"create_date": {
"bsonType": "timestamp",
"description": "创建时间",
"defaultValue": {
"$env": "now"
}
}
}
},
"data": [],
"index": []
}