mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-25 22:16:08 +08:00
add collection opendb-airport-china
This commit is contained in:
parent
03f29d39a0
commit
0c2bae0c47
100
collection/opendb-airport-china/collection.json
Normal file
100
collection/opendb-airport-china/collection.json
Normal file
@ -0,0 +1,100 @@
|
||||
{
|
||||
"schema": {
|
||||
"bsonType": "object",
|
||||
"required": [],
|
||||
"permission": {
|
||||
"read": true,
|
||||
"create": false,
|
||||
"update": false,
|
||||
"delete": false
|
||||
},
|
||||
"properties": {
|
||||
"_id": {
|
||||
"description": "ID,系统自动生成"
|
||||
},
|
||||
"name": {
|
||||
"bsonType": "string",
|
||||
"description": "机场名称"
|
||||
},
|
||||
"address": {
|
||||
"bsonType": "string",
|
||||
"description": "机场完整地址"
|
||||
},
|
||||
"location": {
|
||||
"bsonType": "object",
|
||||
"description": "机场地理位置经纬度(GeoPoint)"
|
||||
},
|
||||
"city_code": {
|
||||
"bsonType": "string",
|
||||
"description": "城市编码"
|
||||
},
|
||||
"city_name": {
|
||||
"bsonType": "string",
|
||||
"description": "城市名称"
|
||||
},
|
||||
"iata": {
|
||||
"bsonType": "string",
|
||||
"description": "国际航空运输协会(International Air Transport Association)编码"
|
||||
},
|
||||
"icao": {
|
||||
"bsonType": "string",
|
||||
"description": "国际民用航空组织(International Civil Aviation Organization)编码"
|
||||
},
|
||||
"level": {
|
||||
"bsonType": "string",
|
||||
"description": "飞行等级"
|
||||
},
|
||||
"status": {
|
||||
"bsonType": "int",
|
||||
"description": "状态",
|
||||
"enum": [
|
||||
{
|
||||
"value": 0,
|
||||
"text": "运营中"
|
||||
},
|
||||
{
|
||||
"value": 1,
|
||||
"text": "规划中"
|
||||
},
|
||||
{
|
||||
"value": 2,
|
||||
"text": "建设中"
|
||||
},
|
||||
{
|
||||
"value": 3,
|
||||
"text": "已停航"
|
||||
}
|
||||
]
|
||||
},
|
||||
"enable_year": {
|
||||
"bsonType": "int",
|
||||
"description": "启用年份"
|
||||
},
|
||||
"first_letter": {
|
||||
"bsonType": "string",
|
||||
"description": "拼音首字母"
|
||||
}
|
||||
}
|
||||
},
|
||||
"index": [{
|
||||
"IndexName": "name",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"Name": "name",
|
||||
"Direction": "1"
|
||||
}],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName": "first_letter",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"Name": "first_letter",
|
||||
"Direction": "1"
|
||||
}],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
1
collection/opendb-airport-china/data.json
Normal file
1
collection/opendb-airport-china/data.json
Normal file
File diff suppressed because one or more lines are too long
17
collection/opendb-airport-china/package.json
Normal file
17
collection/opendb-airport-china/package.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "@opendb/opendb-airport-china",
|
||||
"version": "0.0.1",
|
||||
"description": "opendb-airport-china",
|
||||
"keywords": ["中国机场", "机场"],
|
||||
"opendb": {
|
||||
"title": "中国机场",
|
||||
"type": "collection",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "DCloud",
|
||||
"email": "",
|
||||
"homepage": "https://gitee.com/dcloud/opendb"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user