From 3d6db3fb7a917a874480c42c196c4484e5c84df8 Mon Sep 17 00:00:00 2001 From: handongxun Date: Sat, 9 Jan 2021 21:55:19 +0800 Subject: [PATCH] update: uni-id-address --- collection/uni-id-address/collection.json | 35 ++++++++++------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/collection/uni-id-address/collection.json b/collection/uni-id-address/collection.json index 308d53a..31162af 100644 --- a/collection/uni-id-address/collection.json +++ b/collection/uni-id-address/collection.json @@ -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",