mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-09-20 11:33:01 +08:00
update: uni-id-address
This commit is contained in:
parent
9a35beca25
commit
407843108f
@ -13,22 +13,27 @@
|
|||||||
"name": {
|
"name": {
|
||||||
"bsonType": "string",
|
"bsonType": "string",
|
||||||
"description": "收货人",
|
"description": "收货人",
|
||||||
"title": "收货人"
|
"title": "收货人",
|
||||||
|
"trim": "both"
|
||||||
},
|
},
|
||||||
"alias": {
|
"alias": {
|
||||||
"bsonType": "string",
|
"bsonType": "string",
|
||||||
"description": "地址别名,例如:家、公司、学校",
|
"description": "地址别名,例如:家、公司、学校",
|
||||||
"title": "地址别名"
|
"title": "地址别名",
|
||||||
|
"trim": "both"
|
||||||
},
|
},
|
||||||
"mobile": {
|
"mobile": {
|
||||||
"bsonType": "string",
|
"bsonType": "string",
|
||||||
"description": "手机号码,加密存储",
|
"description": "手机号码,加密存储",
|
||||||
"title": "手机号"
|
"title": "手机号",
|
||||||
|
"pattern": "^\\+?[0-9-]{3,20}$",
|
||||||
|
"trim": "both"
|
||||||
},
|
},
|
||||||
"mobile_area_code": {
|
"mobile_area_code": {
|
||||||
"bsonType": "string",
|
"bsonType": "string",
|
||||||
"description": "国际区号,中国大陆为 +86",
|
"description": "国际区号,中国大陆为 +86",
|
||||||
"title": "国际区号"
|
"title": "国际区号",
|
||||||
|
"trim": "both"
|
||||||
},
|
},
|
||||||
"province_code": {
|
"province_code": {
|
||||||
"bsonType": "string",
|
"bsonType": "string",
|
||||||
@ -55,26 +60,32 @@
|
|||||||
"address": {
|
"address": {
|
||||||
"bsonType": "string",
|
"bsonType": "string",
|
||||||
"description": "省市区后面的详细住址,包含街道小区房间号",
|
"description": "省市区后面的详细住址,包含街道小区房间号",
|
||||||
"title": "详细住址"
|
"title": "详细住址",
|
||||||
|
"trim": "both"
|
||||||
},
|
},
|
||||||
"formatted_address": {
|
"formatted_address": {
|
||||||
"bsonType": "string",
|
"bsonType": "string",
|
||||||
"description": "完整地址信息,包括省市区及街道小区房间号"
|
"description": "完整地址信息,包括省市区及街道小区房间号",
|
||||||
|
"trim": "both"
|
||||||
},
|
},
|
||||||
"zip_code": {
|
"zip_code": {
|
||||||
"bsonType": "string",
|
"bsonType": "string",
|
||||||
"description": "邮编",
|
"description": "邮编",
|
||||||
"title": "邮编"
|
"title": "邮编",
|
||||||
|
"trim": "both"
|
||||||
},
|
},
|
||||||
"email": {
|
"email": {
|
||||||
"bsonType": "string",
|
"bsonType": "string",
|
||||||
"description": "邮箱",
|
"description": "邮箱",
|
||||||
"title": "邮箱"
|
"title": "邮箱",
|
||||||
|
"format": "email",
|
||||||
|
"trim": "both"
|
||||||
},
|
},
|
||||||
"default": {
|
"default": {
|
||||||
"bsonType": "bool",
|
"bsonType": "bool",
|
||||||
"description": "是否为默认地址",
|
"description": "是否为默认地址",
|
||||||
"title": "默认地址"
|
"title": "默认地址",
|
||||||
|
"defaultValue": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user