Files
mht.js/uniCloud-aliyun/database/CC_PointPosition.schema.json
2025-10-22 07:50:31 +08:00

94 lines
1.8 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.

// 文档教程: https://uniapp.dcloud.net.cn/uniCloud/schema
{
"bsonType": "object",
"required": [],
"permission": {
"read": true,
"create": true,
"update": true,
"delete": true
},
"properties": {
"_id": {
"description": "ID系统自动生成"
},
"PointName": {
"bsonType": "string",
"description": "点位名称",
"title": "点位名称",
"trim": "both",
"permission": {
"write": false,
"read": "doc._id == auth.uid"
}
},
"Region": {
"bsonType": "string",
"description": "所在区域",
"title": "所在区域",
"trim": "both",
"permission": {
"write": false,
"read": "doc._id == auth.uid"
}
},
"ApplicationType": {
"bsonType": "string",
"description": "应用类型",
"title": "应用类型",
"trim": "both",
"permission": {
"write": false,
"read": "doc._id == auth.uid"
}
},
"Partner": {
"bsonType": "string",
"description": "合作商",
"title": "合作商",
"trim": "both",
"permission": {
"write": false,
"read": "doc._id == auth.uid"
}
},
"Address": {
"bsonType": "string",
"description": "所在地址",
"title": "所在地址",
"trim": "both",
"enum": {
"collection": "opendb-city-china",
"field": "code as value,name as text"
},
"foreignKey": "opendb-city-china.code",
"enumType": "tree",
"permission": {
"write": false,
"read": "doc._id == auth.uid"
}
},
"DetailedAddress": {
"bsonType": "string",
"description": "详细地址",
"title": "详细地址",
"trim": "both",
"permission": {
"write": false,
"read": "doc._id == auth.uid"
}
},
"Operation": {
"bsonType": "string",
"description": "操作",
"title": "操作",
"trim": "both",
"permission": {
"write": false,
"read": "doc._id == auth.uid"
}
}
}
}