mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-09-20 11:33:01 +08:00
add collection opendb-china-cities
This commit is contained in:
parent
30d94e5b58
commit
c1bdb66baf
25
collection/opendb-china-cities/collection.json
Normal file
25
collection/opendb-china-cities/collection.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"schema": {
|
||||
"bsonType": "object",
|
||||
"required": ["code", "name"],
|
||||
"properties": {
|
||||
"_id": {
|
||||
"description": "ID,系统自动生成"
|
||||
},
|
||||
"code": {
|
||||
"bsonType": "string",
|
||||
"description": "编码",
|
||||
"parentKey": "parent_code"
|
||||
},
|
||||
"name": {
|
||||
"bsonType": "string",
|
||||
"description": "名称"
|
||||
},
|
||||
"parent_code": {
|
||||
"bsonType": "string",
|
||||
"description": "父级编码"
|
||||
}
|
||||
}
|
||||
},
|
||||
"index": []
|
||||
}
|
1
collection/opendb-china-cities/data.json
Normal file
1
collection/opendb-china-cities/data.json
Normal file
File diff suppressed because one or more lines are too long
17
collection/opendb-china-cities/package.json
Normal file
17
collection/opendb-china-cities/package.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "@opendb/opendb-china-cities",
|
||||
"version": "0.0.1",
|
||||
"description": "opendb-china-cities",
|
||||
"keywords": ["中国城市省市区", "省", "市", "区"],
|
||||
"opendb": {
|
||||
"title": "中国城市省市区",
|
||||
"type": "collection",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "DCloud",
|
||||
"email": "",
|
||||
"homepage": "https://gitee.com/dcloud/opendb"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user