update: uni-id-address 移除字段telephone,telephone_area_code

This commit is contained in:
handongxun 2021-01-09 22:03:09 +08:00
parent 3d6db3fb7a
commit f4ce8662bb

View File

@ -1,7 +1,7 @@
{ {
"schema": { "schema": {
"bsonType": "object", "bsonType": "object",
"required": ["name", "province_code", "city_code", "area_code"], "required": ["name", "mobile", "area_code", "address"],
"properties": { "properties": {
"_id": { "_id": {
"description": "ID系统自动生成" "description": "ID系统自动生成"
@ -17,7 +17,7 @@
}, },
"alias": { "alias": {
"bsonType": "string", "bsonType": "string",
"description": "别名,例如:家、公司", "description": "别名,例如:家、公司、学校",
"title": "别名" "title": "别名"
}, },
"mobile": { "mobile": {
@ -30,16 +30,6 @@
"description": "国际区号,中国大陆为 +86", "description": "国际区号,中国大陆为 +86",
"title": "国际区号" "title": "国际区号"
}, },
"telephone": {
"bsonType": "string",
"description": "电话",
"title": "电话"
},
"telephone_area_code": {
"bsonType": "string",
"description": "电话区号",
"title": "电话区号"
},
"province_code": { "province_code": {
"bsonType": "string", "bsonType": "string",
"description": "省级编码,冗余存储", "description": "省级编码,冗余存储",