unicloud-test.schema.json 513 字节
Newer Older
DCloud_JSON's avatar
DCloud_JSON 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
// 文档教程: https://uniapp.dcloud.net.cn/uniCloud/schema
{
	"bsonType": "object",
	"required": [],
	"permission": {
		"read": false,
		"create": false,
		"update": false,
		"delete": false
	},
	"properties": {
		"_id": {
			"description": "ID,系统自动生成"
		},
    "product": {
    	"description": "产品名称",
      "bsonType": "string"
    },
    "create_time": {
    	"description": "创建时间",
      "bsonType": "timestamp",
      "defaultValue":{
        "$env": "now"
      }
    }
	}
}