mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-28 07:19:40 +08:00
30 lines
634 B
JSON
30 lines
634 B
JSON
{
|
||
"schema": {
|
||
"bsonType": "object",
|
||
"required": ["code", "name", "city_code", "province_code"],
|
||
"properties": {
|
||
"_id": {
|
||
"description": "ID,系统自动生成"
|
||
},
|
||
"code": {
|
||
"bsonType": "string",
|
||
"description": "区级编码"
|
||
},
|
||
"name": {
|
||
"bsonType": "string",
|
||
"description": "区级名称"
|
||
},
|
||
"city_code": {
|
||
"bsonType": "string",
|
||
"description": "地级编码"
|
||
},
|
||
"province_code": {
|
||
"bsonType": "string",
|
||
"description": "省级编码"
|
||
}
|
||
}
|
||
},
|
||
"data": "data.json",
|
||
"index": []
|
||
}
|