2020-08-10 16:38:34 +08:00
|
|
|
|
{
|
|
|
|
|
"schema": {
|
|
|
|
|
"bsonType": "object",
|
|
|
|
|
"required": ["code", "name", "city_code", "province_code"],
|
|
|
|
|
"properties": {
|
|
|
|
|
"_id": {
|
|
|
|
|
"description": "ID,系统自动生成"
|
|
|
|
|
},
|
|
|
|
|
"code": {
|
|
|
|
|
"bsonType": "string",
|
2020-08-14 13:52:56 +08:00
|
|
|
|
"description": "区级编码"
|
2020-08-10 16:38:34 +08:00
|
|
|
|
},
|
|
|
|
|
"name": {
|
|
|
|
|
"bsonType": "string",
|
2020-08-14 13:52:56 +08:00
|
|
|
|
"description": "区级名称"
|
2020-08-10 16:38:34 +08:00
|
|
|
|
},
|
|
|
|
|
"city_code": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "地级编码"
|
|
|
|
|
},
|
|
|
|
|
"province_code": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "省级编码"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"data": "data.json",
|
|
|
|
|
"index": []
|
|
|
|
|
}
|