update: uni-id-address

This commit is contained in:
handongxun 2021-01-09 21:55:19 +08:00
parent 551a023cd0
commit 3d6db3fb7a

View File

@ -40,10 +40,20 @@
"description": "电话区号",
"title": "电话区号"
},
"city_id": {
"province_code": {
"bsonType": "string",
"description": "省级编码,冗余存储",
"title": "省"
},
"city_code": {
"bsonType": "string",
"description": "地级编码,冗余存储",
"title": "市"
},
"area_code": {
"bsonType": "string",
"description": "区级编码",
"title": "地址",
"description": "城市编码",
"enumType": "tree",
"enum": {
"collection": "opendb-city-china",
@ -51,29 +61,14 @@
"field": "code as value, name as text"
}
},
"province_code": {
"bsonType": "string",
"description": "省级编码",
"title": "省"
},
"city_code": {
"bsonType": "string",
"description": "地级编码",
"title": "市"
},
"area_code": {
"bsonType": "string",
"description": "区级编码",
"title": "区"
},
"address": {
"bsonType": "string",
"description": "详细信息",
"title": "详细信息"
"description": "省市区后面的详细住址,包含街道小区房间号",
"title": "详细住址"
},
"formatted_address": {
"bsonType": "string",
"description": "完整地址信息,避免连表查询"
"description": "完整地址信息,包括省市区及街道小区房间号"
},
"zip_code": {
"bsonType": "string",